>...
syhom>I am compiling ifhp3.4 on a Sun and am getting this error:
syhom>
syhom>gcc ifhp.o accounting.o vars.o errormsg.o plp_snprintf.o
syhom>globmatch.o open_device.o stty.o checkcode.o linelist.o
syhom>-lsocket -lnsl -o ifhp
syhom>Undefined                       first referenced
syhom> symbol                             in file
syhom>inet_ntop                           open_device.o
syhom>ld: fatal: Symbol referencing errors. No output written to ifhp
>...

For SunOS 5.6 inet_ntop is in libresolv.so    so it needs -lresolv
For SunOS 5.8 inet_ntop is in libnsl.so       so it needs -lnsl

===========================================================================
Daniel Trentman                      College Computer System Administration
University of Utah                   Phone        : (801) 581-3485
College of Mines and Earth Sciences  College Phone: (801) 581-8767
135 S. 1460 E. Rm 209                College Fax  : (801) 581-5560
Salt Lake City, UT 84112-0112  USA   E-mail:      : [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.
-----------------------------------------------------------------------------

Reply via email to