Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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?= 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/