[xslt] xsltproc link error



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
checking for a BSD-compatible install... ../libxslt-1.0.33/install-sh -c
checking whether build environment is sane... yes
/home/bar/download/libxslt/libxslt-1.0.33/missing: Unknown `--run' option
Try `/home/bar/download/libxslt/libxslt-1.0.33/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc
checking how to run the C preprocessor... gcc -E
checking for egrep... egrep
checking for ANSI C header files... yes
checking build system type... sparc-sun-solaris2.5.1
checking host system type... sparc-sun-solaris2.5.1
checking for ld used by GCC... /home/GCC/binutils-2.14-1/bin/ld
checking if the linker (/home/GCC/binutils-2.14-1/bin/ld) is GNU ld... yes
checking for /home/GCC/binutils-2.14-1/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking for a sed that does not truncate output... /usr/xpg4/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/ccs/bin/nm -p output... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... :
checking for strip... :
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/home/GCC/binutils-2.14-1/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.5.1 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking nan.h usability... yes
checking nan.h presence... yes
checking for nan.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking fp_class.h usability... no
checking fp_class.h presence... no
checking for fp_class.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking ansidecl.h usability... yes
checking ansidecl.h presence... yes
checking for ansidecl.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for sys/stat.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stat... yes
checking for _stat... yes
checking for isnan... yes
checking for isinf... no
checking for isinf in -lm... no
checking for pow... no
checking for pow in -lm... yes
checking for floor... no
checking for floor in -lm... yes
checking for fabs... no
checking for fabs in -lm... yes
checking for gettimeofday... yes
checking for mktime... yes
checking for localtime... yes
checking for asctime... yes
checking for time... yes
checking for gmtime... yes
checking for ftime... yes
checking for printf... yes
checking for sprintf... yes
checking for fprintf... yes
checking for snprintf... no
checking for vfprintf... yes
checking for vsprintf... yes
checking for vsnprintf... no
checking for sscanf... yes
Reusing trio library for string functions
checking for perl... perl
checking for python... no
Enabling debugger
checking for libxml libraries >= 2.5.6... 2.6.10 found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libxslt.pc
config.status: creating libxslt/Makefile
config.status: creating libxslt/xsltconfig.h
config.status: creating libxslt/xsltwin32config.h
config.status: creating breakpoint/Makefile
config.status: creating libexslt/Makefile
config.status: creating libexslt/exsltconfig.h
config.status: creating xsltproc/Makefile
config.status: creating python/Makefile
config.status: creating python/tests/Makefile
config.status: creating tests/Makefile
config.status: creating tests/docs/Makefile
config.status: creating tests/REC1/Makefile
config.status: creating tests/REC2/Makefile
config.status: creating tests/REC/Makefile
config.status: creating tests/general/Makefile
config.status: creating tests/reports/Makefile
config.status: creating tests/extensions/Makefile
config.status: creating tests/namespaces/Makefile
config.status: creating tests/keys/Makefile
config.status: creating tests/numbers/Makefile
config.status: creating tests/documents/Makefile
config.status: creating tests/xmlspec/Makefile
config.status: creating tests/multiple/Makefile
config.status: creating tests/XSLTMark/Makefile
config.status: creating tests/docbook/Makefile
config.status: creating tests/exslt/Makefile
config.status: creating tests/exslt/common/Makefile
config.status: creating tests/exslt/functions/Makefile
config.status: creating tests/exslt/math/Makefile
config.status: creating tests/exslt/sets/Makefile
config.status: creating tests/exslt/strings/Makefile
config.status: creating tests/exslt/date/Makefile
config.status: creating doc/Makefile
config.status: creating xslt-config
config.status: creating libxslt.spec
config.status: creating config.h
config.status: executing depfiles commands


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