I am trying to compile inn-1.6b3 on an alphaserver 1000 running DU4.0b and
running into a problem with snprintf. This is the result when I cd to
$inn/frontends and try to make all:
# cd ../frontends
# make all
cc -I../include -g -c rnews.c
cc -o rnews rnews.o ../libinn.a ../libsnprintf.a
ld:
Unresolved:
isnan
isinf
*** Exit 1
Stop.
Here are the values I am using in config.data:
## If you DONT have snprintf in your clibrary then set LIBSNPRINTF
## to ``../libsnprintf.a''. i.e.
##
## LIBSNPRINTF ../libsnprintf.a
##
## Also see HAVE_SNPRINTF down below.
#### =()<LIBSNPRINTF _at_<LIBSNPRINTF>_at_>()=
LIBSNPRINTF ../libsnprintf.a
## LIBSNPRINTF
##
## What compiler flags do you need to build the snprintf library.
##
## On Solaris 2.5 and 2.5.1 (and maybe higher) with the Sun C compiler.
## you want
## -Xc -Dsun -D__svr4__ -DBad_float_h
## with gcc
## -Dsnprintf=__snprintf -Dvsnprintf=__vsnprintf
## is reported to work (with HAVE_SNPRINTF set to DO and LIBSNPRINT to
nothing)
##
#### =()<SNPRINTF_CFLAGS _at_<SNPRINTF_CFLAGS>_at_>()=
SNPRINTF_CFLAGS
and
## Do you have snprintf() in your c library. Pick DO or DONT. See
## LIBSNPRINTF and SNPRINTF_CFLAGS above.
#### =()<HAVE_SNPRINTF _at_<HAVE_SNPRINTF>_at_>()=
HAVE_SNPRINTF DONT
Obviously these values are wrong. Will somebody please send me the correct
values and let me know if there are any other pitfalls to look out for when
compiling inn-1.6b3.
Bill
Bill Bergman
Westinghouse Communications
(412) 247-6206
wrb_at_wcsmail.com
Received on Wed Sep 17 1997 - 18:51:07 NZST