(keeping the list in the loop)

On Tue, 2010-11-16 at 10:56 +0100, Bas Mevissen wrote:
> On Mon, 15 Nov 2010 22:45:48 +0100, Maarten Bezemer
> <m.m.beze...@utwente.nl> wrote:
> > On Mon, 2010-11-15 at 12:08 +0100, Bas Mevissen wrote:
> > > I just did a build on backfire (revision 14012) for Orion (while
> checking a patch for make 3.82 for busybox). No problem at all.
> > > So I cannot reproduce the problem here. Can you check again and give me
> the output of "svn info | grep Revision" of the failing tree (assuming
> it is a checkout from svn)?
> I have just updated to Revision 24016. After rebuilding everything I
still have the error on the iptables package. I have put the last few
commands before the error and the error itself in the attached log file.

Looking at the output, I see -L/usr/lib where it should refer to the libraries of the cross compiled uClibc.

This problem happens on my side too (but compilation goes fine). There is definitely something wrong with the package and that needs a fix. The LDFLAGS passed to the configure script look OK, so the bug is in the package itself.

But the first question to answer is why you have a problem with it (and other people too according to the forum), while a lot of people have no problem at all. Just a stupid idea: do you have the openwrt SDK installed somewhere? What does "which arm-openwrt-linux-uclibcgnueabi-gcc" say? Can you post the .config file you use?

I'll take a close look at the iptables package, but don't hold your breath...

Regards,

--
Bas
(cd /home/maarten/src/openwrt-backfire/build_dir/linux-orion_generic/iptables-1.4.6; /bin/bash ./libtool --tag=CC --mode=relink arm-openwrt-linux-uclibcgnueabi-gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe -DXTABLES_LIBDIR="/usr/lib/iptables" -DXTABLES_INTERNAL -I./include -I./include -I /home/maarten/src/openwrt-backfire/build_dir/linux-orion_generic/linux-2.6.32.25/include -I /home/maarten/src/openwrt-backfire/build_dir/linux-orion_generic/linux-2.6.32.25/include -Os -pipe -march=armv5t -mtune=xscale -funit-at-a-time -fhonour-copts -msoft-float -version-info 0:0:0 -rdynamic -static-libgcc -o libiptc/libiptc.la -rpath /usr/lib libiptc/libip4tc.la libiptc/libip6tc.la -inst-prefix-dir /home/maarten/src/openwrt-backfire/build_dir/linux-orion_generic/iptables-1.4.6/ipkg-install)  
arm-openwrt-linux-uclibcgnueabi-gcc -shared   -L/home/maarten/src/openwrt-backfire/build_dir/linux-orion_generic/iptables-1.4.6/ipkg-install/usr/lib -L/usr/lib -lip4tc -lip6tc  -march=armv5t -mtune=xscale -msoft-float -Wl,-soname -Wl,libiptc.so.0 -o libiptc/.libs/libiptc.so.0.0.0
/home/maarten/src/openwrt-backfire/staging_dir/toolchain-arm_v5t_gcc-4.3.3+cs_uClibc-0.9.30.1_eabi/usr/lib/gcc/arm-openwrt-linux-uclibcgnueabi/4.3.3/../../../../arm-openwrt-linux-uclibcgnueabi/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/lib/libc.a: could not read symbols: File format not recognized
collect2: ld returned 1 exit status
libtool: install: error: relink `libiptc/libiptc.la' with the above command before installing it
make[6]: *** [install-libLTLIBRARIES] Error 1
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to