From: dahms@ifk20.mach.uni-karlsruhe.de
Subject: RE: Link Errors with Net Functions
17 Mar 1997 18:02:40 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <009B16B6.C54A6E00.12384.cygnus.gnu-win32@ifk20.mach.uni-karlsruhe.de>
Original-To: sos@prospect.com.ru
Original-CC: gnu-win32@cygnus.com, dahms@ifk20.mach.uni-karlsruhe.de
Original-Sender: owner-gnu-win32@cygnus.com

Hi, you wrote:

: Michael Godfrey wrote:
: > I'm having trouble linking with the htons(), htonl(), ntohs(), and
: > ntohl() host to/from network byte order functions.
: 
: Did You include <arpa/inet.h>?

Last time I looked, this was not enough, because the byteorder include
file only worked if compiling -O, since then these were inlined, but there
were no regular definitions to link with.


Bye, Heribert (dahms@ifk20.mach.uni-karlsruhe.de)
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
