On Wed, 2 Jul 2003, Martin Gainty wrote:

> $
> GCC -enable-stdcall-fixup -L/cygdrive/f/slp/openslp-1.1.3/common/.libs/test
> S
> LPReg.c slp_property.o slp_message.o libslp_reg.o libslp_handle.o
> libslp_proper
> ty.o slp_linkedlist.o slp_pid.o libslp_network.o libslp_knownda.o
> libslp_parse.
> o slp_compare.o slp_xid.o slp_buffer.o slp_network.o slp_iface.o
> slp_xcast.o -l
> commonslpd -o SLPReg.exe
> slp_iface.o(.text+0x24f):slp_iface.c: undefined reference to [EMAIL PROTECTED]'
>
> Which comm library contains [EMAIL PROTECTED]

Your link line is mashed. You need to do something liek

  gcc [...other flags...] [object files] -o file.exe -L/path/to/dir -lcommonslpd

Yo *must* add libraries to the end of the link line.

Elfyn
-- 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to