🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Cipher Mon, 04 Aug 1997 00:00
Newlog problems...
#20193
Author: Cipher
Date: Mon, 04 Aug 1997 00:00
28 lines
1494 bytes
Ok,
 	Thank you to those who responded to my last question, but the solution 
of compiling newlog just gave me a new kind of error reading:

ld:
unresolved:
isnan
isinf


I looked up the man pages on both of these, isinf doesn't have a man page 
and isnan pulls up the ieee_functions page.  I also went to the 
/usr/include directory and looked through math.h and isnan does indeed 
exist in there, but for some reason isn't being defined.  

	I'm still running an alpha-dec-osf computer with Digital Unix, and 
I'd still appreciate any suggestions people might have.


						--John Saul 
********************************************************************************
*  I have one question for you, one that should be considered very             *
*  carefully....                                                               *
*                    Who are you really?                                       *
********************************************************************************

Re: Newlog problems...
#20194
Author: Andrew Hobson
Date: Mon, 04 Aug 1997 00:00
40 lines
1729 bytes
On 4 Aug 97 09:28:35 EST, jsaul@forest.drew.edu (Cipher) said:

> ld:
> unresolved:
> isnan
> isinf

In snprintf/local.h change 

#if defined(sgi) || (defined(sun) && defined(__svr4__))
#define isinf(x) (!finite(x) && !isnan(x))
#endif /* sgi */

to

#if defined(sgi) || (defined(sun) && defined(__svr4__)) || defined(__osf__)
#define isinf(x) (!finite(x) && !isnan(x))
#endif /* sgi */

In your config/config.data file, change

LIBS                    -lutil

to

LIBS                    -lutil -lm

Recompile everything.

Drew

-- 
begin 644 ahobson@eng.mindspring.net.booby.trap.yes.it.is.gzipped.twice.gz.gz
M'XL(`/*U^C`"`Y/OYF!XN?67`1/SVX.,O`P,#(<6V+V7OR#'I\$P"D;!*!@%
HHV`4C()1,`I&P2@8!:-@%(P"$'APET'ED<H7!DY;!@`$55!J2`\``$;!
` My God, it's full of stars
end

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