delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/21/05:39:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <414FF698.4010702@atosorigin.com>
Date: Tue, 21 Sep 2004 09:38:32 +0000
From: =?ISO-8859-1?Q?Fr=E9d=E9ric_ORMANCEY?= <frederic DOT ormancey AT atosorigin DOT com>
Reply-To: frederic DOT ormancey AT atosorigin DOT com
Organization: AtosOrigin
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.6) Gecko/20040113
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Lot of undefined symbols at link time, even with -l option on good libraries
X-IsSubscribed: yes

  Using latest release of CygWin ( 1.5.11-1 ) I install the devel kit,

including gcc and gnat compilers. Then I build from src GCC and GNAT 
release 3.4.1 ( which include necessary patchs for my application ).
All my Ada application compile well with gnatmake command, but link 
failed with a lot of undefined symbols mainly issued from w32api and 
system libraries.

Undefined symbols are for example : FormatMessageA, GlobalReAlloc, 
CreateDialogParamA, WSAStartup, accept, select, ... about 100 undefined 
from system libraries.
Of course system libraries are included at link time with the 
appropriate -l option ( -lnetapi32 -lwsock32 -lshell32 -ladvapi32 
-lwinmm -lodbc32 -lwin32ada -luser32 -lgdi32 -lcomdlg32 -laddr2line 
-lbfd -liberty )
I verify with NM command, symbols are right defined in the included 
libraries.

If someone have an idea ?






--
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/

- Raw text -


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