linking in rresvport

James Dumser dumser@ti.com
Tue Feb 4 10:08:00 GMT 1997


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


More information about the Cygwin mailing list