🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by John Lloyd Thu, 31 Jul 1997 00:00
error compiling inn-1.5.1sec on DU 3.2
#20000
Author: John Lloyd
Date: Thu, 31 Jul 1997 00:00
27 lines
1149 bytes


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)?

-john


-- 
John Lloyd                         email: john@nic.umass.edu
Network Analyst                    voice: 413.545.4837
Network Systems and Services       fax: 413.545.3203
University of Massachusetts, Amherst

Re: error compiling inn-1.5.1sec on DU 3.2
#20028
Author: tng
Date: Thu, 31 Jul 1997 00:00
33 lines
1472 bytes
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

Re: error compiling inn-1.5.1sec on DU 3.2
#20120
Author: Steven Morin
Date: Sat, 02 Aug 1997 00:00
47 lines
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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads