spca5xx compile problem on HLFS system

Jim Gifford lfs at jg555.com
Thu Sep 15 09:25:53 PDT 2005


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"

-- 
------
jim at linuxfromscratch.org
lfs at jg555.com

LFS User # 2577
Registered Linux User # 299986




More information about the hlfs-dev mailing list