[Click] On the patch for linux 2.6.24

Giovanni Di Stasi gdstasi at yahoo.it
Thu Apr 3 12:37:42 EDT 2008


If I comment the line:

*(remainder) = do_div(result, divisor);

 in linux-2.6.24.2/include/linux/calc64.h, obviously breaking the division of 64 bit integers, the configure creates Makefiles successfully, but, when I try to compile, I get the following errors:

gdistasi at Montecalvario:~/mesh/fcranet/netgear/click$ make
make[1]: Entering directory `/home/gdistasi/mesh/fcranet/netgear/clickandfcra-ker24/linuxmodule'
make -C /home/gdistasi/mesh/fcranet/netgear/openwrt-last/build_dir/linux-ixp4xx_generic/linux-2.6.24.2 M=/home/gdistasi/mesh/fcranet/netgear/click/linuxmodule modules
make[2]: Entering directory `/home/gdistasi/mesh/fcranet/netgear/openwrt-last/build_dir/linux-ixp4xx_generic/linux-2.6.24.2'
  CC [M] crc32.o
cc1: error: unrecognized command line option "-m64"
cc1: error: unrecognized command line option "-mno-red-zone"
cc1: error: unrecognized command line option "-mcmodel=kernel"
cc1: error: unrecognized command line option "-mno-sse"
cc1: error: unrecognized command line option "-mno-mmx"
cc1: error: unrecognized command line option "-mno-sse2"
cc1: error: unrecognized command line option "-mno-3dnow"
cc1: error: unrecognized command line option "-maccumulate-outgoing-args"
make[3]: *** [/home/gdistasi/mesh/fcranet/netgear/click/linuxmodule/crc32.o] Error 1
make[2]: *** [_module_/home/gdistasi/mesh/fcranet/netgear/click/linuxmodule] Error 2
make[2]: Leaving directory `/home/gdistasi/mesh/fcranet/netgear/openwrt-last/build_dir/linux-ixp4xx_generic/linux-2.6.24.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gdistasi/mesh/fcranet/netgear/clickandfcra-ker24/linuxmodule'
make: *** [linuxmodule] Error 2

Who is setting those options?

Thanks.




      Inviato da Yahoo! Mail. 
La casella di posta intelligente.
http://it.docs.yahoo.com/mail/overview/index.html



More information about the click mailing list