[Vortex] Question on building vortexlib on MingW
Robert M. Münch
robert.muench at robertmuench.de
Sun Jun 29 14:47:09 CEST 2008
On Wed, 25 Jun 2008 10:02:35 +0200, Francis Brosnan Blazquez
<francis at aspl.es> wrote:
> Attached there is an untested patch, though it should work, that detect
> mingw platform and add ws2_32.lib.
Hi Francis, thanks a lot for the patch. The patch for the Makefile.am
didn't work. But I applied them by hand.
> Once applied the patch you'll have to run autogen.sh to refresh autoconf
> files.
Ok, after this I still get (I trid to add newlines for better reading):
$ make
make all-recursive
make[1]: Entering directory `/home/robby/beep/libvortex'
Making all in src
make[2]: Entering directory `/home/robby/beep/libvortex/src'
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o libvortex.la
-rpath /usr/local/lib -no-undefined -export-symbols-regex
'^(vortex|__vortex|_vortex).*' vortex.lo vortex_ctx.lo vortex_support.lo
vortex_connection.lo vortex_listener.lo vortex_handlers.lo
vortex_frame_factory.lo vortex_greetings.lo vortex_profiles.lo
vortex_channel.lo vortex_io.lo vortex_reader.lo vortex_dtds.lo
vortex_hash.lo vortex_queue.lo vortex_sequencer.lo vortex_thread_pool.lo
vortex_channel_pool.lo vortex_sasl.lo vortex_tls.lo vortex_win32.lo
vortex_xml_rpc.lo vortex_xml_rpc_types.lo vortex_errno.lo vortex_thread.lo
vortex_tunnel.lo -LC:/msys/1.0/local/lib -laxl -lm
-LC:/msys/1.0/local/lib -lgsasl
rm -fr .libs/libvortex.dll.a .libs/libvortex.exp
generating symbol list for `libvortex.la'
/mingw/bin/nm .libs/vortex.o .libs/vortex_ctx.o .libs/vortex_support.o
.libs/vortex_connection.o .libs/vortex_listener.o .libs/vortex_handlers.o
.libs/vortex_frame_factory.o .libs/vortex_greetings.o
.libs/vortex_profiles.o .libs/vortex_channel.o .libs/vortex_io.o
.libs/vortex_reader.o .libs/vortex_dtds.o .libs/vortex_hash.o
.libs/vortex_queue.o .libs/vortex_sequencer.o .libs/vortex_thread_pool.o
.libs/vortex_channel_pool.o .libs/vortex_sasl.o .libs/vortex_tls.o
.libs/vortex_win32.o .libs/vortex_xml_rpc.o .libs/vortex_xml_rpc_types.o
.libs/vortex_errno.o .libs/vortex_thread.o .libs/vortex_tunnel.o | sed -n
-e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][
]*_\([_A-Za-z][_A-Za-z0-9]*\)\{0,1\}$/\1 _\2 \2/p' | /bin/sed -e
'/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/' -e '/^[AITW][ ]/s/.*[ ]//' |
sort | uniq > .libs/libvortex.exp
/bin/grep -E -e "^(vortex|__vortex|_vortex).*" ".libs/libvortex.exp" >
".libs/libvortex.expT"
mv -f ".libs/libvortex.expT" ".libs/libvortex.exp"
if test "x`/bin/sed 1q .libs/libvortex.exp`" = xEXPORTS; then cp
.libs/libvortex.exp .libs/libvortex-0.dll.def; else echo EXPORTS >
.libs/libvortex-0.dll.def; cat .libs/libvortex.exp >>
.libs/libvortex-0.dll.def; fi
gcc -shared .libs/libvortex-0.dll.def .libs/vortex.o .libs/vortex_ctx.o
.libs/vortex_support.o .libs/vortex_connection.o .libs/vortex_listener.o
.libs/vortex_handlers.o .libs/vortex_frame_factory.o
.libs/vortex_greetings.o .libs/vortex_profiles.o .libs/vortex_channel.o
.libs/vortex_io.o .libs/vortex_reader.o .libs/vortex_dtds.o
.libs/vortex_hash.o .libs/vortex_queue.o .libs/vortex_sequencer.o
.libs/vortex_thread_pool.o .libs/vortex_channel_pool.o .libs/vortex_sasl.o
.libs/vortex_tls.o .libs/vortex_win32.o .libs/vortex_xml_rpc.o
.libs/vortex_xml_rpc_types.o .libs/vortex_errno.o .libs/vortex_thread.o
.libs/vortex_tunnel.o -LC:/msys/1.0/local/lib /usr/local/lib/libaxl.dll.a
/usr/local/lib/libgsasl.dll.a -o .libs/libvortex-0.dll
-Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker
.libs/libvortex.dll.a
.libs/vortex.o: In function `vortex_exit_ctx':
C:/msys/1.0/home/robby/beep/libvortex/src/vortex.c:1084: undefined
reference to `WSACleanup at 0'
.libs/vortex_support.o: In function `vortex_support_file_test':
C:/msys/1.0/home/robby/beep/libvortex/src/vortex_support.c:726: undefined
reference to `WSAGetLastError at 0'
C:/msys/1.0/home/robby/beep/libvortex/src/vortex_support.c:729: undefined
reference to `WSAGetLastError at 0'
.libs/vortex_connection.o: In function `vortex_connection_default_send':
C:/msys/1.0/home/robby/beep/libvortex/src/vortex_connection.c:391:
undefined reference to `send at 16'
.libs/vortex_connection.o: In function `vortex_connection_default_receive':
C:/msys/1.0/home/robby/beep/libvortex/src/vortex_connection.c:405:
undefined reference to `recv at 16'
.libs/vortex_connection.o: In function
`vortex_connection_set_sock_tcp_nodelay':
C:/msys/1.0/home/robby/beep/libvortex/src/vortex_connection.c:1033:
undefined reference to `setsockopt at 20'
.libs/vortex_connection.o: In function `vortex_gethostbyname':
The strange thing WS2_32 is still missing. Any idea? Thanks.
--
Robert M. Münch
Mobile: +49 (177) 245 2802
http://www.robertmuench.de
More information about the Vortex
mailing list