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: <200107231525.RAA02198@cabs40.col.bsf.alcatel.fr> Date: Mon, 23 Jul 2001 17:25:47 +0200 (MEST) From: Jorge Goncalvez Reply-To: Jorge Goncalvez Subject: Re:Gcc problem To: cygwin AT sources DOT redhat DOT com MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: v6O/HxA4E5m4vfsJd5zA2w== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc 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. -- 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/