[Gpg4win-devel] adding libetpan to gpg4win

Marcus Brinkmann marcus.brinkmann at ruhr-uni-bochum.de
Fri Oct 26 21:02:26 CEST 2007


At Fri, 26 Oct 2007 18:41:32 +0200,
Marcus Brinkmann wrote:
> What is missing is support for VPATH builds (useful for gpg4win) and
> DLLs (currently only a static library is built), so that is what I am
> working on now.

Building a DLL does not work, I get:

 i586-mingw32msvc-gcc -shared .libs/libetpan-0.dll.def  .libs/versioninfo.o -Wl,--whole-archive data-types/.libs/libdata-types.a low-level/.libs/liblow-level.a driver/.libs/libdriver.a main/.libs/libmain.a engine/.libs/libengine.a windows/.libs/libarch.a -Wl,--no-whole-archive  -L/home/marcus/g10/wald/gpg4win-w/src/playground/install/lib -lws2_32 -lpthreadGC2  -mms-bitfields -o .libs/libetpan-0.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libetpan.dll.a
Creating library file: .libs/libetpan.dll.a
windows/.libs/libarch.a(wsocket.o): In function `_Z41__static_initialization_and_destruction_0ii':/home/marcus/g10/projects/gpg4win-2/libetpan/cvs/libetpan-cvs-new4/src/windows/wsocket.cpp:21: undefined reference to `___cxa_allocate_exception'
:/home/marcus/g10/projects/gpg4win-2/libetpan/cvs/libetpan-cvs-new4/src/windows/wsocket.cpp:21: undefined reference to `typeinfo for char const*'
:/home/marcus/g10/projects/gpg4win-2/libetpan/cvs/libetpan-cvs-new4/src/windows/wsocket.cpp:21: undefined reference to `___cxa_throw'
collect2: ld returned 1 exit status
make[2]: *** [libetpan.la] Error 1

Anybody has any idea?  I am probably missing some runtime library or such.

Thanks,
Marcus




More information about the Gpg4win-devel mailing list