spca5xx compile problem on HLFS system

babak karvandi karvandi at gmail.com
Thu Sep 15 09:30:48 PDT 2005


Jim Gifford wrote:

> Babak Karvandi wrote:
>
>> Hi,
>> I am trying to compile spca5xx webcam driver on HLFS system. modprobe 
>> returns the  following errors:
>>
>> spca5xx: Unknown symbol __stack_smash_handler
>> spca5xx: Unknown symbol __guard
>> spca5xx: Unknown symbol _GLOBAL_OFFSET_TABLE_
>>
>> When I use the  'CC="gcc -fno-stack-protector"', then "make" command 
>> fails:
>>
>> root:/usr/src/RPM/BUILD/spca5xx-20050906# export CC="gcc 
>> -fno-stack-protector"
>> root:/usr/src/RPM/BUILD/spca5xx-20050906# make
>>    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=/usr/src/RPM/BUILD/spca5xx-20050906 CC=gcc 
>> -fno-stack-protector modules
>> make[1]: Entering directory `/usr/src/linux-2.6.11.11'
>> make[1]: no-stack-protector: No such file or directory
>> make[1]: *** No rule to make target `no-stack-protector'.  Stop.
>> make[1]: Leaving directory `/usr/src/linux-2.6.11.11'
>> make: *** [default] Error 2
>>
>> Thanks for your help.
>>
>>
> Try this make CC="gcc -fno-stack-protector"
>
Thank you for replay.
I got the same thing:

root:/usr/src/RPM/BUILD/spca5xx-20050906# unset CC
root:/usr/src/RPM/BUILD/spca5xx-20050906# make CC="gcc -fno-stack-protector"
   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=/usr/src/RPM/BUILD/spca5xx-20050906 CC=gcc -fno-stack-protector 
modules
make[1]: Entering directory `/usr/src/linux-2.6.11.11'
make[1]: no-stack-protector: No such file or directory
make[1]: *** No rule to make target `no-stack-protector'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.11.11'
make: *** [default] Error 2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20050915/762a1ebd/attachment.html>


More information about the hlfs-dev mailing list