This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Strange errors


I get an error while creating a dll (see below). The strange thing is
that I dont have a function "vector<AProgramArgument,
allocator<AProgramArgument> >::_vc(unsigned int) const" as mentioned in
the error, and I don't reference the undefined references in the dll I
am creating (allthought they sort of exist in one of the libraries I
link to, but I don't understand the "text" stuff: they refer to static
functions ). I cannot reproduce the error in a small program. As this is
a show stopping bug for my project:

Please can anyone help me out with this??????

dllwrap -mthreads --export-all --output-def
../../Targets/Dll/ALibApp.def --implib ../../Targets/Dll
/libALibApp.a --driver-name g++ -o../../Targets/Dll/ALibApp.dll
../../Objects/ALibApp/AApplication.o
 ../../Objects/ALibApp/AApplicationProfile.o
../../Objects/ALibApp/ALibApp.o ../../Objects/ALibApp/A
LibAppException.o ../../Objects/ALibApp/ALibCEO.o
../../Targets/Dll/libALibBase.a ../../Targets/Dll/
libALibStre.a ../../Targets/Dll/libALibComm.a
../../Targets/Dll/libALibDB.a ../../Targets/Dll/libALi
bMod.a ../../Targets/Dll/libALibView.a ../../Targets/Dll/libAGenMod.a
../../Targets/Dll/libAGenMFac.
a -lcrtdll
Warning: no export definition file provided
dllwrap will create one, but may not be what you want
../../Objects/ALibApp/AApplication.o: In function
`vector<AProgramArgument, allocator<AProgramArgume
nt> >::_vc(unsigned int) const':
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/g++-3/stl_vec
tor.h(.AServer::text$getCrea
teServerSemaphore(void)+0x4): undefined reference to
`AServer::createServerSemaphore'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/g++-3/stl_vec
tor.h(.AServer::text$getLoad

ProtocolSemaphore(void)+0x4): undefined reference to
`AServer::loadProtocolSemaphore'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/g++-3/stl_vec
tor.h(.AServer::text$getOpen
ServerSemaphore(void)+0x4): undefined reference to
`AServer::openServerSemaphore'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/g++-3/stl_vec
tor.h(.AServer::text$getStar
tListeningSemaphore(void)+0x4): undefined reference to
`AServer::startListeningSemaphore'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/g++-3/stl_vec
tor.h(.AServer::text$getStop
ListeningSemaphore(void)+0x4): undefined reference to
`AServer::stopListeningSemaphore'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/g++-3/stl_vec
tor.h(.AServer::text$getClos
eServerSemaphore(void)+0x4): undefined reference to
`AServer::closeServerSemaphore'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/g++-3/stl_vec
tor.h(.AServer::text$getUnlo
adProtocolSemaphore(void)+0x4): undefined reference to
`AServer::unloadProtocolSemaphore'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/g++-3/stl_vec
tor.h(.AServer::text$getDele
teServerSemaphore(void)+0x4): undefined reference to
`AServer::deleteServerSemaphore'
collect2: ld returned 1 exit status
dllwrap: g++ exited with status 1
make: *** [../../Targets/Dll/ALibApp.dll] Error 1

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
email: J.Kraaijeveld@Askesis.nl
web: www.askesis.nl 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]