Welcome! Log In Create A New Profile

Advanced

Compiled error included the extern library

April 03, 2010 10:50PM
HI all:

I met a compiled error when I included a static library.

-------------------------------------------------------------
1. the config file for my module
CORE_LIBS="$CORE_LIBS ${XTRUNK}/target/lib/libfilter.a \
/usr/local/lib/libmxml.a\
${XTRUNK}/target/lib/libsigture.a" <---call the xml
function
2. The error infor is as following
/usr/local/lib/libmxml.a(mxml-private.o): In function `_mxml_global':
/Trunk/src/3rd/mxml-2.6/mxml-private.c:148: undefined reference to
`pthread_once'
/Trunk/src/3rd/mxml-2.6/mxml-private.c:150: undefined reference to
`pthread_getspecific'
/Trunk/src/3rd/mxml-2.6/mxml-private.c:153: undefined reference to
`pthread_setspecific'
/usr/local/lib/libmxml.a(mxml-private.o): In function `_mxml_init':

the static library of libsigature.a call the XML function.

3. If I change the RED mark with -lmxml, the issue is still happened.


Could you please help me for thise ?

Thanks
Nexthop
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Compiled error included the extern library

nexthop April 03, 2010 10:50PM

Re: Compiled error included the extern library

Boris Dolgov April 04, 2010 02:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 278
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready