The problem is that some versions of Solaris do NOT like
having the resolver library added to the list of libraries.

I had to add a special check for Solaris just for this purpose.

Apparently, your version of Solaris (2.6) does not have the resolver
library.  Could you please tell me what the 'configure' script
shows as the version?

> configure

....
Target is i386-unknown-freebsdelf4.3, arch i386, os freebsdelf4.3,
  release 4.3-RELEASE, version 430


I will add a test to configure for this:

    *solaris2.6* )
        AC_DEFINE(SVR4)
        AC_DEFINE_UNQUOTED(SOLARIS,$version)
        no_resolv_lib=;
        ;;
    *solaris* )
        AC_DEFINE(SVR4)
        AC_DEFINE_UNQUOTED(SOLARIS,$version)
        no_resolv_lib=yes;
        ;;


> From [EMAIL PROTECTED] Thu Mar  8 09:55:24 2001
> From: [EMAIL PROTECTED]
> Subject: Re: LPRng: IFHP: Can't find inet_ntop
> To: [EMAIL PROTECTED]
> Date: Thu, 8 Mar 2001 11:33:27 -0500
>
>
> 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.
-----------------------------------------------------------------------------

Reply via email to