Hi!
On Wed, Jun 13, 2001 at 01:09:47PM +0200,
Paul Reinerfelt wrote:
> Hi!
>
[...]
> gcc ifhp.o accounting.o vars.o errormsg.o plp_snprintf.o globmatch.o
> open_device.o stty.o checkcode.o linelist.o -lintl -lsocket -lnsl -o ifhp
> Undefined first referenced
> symbol in file
> inet_ntop open_device.o
> ld: fatal: Symbol referencing errors. No output written to ifhp
[...]
>
> Checking the log of configure I found that it had indeed noticed that inet_ntop
> does not exist on our system. Shouldn't it have complaind about that if it is so
> vital?
inet_ntop() does in fact exist on Solaris 7. configure just fails to
guess the right libraries to use.
>
> Anyone know a workaround or where to find the lib containing inet_ntop?
It's /usr/lib/libresolv.so . Running
LDFLAGS=-lresolv ./configure ...
does the trick for me.
Regards,
Ralph R��ner
--
Ralph R��ner TU Darmstadt
Raum S1|13/11a Tel. 4333 FB Informatik
EMail: [EMAIL PROTECTED]
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------