|
RE: modprobe: Unknown symbol on 2.6.xx: msg#00100hardware.lirc
I am now leaning towards wrong CFLAGS. I have tried adding a few to the drivers/serial/Makefile variable CFLAGS, but when I look at the gcc or make statements during the make phase, I am not seeing the additions. What I want to add is: -fstack-protector-all and for the sake of it; -pie -fpie. These are not showing up. /**********/ make[3]: Entering directory `/usr/src/lirc/lirc-0.8.0/drivers/lirc_serial' mv Makefile Makefile.automake cp ../Makefile.kernel Makefile make -C /lib/modules/2.6.14.6-grsec/build/ SUBDIRS=/usr/src/lirc/lirc-0.8.0/drivers/lirc_serial modules \ KBUILD_VERBOSE=1 make[4]: Entering directory `/usr/src/kernel/linux-2.6.14.6' mkdir -p /usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/.tmp_versions make -f scripts/Makefile.build obj=/usr/src/lirc/lirc-0.8.0/drivers/lirc_serial gcc -m32 -Wp,-MD,/usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/.lirc_serial.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include -D__KERNEL__ -Iinclude -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=c3-2 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/../.. -I/lib/modules/2.6.14.6-grsec/build//include/ -DMODULE -DKBUILD_BASENAME=lirc_serial -DKBUILD_MODNAME=lirc_serial -c -o /usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/lirc_serial.o /usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/lirc_serial.c Building modules, stage 2. make -rR -f /usr/src/kernel/linux-2.6.14.6/scripts/Makefile.modpost scripts/mod/modpost -i /usr/src/kernel/linux-2.6.14.6/Module.symvers vmlinux /usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/lirc_serial.o gcc -m32 -Wp,-MD,/usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/.lirc_serial.mod.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include -D__KERNEL__ -Iinclude -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=c3-2 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -DKBUILD_BASENAME=lirc_serial -DKBUILD_MODNAME=lirc_serial -DMODULE -c -o /usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/lirc_serial.mod.o /usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/lirc_serial.mod.c ld -m elf_i386 -m elf_i386 -r -o /usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/lirc_serial.ko /usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/lirc_serial.o /usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/lirc_serial.mod.o make[4]: Leaving directory `/usr/src/kernel/linux-2.6.14.6' mv Makefile.automake Makefile make[3]: Leaving directory `/usr/src/lirc/lirc-0.8.0/drivers/lirc_serial' /*********/ I can also tell because of these build warnings: *** Warning: "lirc_unregister_plugin" [/usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/lirc_serial.ko] undefined! *** Warning: "lirc_register_plugin" [/usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/lirc_serial.ko] undefined! *** Warning: "__guard" [/usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/lirc_serial.ko] undefined! *** Warning: "__stack_smash_handler" [/usr/src/lirc/lirc-0.8.0/drivers/lirc_serial/lirc_serial.ko] undefined! I don't know how I can add my CFLAGS to the Makefile's, ...if that is the proper thing to do right now. I have them exported already, but they're not being taken in. Warren From: tony <tony-QQIcp8qXNVY@xxxxxxxxxxxxxxxx> _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar ? get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Microsoft Remote Keyboard Attempts: 00100, Paul Novotny |
|---|---|
| Next by Date: | Re: Microsoft Remote Keyboard Attempts: 00100, Warren Wilder |
| Previous by Thread: | RE: modprobe: Unknown symbol on 2.6.xxi: 00100, tony |
| Next by Thread: | irblaster + homebrew receiver: 00100, Yan Seiner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |