From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12634 invoked by alias); 10 Nov 2011 20:39:54 -0000 Received: (qmail 12449 invoked by uid 22791); 10 Nov 2011 20:39:52 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,TW_HD,TW_LC,TW_LG X-Spam-Check-By: sourceware.org Received: from v38281.1blu.de (HELO v38281.1blu.de) (88.84.155.228) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 10 Nov 2011 20:39:38 +0000 Received: by v38281.1blu.de (Postfix, from userid 8) id DC7178C080B2; Thu, 10 Nov 2011 21:39:35 +0100 (CET) Received: from macmini.home (p4FC60F3B.dip0.t-ipconnect.de [79.198.15.59]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by v38281.1blu.de (Postfix) with ESMTPSA id AB8ED8C080B0 for ; Thu, 10 Nov 2011 21:39:29 +0100 (CET) From: Kraus Philipp Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: linker error libcygwin Date: Thu, 10 Nov 2011 20:39:00 -0000 Message-Id: <8DB56F04-18E5-43C3-8080-05565BA1531D@flashpixx.de> To: cygwin@cygwin.com Mime-Version: 1.0 (Apple Message framework v1084) X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-11/txt/msg00193.txt.bz2 Hello, I try to build a program with g++ under Cygwin. I added this libraries to t= he linker: -lcygboost_system -lcygboost_thread -lcygboost_iostreams -lcygboost_regex -lcygboost_program_options -lboost_exception -lcygboost_filesystem -llapack -lcblas -lf77blas -latlas -lgfortran -lhdf5_cpp -lhdf5 The linker create the error: /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../libcygwin.a(libcmain.o):(.text+0= xa9): undefined reference to `_WinMain@16' collect2: ld returned 1 exit status How can I find out, why / where the problem is? Can the order of my -l flag= s create the problem? Thanks Phil -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple