This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
linking in rresvport
- To: gnu-win32 at cygnus dot com
- Subject: linking in rresvport
- From: dumser at ti dot com (James Dumser)
- Date: Tue, 4 Feb 1997 12:07:29 -0600 (CST)
I'm trying to build the lpq & lpr clients from FreeBSD. In trying to
link, I get
gcc lpq.o -lcommon -lwsock32 -L../common_source -o lpq
../common_source/libcommon.a(common.o)(.text+0xf9):common.c: undefined reference to `rresvport'
I verified that rresvport is in libwsock32.a (as _rresvport@4), so I'm
at a loss as to why ld doesn't find it. What have I missed?
--
James Dumser 972-462-5335 dumser@ti.com