This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

linking in rresvport


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]