delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <1F8B49DD9100D31195FC00A0C94989FE0E0D@obelix> |
From: | Joost Kraaijeveld <J DOT Kraaijeveld AT Askesis DOT nl> |
To: | "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | Troubles with linking to a dll |
Date: | Sun, 7 May 2000 12:18:40 +0200 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.1960.3) |
I am having troubles with linking to a DLL. I get the following message: g++ -mthreads -o./ALibCommVIOTestServer.exe ./main.o ./ADLMHRemoteProcedure.o ./AGenericTestExceptionRemoteProcedure.o ./AGenericTestRemoteProcedure.o ./ARemoteModelObjectTestProxy.o ../../../../../Targets/Dll/libALibBase.a ../../../../../Targets/Dll/libALibStre.a ../../../../../Targets/Dll/libALibComm.a ../../../../../Targets/Dll/libALibDB.a ../../../../../Targets/Dll/libALibMod.a ./main.o: In function `main': /usr/src/Common/ALib/Sources/ALibSamples/ALibComm/ALibCommVIOTest/ALibCo mmVIOTestServer/main.cpp:26: undefined reference to `AServer::startListeningSemaphore' collect2: ld returned 1 exit status make: *** [ALibCommVIOTestServer.exe] Error 1 If I look at the (dlltool generated) .def file for ALibComm.dll (which is the basis for libALibComm.a I presume) I find: _7AServer$startListeningSemaphore @ 72 DATA ; AServer::startListeningSemaphore To me that means it gets exported OK. What am I missing? Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 email: J DOT Kraaijeveld AT Askesis DOT nl web: www.askesis.nl -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |