Re: libsoup on MS Windows problems



Tor Lillqvist wrote:

CCLD   libsoup-2.4.la
Opretter biblioteksfil: .libs/libsoup-2.4.dll.a

So now it does create a DLL and an import library for it. Please
verify with pexports that the DLL indeed exports the expected soup_*
functions, and with nm that they indeed are present in the import
library. If not, run make V=1 to see more verbose output.


pexport libsoup-2.4-1.dll
shows *no* sign of functions including soup_*

nm libsoup-2.4-1.dll shows a lot of functions including _soup_* and indeed _soup_message_body_append_buffer

make V=1
Indeed gives a lot of output :-)
I've cut out a little piece I believe could be relevant


/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"libsoup\" -I.. -mms-bitfields -IC:/msys/1.0/local/include/glib-2.0 -IC:/msys/1.0/local/lib/glib-2.0/include -DG_DISABLE_SINGLE_INCLUDES -IC:/msys/1.0/local/include/libxml2 -I/usr/local/include -IC:/msys/1.0/local/include -g -O2 -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wmissing-format-attribute -Wundef -MT soup-message-body.lo -MD -MP -MF .deps/soup-message-body.Tpo -c -o soup-message-body.lo soup-message-body.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"libsoup\" -I.. -mms-bitfields -IC:/msys/1.0/local/include/glib-2.0 -IC:/msys/1.0/local/lib/glib-2.0/include -DG_DISABLE_SINGLE_INCLUDES -IC:/msys/1.0/local/include/libxml2 -I/usr/local/include -IC:/msys/1.0/local/include -g -O2 -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wmissing-format-attribute -Wundef -MT soup-message-body.lo -MD -MP -MF .deps/soup-message-body.Tpo -c soup-message-body.c -DDLL_EXPORT -DPIC -o .libs/soup-message-body.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"libsoup\" -I.. -mms-bitfields -IC:/msys/1.0/local/include/glib-2.0 -IC:/msys/1.0/local/lib/glib-2.0/include -DG_DISABLE_SINGLE_INCLUDES -IC:/msys/1.0/local/include/libxml2 -I/usr/local/include -IC:/msys/1.0/local/include -g -O2 -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wmissing-format-attribute -Wundef -MT soup-message-body.lo -MD -MP -MF .deps/soup-message-body.Tpo -c soup-message-body.c -o soup-message-body.o >/dev/null 2>&1
mv -f .deps/soup-message-body.Tpo .deps/soup-message-body.Plo


From the above it seems that -DDLL_EXPORT is given.

Any ideas for further investigation?

Best regards
Egon Andersen


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]