Article View: news.software.nntp
Article #20120Re: error compiling inn-1.5.1sec on DU 3.2
From: Steven Morin
Date: Sat, 02 Aug 1997 00:00
Date: Sat, 02 Aug 1997 00:00
47 lines
2037 bytes
2037 bytes
Digital UNIX (V3.2C or V4.0) doesn't have the isinf() function in it's math library. A macro for this function for several platforms is defined in snprintf/local.h, but isn't defined for DU. To work around this, I moved the define into snprintf/vfprintf.c to where it's used. The isnan() is part of Digital UNIX's math library, so I changed my config.data to include it: LIBS -lutil -lm Steve Morin tng@nyssa.swt.edu wrote: : In article <5rq8r7$e61$1@scud.oit.umass.edu>, john@scud.oit.umass.edu (John Lloyd) writes: : > : > : > I'm getting the following error when compiling inn-1.5.1sec on : > Digital Unix... : > : > gcc -o inews inews.o ../libinn.a ../libsnprintf.a : > collect2: ld returned 1 exit status : > /bin/ld: : > Unresolved: : > isinf : > isnan : > : > It looks like the symbol is in the vprintf.o object in libsnprintf.a so : > I don't understand why it's not getting resolved. Anyone else have this : > problem (and a workaround)? : Same problem under V4.0B. I haven't run it yet, but got a clean compile : with the following two additions to CONFIG.DATA: : SNPRINTF_CFLAGS -Dsun -D__svr4__ : LIBS /usr/lib/libm.a : When I get it installed, I'll report on how it runs -- until then, try this : at your own risk. : Tom Greer (tng@swt.edu) : Systems Programmer : Southwest Texas State University
Technical Details
Message-ID:
<5s0g4m$cs0$1@usenet88.supernews.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5rq8r7$e61$1@scud.oit.umass.edu> <1997Jul31.103327@nyssa.swt.edu>Show Full Headers
Complete Article Headers
Message-ID: <5s0g4m$cs0$1@usenet88.supernews.com> Subject: Re: error compiling inn-1.5.1sec on DU 3.2 Date: Sat, 02 Aug 1997 00:00:00 +0000 From: srmorin@kona.javanet.com (Steven Morin) References: <5rq8r7$e61$1@scud.oit.umass.edu> <1997Jul31.103327@nyssa.swt.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 261823421 Distribution: inet Organization: All USENET -- http://www.Supernews.com Newsgroups: news.software.nntp