delorie.com/archives/browse.cgi | search |
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 |
Date: | Mon, 7 Nov 2005 10:21:35 +0100 |
From: | Thomas Porschberg <thomas DOT porschberg AT osp-dd DOT de> |
To: | cygwin AT cygwin DOT com |
Subject: | __assert linker error |
Message-ID: | <20051107092135.GV8231@porschberg.osp-dd.de> |
Mime-Version: | 1.0 |
X-Operating-System: | Linux porschberg 2.6.11.4-20a-default |
User-Agent: | Mutt/1.5.10i |
Hi, I try to compile a small C++ QT program from the CPPUNIT distribution under cygwin and encounter a linker error. $ make g++ -Wl,--enable-runtime-pseudo-reloc -o example ExampleTestCase.o Main.o -L/ usr/lib/qt3/lib -L/usr/local/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lpthread -lcppunit -lqttestrunner /usr/local/lib/libcppunit.a(TestFactoryRegistry.o):TestFactoryRegistry.cpp:(.tex t$_ZN7CppUnit23TestFactoryRegistryList11getRegistryERKSs[CppUnit::TestFactoryReg istryList::getRegistry(std::basic_string<char, std::char_traits<char>, std::allo cator<char> > const&)]+0x29): undefined reference to `__assert' collect2: ld returned 1 exit status make: *** [example] Error 1 I compiled cppunit-library as a mingw32 (using -mno-cygwin) application and libqttestrunner as an cygwin library. Any hints ? Thomas -- -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |