Hello Adib,
again thx (and so close to xmas ;-.),
well you were right, the makefile missed the -lxml2.
#old entry (based on makefile in first reply to this thread)
#CCEXT2_LDFLAGS = -L. -L$(prefix)/dll -lccgnu2 -lws2_32 -lwsock32
#updated entry
CCEXT2_LDFLAGS = -L. -L$(prefix)/dll -lccgnu2 -lxml2 -liberty -lws2_32
but still, it does not compile.
any more ideas?
Again thx
Wolfgang
====snip compile using linux and mingw32 ====
address@hidden:~/common-c++/commoncpp2-1.0.13/win32$ make -f Makefile.tst
i586-mingw32msvc-c++ -I. -I../include -I/usr/i586-mingw32msvc/include
-DHAVE_CONFIG_H -D_GNU_SOURCE -include ../win32/cc++/config.h -g -O2
-mthreads ../tests/tcpstr1.cpp -L. -L/usr/i586-mingw32msvc/dll -lccgnu2
-lccext2 -lws2_32 -o tcpstr1.exe
Info: resolving __ZTVN3ost9TCPStreamE by linking to
__imp___ZTVN3ost9TCPStreamE (auto-import)
/tmp/cc9Kv6AR.o(.text$_ZN3ost9TCPStreamD2Ev+0x14): In function `main':
/home/wolfgang/common-c++/commoncpp2-1.0.13/win32/../tests/tcpstr1.cpp:26:
variable 'vtable for ost::TCPStream' can't be auto-imported. Please read the
documentation for ld's --enable-auto-import for details.
/tmp/cc9Kv6AR.o(.text$_ZN3ost9TCPStreamD1Ev+0x2): In function `ZThn8_NSdD0Ev':
/usr/lib/gcc-lib/i586-mingw32msvc/3.3.1/include/c++/istream: variable 'vtable
for ost::TCPStream' can't be auto-imported. Please read the documentation for
ld's --enable-auto-import for details.
/tmp/cc9Kv6AR.o(.text$_ZN3ost9TCPStreamD1Ev+0x12): In function `main':
/home/wolfgang/common-c++/commoncpp2-1.0.13/win32/../tests/tcpstr1.cpp:26:
variable 'vtable for ost::TCPStream' can't be auto-imported. Please read the
documentation for ld's --enable-auto-import for details.
/tmp/cc9Kv6AR.o(.text$_ZN3ost9TCPStreamD1Ev+0x19):/home/wolfgang/common-c++/
commoncpp2-1.0.13/win32/../tests/tcpstr1.cpp:26: variable 'vtable for
ost::TCPStream' can't be auto-imported. Please read the documentation for
ld's --enable-auto-import for details.
/tmp/cc9Kv6AR.o(.text$_ZN3ost9TCPStreamD1Ev+0x20):/home/wolfgang/common-c++/
commoncpp2-1.0.13/win32/../tests/tcpstr1.cpp:26: variable 'vtable for
ost::TCPStream' can't be auto-imported. Please read the documentation for
ld's --enable-auto-import for details.
...
...
...
====snap compile using linux and mingw32 ====