Re: [xslt] xsltproc link error



Bob Rossi said:
> Hi all,
>
> I'm building xsltproc on
>    6 (bar ultra) /home/USERS/blduser> uname -a
>    SunOS ultra 5.5.1 Generic_103640-08 sun4u sparc SUNW,Ultra-1
>
> I've already successfully built it on an old ibm and hp machine. I'm
> currently running into this link error on the ultra machine:
>    gcc -g -O2 -Wall -o xsltproc xsltproc.o  ../libxslt/.libs/libxslt.a
> -L/home/TOOLS/libxml2/libxml2-2.6.10-1/bin
> -L/home/TOOLS/libxml2/libxml2-2.6.10-1/lib ../libexslt/.libs/libexslt.a
> /home/TOOLS/libxml2/libxml2-2.6.10-1/lib/libxml2.a -lsocket -lnsl -lm
> -Wl,--rpath -Wl,/home/TOOLS/libxml2/libxml2-2.6.10-1/lib
>    ../libxslt/.libs/libxslt.a(xsltutils.o)(.text+0x808): In function
> `xsltTransformError':
>    /home/bar/download/libxslt/builddir/libxslt/../../libxslt-1.0.33/libxslt/xsltutils.c:507:
> undefined reference to `vsnprintf'
>    collect2: ld returned 1 exit status
>    make[2]: *** [xsltproc] Error 1
>
> Has anyone had this problem before? vsnprintf is unavailable. I am using
>    -bash-2.05b$ gcc --version
>    2.95.3
>
> Here is a snippit of the configure output related to vsnprintf,
>    checking for vfprintf... yes
>    checking for vsprintf... yes
>    checking for vsnprintf... no
>    checking for sscanf... yes
>    Reusing trio library for string functions
>
> It looks as if there is supposed to be backup library functions if
> these functions are not available. Any help would be greatly
> appreciated!
>
> Attached is the configure output with all the details.
>
> Thanks,
> Bob Rossi

You are trying to use libxml2-2.6.10 and libxslt-1.0.33.  Current versions of
the libraries are 2.6.22 and 1.1.15.  Could you update your sources and see if
the problem is still present?

Bill



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]