file 4.22 build fails on Solaris 9 due to strtof()
Zube
Zube at CS.ColoState.EDU
Thu Dec 27 22:27:52 EET 2007
On Solaris 9 sparc fully patched, building with gcc 3.4.6:
gmake[2]: Entering directory `/stat/src/file/file-4.22/src'
/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -o file file.o libmagic.la -lz
gcc -O2 -o .libs/file file.o ./.libs/libmagic.so -lz -R/usr/local/lib
Undefined first referenced
symbol in file
strtof ./.libs/libmagic.so
ld: fatal: Symbol referencing errors. No output written to .libs/file
collect2: ld returned 1 exit status
strtof() seems to have crept into apprentice.c (it wasn't in file 4.21),
but I don't think Solaris 9 has it.
Cheers,
Zube
More information about the File
mailing list