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