To: | |
---|---|
Subject: | [pwc] Trouble compiling on Ubuntu 10.04 |
From: | Alistair Frith <> |
Date: | Thu, 14 Oct 2010 09:23:06 +0100 |
Hi all, just joined the list as I have an SPC880 (flashed to SPC900) and I want to use it on Linux to do astrophotography. I am having problems compiling the driver. I get the following error when making either pwc-10.0.11 or pwc-10.0.12-rc1: :~/Downloads/spc900/pwc-10.0.12-rc1$ make make -C /lib/modules/2.6.32-21-generic/build SUBDIRS=/home/alistair/Downloads/spc900/pwc-10.0.12-rc1 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic' CC [M] /home/alistair/Downloads/spc900/pwc-10.0.12-rc1/pwc-if.o In file included from /home/alistair/Downloads/spc900/pwc-10.0.12-rc1/pwc-if.c:69: /home/alistair/Downloads/spc900/pwc-10.0.12-rc1/pwc.h:28:26: error: linux/config.h: No such file or directory /home/alistair/Downloads/spc900/pwc-10.0.12-rc1/pwc.h:37:27: error: asm/semaphore.h: No such file or directory /home/alistair/Downloads/spc900/pwc-10.0.12-rc1/pwc-if.c:166: error: variable ‘pwc_template’ has initializer but incomplete type ... (lots more errors) I assume all of these errors can be fixed by installing something or making a couple of changes. I have searched for config.h: :~/Downloads/spc900/pwc-10.0.12-rc1$ sudo find / -name config.h -print
/usr/lib/grub/i386-pc/config.h /usr/lib/perl/5.10.1/CORE/config.h /usr/src/linux-headers-2.6.32-21-generic/include/config/i2o/config.h /usr/src/linux-headers-2.6.31-17-generic/include/config/i2o/config.h Non of these are under a 'linux' directory. I am wondering whether I need to make a symbolic link somewhere? I am running kernel 2.6.32-21: :~/Downloads/spc900/pwc-10.0.12-rc1$ uname -r 2.6.32-21-generic The linux headers appear to be installed: :~/Downloads/spc900/pwc-10.0.12-rc1$ sudo apt-get install linux-headers-$(uname -r) Reading package lists... Done Building dependency tree Reading state information... Done linux-headers-2.6.32-21-generic is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. As is the source: :~/Downloads/spc900/pwc-10.0.12-rc1$ sudo apt-get install linux-source-2.6.32 Reading package lists... Done Building dependency tree Reading state information... Done linux-source-2.6.32 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Any suggestions would be very gratefully received --- Alistair. -- Personal: _______________________________________________ pwc mailing list http://lists.saillard.org/mailman/listinfo/pwc |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Next by Date: | Re: [pwc] Trouble compiling on Ubuntu 10.04, David N. Lombard |
---|---|
Next by Thread: | Re: [pwc] Trouble compiling on Ubuntu 10.04, David N. Lombard |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU