file 4.22 build fails on Solaris 9 due to strtof()
Christos Zoulas
christos at zoulas.com
Thu Dec 27 22:47:12 EET 2007
On Dec 27, 1:27pm, Zube at CS.ColoState.EDU (Zube) wrote:
-- Subject: file 4.22 build fails on Solaris 9 due to strtof()
| 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.
I will add configure tests for it:
The strtod() function conforms to ANSI X3.159-1989 (``ANSI C89''). The
strtof() and strtold() functions conform to ISO/IEC 9899:1999 (``ISO C99'').
christos
More information about the File
mailing list