I found that (under solaris 2.6) that inet_ntop was part of resolv.h

I edited the makefile as follows:
I added -lresolv to the following line from IFHP-3.4.4/src/Makefile
LIBS=  -lsocket -lnsl -lresolv
and the compile went ok.

jk





chad schrock <[EMAIL PROTECTED]>@lprng.com on 03/07/2001 08:20:12 PM

Please respond to [EMAIL PROTECTED]



Sent by:  [EMAIL PROTECTED]


To:   [EMAIL PROTECTED]
cc:
Subject:  Re: LPRng: IFHP: Can't find inet_ntop



Howard Schultens wrote:
>
> Trying to compile IFHP on my older system (SuSE Linux 5.3, Kernel
> 2.0.35), making IFHP bombs with the following message:
(snip)
> : undefined reference to `inet_ntop'
> collect2: ld returned 1 exit status
> make[1]: *** [ifhp] Error 1
> make: *** [src] Error 2
>
> even though configure noticed that inet_ntop was not present on
> this machine.

Not much of a help, but I have the same problems with
Solaris 7 (and below) and Tru64 Unix 4.0.


The Solaris 8 man page says that it is a function to convert
numeric address into a string suitable for presentation.

See:
http://docs.sun.com:80/ab2/coll.40.6/REFMAN3B/@Ab2PageView/319266?



--
chad at radix dot net

-----------------------------------------------------------------------------

YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the
impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the
word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------




-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to