On Wed, Oct 05, 2005 at 02:03:39PM -0400, Jason Viers wrote:
> I'm trying to compile libxml2 on a couple different problems, and have 
> hit into a snag.
> 
> On "make", I get the following:
> 
> ----------------
> gcc -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type 
> -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts 
> -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align 
> -Wwrite-strings -Waggregate-return -Wstrict-prototypes 
> -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -o 
> .libs/testapi testapi.o  ./.libs/libxml2.so -ldl -lpthread -lm -lsocket 
> -lnsl -Wl,--rpath -Wl,/usr/local/lib
> testapi.o: In function `get_api_attr':
> /usr2/build/libxml2-2.6.20/testapi.c:108: undefined reference to `snprintf'
> collect2: ld returned 1 exit status
> make[2]: *** [testapi] Error 1
> --------------
> 
> There's also a complaint about "undeclared identifier 'snpritnf' a ways 
> above it.
> 
> 
> I know that DEC Alpha has the snprintf/trio issue, and ./configure 
> properly detects that snprintf isn't there.  I'm not sure why testapi 
> isn't using the trio function.


  Open a bugzilla this is mysterious....

Daniel

> I poked around a little but couldn't make too much heads or tails of 
> things.  Anyone have an idea?
> 
> Jason
> _______________________________________________
> xml mailing list, project page  http://xmlsoft.org/
> [email protected]
> http://mail.gnome.org/mailman/listinfo/xml

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to