5 Feb 2011 21:40
Debian 'lt_preloaded_symbols' link error
Hello,
I am packaging a snapshot for Debian, but have a stubborn symbol error.
The Autoconf website states that: "If you use `LTDL_SET_PRELOADED_SYMBOLS' in your module loader, you must also specify something to preload to avoid compilation failure due to undefined `lt_preloaded_symbols'. You can name modules on the Libtool link command line using one of `-dlopen' or `-dlpreopen'."
Looks like that is properly done in 'src/Makefile.am'.
-dlopen plugin_shortdial.la \
-dlopen plugin_logcall.la \
-dlopen plugin_defaulttarget.la \
-dlopen plugin_fix_bogus_via.la \
-dlopen plugin_stun.la
siproxd_LDADD = $(LIBLTDL) $(DLOPENPLUGINS)
Yet it results in the error below this message.
I can probably force a build by updating 'libtool' but thought I would ask this brief question to the developers first.
Autoconf picks Debian's own 'ldtl' library (and not the convenience library).
Thank you for any pointers,
Felix
* * *
Output below:
/bin/bash ../libtool --tag=CC --mode=link gcc -D_GNU_SOURCE -DBUILDSTR="\"`cat .buildno`\"" -g -O2 -g -Wall -O2 -pthread -D_POSIX_THREAD_SAFE_FUNCTIONS -o siproxd -export-dynamic siproxd.o proxy.o register.o sock.o utils.o sip_utils.o sip_layer.o log.o readconf.o rtpproxy.o rtpproxy_relay.o accessctl.o route_processing.o security.o auth.o fwapi.o resolve.o dejitter.o plugins.o -dlopen plugin_demo.la -dlopen plugin_shortdial.la -dlopen plugin_logcall.la -dlopen plugin_defaulttarget.la -dlopen plugin_fix_bogus_via.la -dlopen plugin_stun.la -lresolv -lresolv -losipparser2 -losip2 -lltdl
rm -f .libs/siproxd.nm .libs/siproxd.nmS .libs/siproxd.nmT
creating .libs/siproxdS.c
(cd .libs && gcc -g -O2 -g -Wall -O2 -c -fno-builtin "siproxdS.c")
rm -f .libs/siproxdS.c .libs/siproxd.nm .libs/siproxd.nmS .libs/siproxd.nmT
gcc -D_GNU_SOURCE -DBUILDSTR=\"5831\" -g -O2 -g -Wall -O2 -pthread -D_POSIX_THREAD_SAFE_FUNCTIONS -o siproxd siproxd.o proxy.o register.o sock.o utils.o sip_utils.o sip_layer.o log.o readconf.o rtpproxy.o rtpproxy_relay.o accessctl.o route_processing.o security.o auth.o fwapi.o resolve.o dejitter.o plugins.o .libs/siproxdS.o -Wl,--export-dynamic -lresolv /usr/lib/libosip2.so -lnsl /usr/lib/libosipparser2.so /usr/lib/libltdl.so -ldl
plugins.o: In function `load_plugins':
/root/siproxd/siproxd-05Feb2011/src/plugins.c:65: undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
collect2: ld returned 1 exit status
rm -f .libs/siproxdS.o
make[3]: *** [siproxd] Error 1
make[3]: Leaving directory `/root/siproxd/siproxd-05Feb2011/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/siproxd/siproxd-05Feb2011'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/siproxd/siproxd-05Feb2011'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1325:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed
rm -f .libs/siproxd.nm .libs/siproxd.nmS .libs/siproxd.nmT
creating .libs/siproxdS.c
(cd .libs && gcc -g -O2 -g -Wall -O2 -c -fno-builtin "siproxdS.c")
rm -f .libs/siproxdS.c .libs/siproxd.nm .libs/siproxd.nmS .libs/siproxd.nmT
gcc -D_GNU_SOURCE -DBUILDSTR=\"5831\" -g -O2 -g -Wall -O2 -pthread -D_POSIX_THREAD_SAFE_FUNCTIONS -o siproxd siproxd.o proxy.o register.o sock.o utils.o sip_utils.o sip_layer.o log.o readconf.o rtpproxy.o rtpproxy_relay.o accessctl.o route_processing.o security.o auth.o fwapi.o resolve.o dejitter.o plugins.o .libs/siproxdS.o -Wl,--export-dynamic -lresolv /usr/lib/libosip2.so -lnsl /usr/lib/libosipparser2.so /usr/lib/libltdl.so -ldl
plugins.o: In function `load_plugins':
/root/siproxd/siproxd-05Feb2011/src/plugins.c:65: undefined reference to `lt__PROGRAM__LTX_preloaded_symbols'
collect2: ld returned 1 exit status
rm -f .libs/siproxdS.o
make[3]: *** [siproxd] Error 1
make[3]: Leaving directory `/root/siproxd/siproxd-05Feb2011/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/siproxd/siproxd-05Feb2011'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/siproxd/siproxd-05Feb2011'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1325:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed
------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________ Siproxd-users mailing list Siproxd-users@... https://lists.sourceforge.net/lists/listinfo/siproxd-users
RSS Feed