[Click] On the patch for linux 2.6.24

Joonwoo Park joonwpark81 at gmail.com
Fri Apr 4 02:06:13 EDT 2008


2008/4/4, Giovanni Di Stasi <gdstasi at yahoo.it>:
> 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?

Hi Giovanni,
It's new arch, huh.

You should have envs to configure click, CC, CXX, LD, ARCH,
Please refer the threads below, about ppc.

good luck!

Thanks,
Joonwoo


More information about the click mailing list