delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/23/12:52:06

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <goncal11 AT col DOT bsf DOT alcatel DOT fr>, cygwin AT sources DOT redhat DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re:Gcc problem
In-Reply-To: <200107231525.RAA02198@cabs40.col.bsf.alcatel.fr>
Mime-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019