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:
alist...@alistair-laptop:~/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:
alist...@alistair-laptop:~/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:
alist...@alistair-laptop:~/Downloads/spc900/pwc-10.0.12-rc1$ uname -r
*2.6.32-21-generic*

The linux headers appear to be installed:
alist...@alistair-laptop:~/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:
alist...@alistair-laptop:~/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: [email protected]
_______________________________________________
pwc mailing list
[email protected]
http://lists.saillard.org/mailman/listinfo/pwc

Reply via email to