Rainer - 2012-12-15

Hi,

I tried to re-compile linknx
(linknx-0.0.1.30https://sourceforge.net/projects/linknx/files/linknx/linknx-0.0.1.30/)
on a pogoplug with nslu optware (http://www.nslu2-linux.org).

It compiles correctly but I I get a linker error:

g++ -g -O2 -o linknx linknx.o logger.o ruleserver.o objectcontroller.o
eibclient.o threads.o timermanager.o persistentstorage.o xmlserver.o
smsgateway.o emailgateway.o knxconnection.o services.o suncalc.o
luacondition.o ioport.o ../ticpp/libticpp.a -L/opt/lib -lpthsem
-L/opt/lib -llua -lm -lm -pthread -L/opt/lib -lesmtp -lssl -lcrypto -ldl

/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/lib/
libdl.so: undefined reference to `_dl_tls_get_addr_soft@GLIBC_PRIVATE'
collect2: ld returned 1 exit status

I updated gcc and everything else. libdl.so points to libdl-2.5.so
The version of the packages are listed on this site:
http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/

I would like to compile it with log4cpp and maybe mysql support and I don't
find any precompiled optware packages that were compiled with those options.

Would appreciate any tips on how to get rid of this linker error.

Rainer