Student wrote:

> hi,
> 


Hi,

> I want to install the spca5xx webcam driver on the DM355 but get errors
> while compiling
> 
> [EMAIL PROTECTED] spca5xx-v4l1goodbye]# make ARCH=arm 
> CROSS_COMPILE=arm_v5t_le-
>    Building SPCA5XX driver for 2.5/2.6 kernel.
>    Remember: you must have read/write access to your kernel source tree.
> make -C /lib/modules/`uname -r`/build
> SUBDIRS=/home/student/workdir/filesys/home/spca5xx-v4l1goodbye CC=cc
> modules
> make[1]: Entering directory `/usr/src/kernels/2.6.23.15-80.fc7-i686'
>   CC [M] 
> /home/student/workdir/filesys/home/spca5xx-v4l1goodbye/drivers/usb/spca5xx.o
> cc1: error: unrecognized command line option "-mlittle-endian"
> cc1: error: unrecognized command line option "-mabi=apcs-gnu"
> make[2]: ***
> [/home/student/workdir/filesys/home/spca5xx-v4l1goodbye/drivers/usb/spca5xx.o]
> Error 1
> make[1]: ***
> [_module_/home/student/workdir/filesys/home/spca5xx-v4l1goodbye] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.23.15-80.fc7-i686'
> make: *** [default] Error 2
> [EMAIL PROTECTED] spca5xx-v4l1goodbye]#
> 


Last time I compiled spca5xx it was not ready for cross-compiling out of the 
box.
I had to edit makefile manually, I guess the only thing to change is kernel 
source
address in the makefile and the compiler. The rest is so straightforward. 
Please 
note that it's using your host machine's kernel sources in your case not the 
target's. 

Regards,
Caglar
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to