Hello,
I am currently struggling (again) with the new version of the upnp library 
1.6.18.

The problem that I catch is :

libtool: relink:  arm-openwrt-linux-gnueabi-gcc -shared  -fPIC -DPIC 
.libs/libupnp.la.lnkscript  [ .. blah blah .. ] -L/usr/lib -lthreadutil  -lixml 
 -pthread -Os -msoft-float   -pthread -Wl,-soname -Wl,libupnp.so.6 
-Wl,-version-script -Wl,.libs/libupnp.ver -o .libs/libupnp.so.6.3.2
staging_dir/toolchain-arm_gcc-4.1.2_glibc-2.7/usr/lib/gcc/arm-openwrt-linux-gnueabi/4.1.2/../../../../arm-openwrt-linux-gnueabi/bin/ld:
 skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/lib/libpthread.a: could not read symbols: File format not recognized

This ticket [ https://dev.openwrt.org/ticket/8371 ] talk about my same issues 
then I tried to checkout the tree at the revision r25287 as 
written in the ticket but … with my surprise … it compiles without problems !!
Libupnp was enabled
Maybe this point can be useful for understand :

1) after compiling I can see a libtool file in the folder, maybe libupnp use 
its own libtool ?

2) I am under a 64 bit environment


My other problem is that I currently working on a system based on OpenWRT but I 
don't have a clue about the openwrt revision they started 
to work on then I can't simply make an update of my tree in order to solve the 
problem. I am not a guru of autotools then .. wear my clothes
 .. I am a bit stressed because I have no idea where start. Someone can provide 
the commit(s) that solved the problem on openWRT in order to understand what I 
have to investigate deeply ?

I tried to add PGK_FIXUP:=libtool (or autoreconf) but it did not help me.

Any help will be sincerely appreciated, thanks in advance.
Pietro.



_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to