Mail Archives: cygwin/1997/03/11/17:56:16
I'm having trouble linking with the htons(), htonl(), ntohs(), and
ntohl() host to/from network byte order functions.
The compile is clean, and although these functions reside in cygwin.dll,
I still get the following type of error message at link time:
...libwhatever.a(NetInt.o): In function `NetInt::write(char *)':
.../NetInt.cc:20: undefined reference to `htonl(unsigned long)'
Anyone encountered this before? Any help will be greatly appreciated.
Thanks.
-Mike Godfrey (godfrey AT nosc DOT mil)
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -