Hi, friends:

I got a problem to compile a network program using function of
htonl(unsigned long). As I use the man menu og htonl, I have to include
the header file <netinet/in.h>. However I always got the error message as
following at link step:
          inter_phil_switching.o(.text+0x1cf5): undefined reference to
          `htonl(unsigned long)'
 Can anyone help me out. TIA.

Chien-Lung


****************************************************************************
Chien-Lung Wu                                           [EMAIL PROTECTED]
Graduate Student of ECE                                 (O) 919-513-1894
at North Carolina State University                      (H) 919-233-6724
****************************************************************************


--------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

Reply via email to