Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.1.2.20010723120026.02284200@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Mon, 23 Jul 2001 12:03:00 -0400 To: Jorge Goncalvez , cygwin AT sources DOT redhat DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re:Gcc problem In-Reply-To: <200107231525.RAA02198@cabs40.col.bsf.alcatel.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-GCMulti: 1 X-SMTP-Server: PostCast Server 1.0.0 At 11:25 AM 7/23/2001, Jorge Goncalvez wrote: >I tried to compile a version of DHCPd of the ISC version2, and i have a problem >with gcc: > >$ make >Making all in common >make[1]: Entering directory `/cygdrive/d/dhcp/code/dhcp/common' >make[1]: Nothing to be done for `all'. >make[1]: Leaving directory `/cygdrive/d/dhcp/code/dhcp/common' >Making all in server >make[1]: Entering directory `/cygdrive/d/dhcp/code/dhcp/server' >make[1]: Nothing to be done for `all'. >make[1]: Leaving directory `/cygdrive/d/dhcp/code/dhcp/server' >Making all in relay >make[1]: Entering directory `/cygdrive/d/dhcp/code/dhcp/relay' >/bin/gcc -o dhcrelay dhcrelay.o ../common/libdhcp.a >/usr/lib/libcygwin.a(libcmain.o)(.text+0x6a):libcmain.c: undefined reference to >`WinMain AT 16' >collect2: ld returned 1 exit status >make[1]: *** [dhcrelay] Error 1 >make[1]: Leaving directory `/cygdrive/d/dhcp/code/dhcp/relay' >make: *** [all] Error 1 > > >Why? thanks. Why the undefined reference to `WinMain AT 16'? http://www.cygwin.com/faq/faq_4.html#SEC84 The FAQ and mail archives can be a great source of information. It's worthwhile to check out these areas before posting. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/