delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Wed, 2 Jul 2003 19:11:28 +0100 |
From: | Elfyn McBratney <elfyn AT cygwin DOT com> |
X-X-Sender: | elfyn AT ellixia |
Reply-To: | cygwin AT cygwin DOT com |
To: | Martin Gainty <mgainty AT hotmail DOT com> |
cc: | cygwin AT cygwin DOT com, Elfyn McBratney <emcb_exposure AT hotmail DOT com> |
Subject: | Re: inet_addr library |
In-Reply-To: | <Law10-OE36TGHhxdQwU0001dcda@hotmail.com> |
Message-ID: | <Pine.CYG.4.55.0307021909550.536@ellixia> |
References: | <Law10-OE36TGHhxdQwU0001dcda AT hotmail DOT com> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
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 `_inet_addr AT 4' > > Which comm library contains inet_addr AT 4? 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |