-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Roberto,
Yes we do. We have a "package" setup (Makefile and patches) for openwrt that I'm happy to share with you if you'd like. It works on backfire and 8.09.2. Ruben On 10/6/10 12:47 , Roberto Riggio wrote: > Hi, > > is there anybody on the mailing list that is using click on embedded > platforms? > > I'm trying to compile click using the procedure suggested in faq, the one > that involves using click-mkmindriver in order to shrink the size of the > executable. > > During the compilation phase I get the following error: > > g++ -O2 -pipe -march=i486 -funit-at-a-time -static -MD > -fno-stack-protector > -L/home/rriggio/src/kamikaze/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib > -L/home/rriggio/src/kamikaze/staging_dir/target-i386_uClibc-0.9.30.1/lib > -L/home/rriggio/src/kamikaze/staging_dir/toolchain-i386_gcc-4.4.4_uClibc-0.9.30.1/usr/lib > > -L/home/rriggio/src/kamikaze/staging_dir/toolchain-i386_gcc-4.4.4_uClibc-0.9.30.1/lib > > -o click-mkmindriver -rdynamic click-mkmindriver.o > ../lib/libclicktool_build.a > /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/crt1.o: In function > `_start': > (.text+0xc): undefined reference to `__libc_csu_fini' > /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/crt1.o: In function > `_start': > (.text+0x11): undefined reference to `__libc_csu_init' > /usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/crt1.o: In function > `_start': > (.text+0x1d): undefined reference to `__libc_start_main' > collect2: ld returned 1 exit status > > So openwrt is correctly using the host g++ but something goes wrong during > the linking phase. Any hints about how to further investigate this issue? > > Note that if I cross-compile click normally, i.e. without using > click-mkmindriver > everything is working properly. > > R. > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMrGYmAAoJEIem9YkUyRjt+RIIAIWu6eyKEQV+hCIOIPOZjI+T Lw/K2LTEPrvD9Dm8QFhKcISH/gGWoHWMvwkmBlprwPetbF49966X37mT5Qa6XDSZ /UsBA9CuPPxf+O26ZJ54zpwKxVP8X9kpyls6imfo0RFI7COWnsw961sUfGReqibR lbLoM2148gYYmXV4wtFO89dwWtXfTwNGin0iN6Q5ZBCdy0Kgdu5fd945bXeT9LDF yD+MHvzRK/KiBma53VZRyECVyvJa0I+Ie3DMUeSuFcLFpkhPw+P3CNaYgTNgTXT+ WMRogyOV6wg1gzPTzacVR0JU1QJcdKq7zUvbxKgR6TfMjfiItavAeEUlsj1ttfQ= =16tK -----END PGP SIGNATURE----- _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
