Re: libsoup on MS Windows problems



Tor Lillqvist wrote:

Maybe you build libxml2 yourself but thanks to libtool's
over-protective sillyness you got a static library even though you
intended to build a shared library, but the libxml2 code was compiled
intending to go into a DLL and thus you get export directives for the
libxml2 functions in the libxml2 static library.


I've now re-build libxml2. It was the silly libtool thing that caused it to be build static.

But still I have problems to build libsoup.
Still getting undefined reference to 'soup_* '

libtool: link: gcc -shared .libs/soup-marshal.o .libs/soup-enum-types.o .libs/soup-address.o .libs/soup-auth.o .libs/soup-auth-basic.o .libs/soup-auth-digest.o .libs/soup-auth-ntlm.o .libs/soup-auth-domain.o .libs/soup-auth-domain-basic.o .libs/soup-auth-domain-digest.o .libs/soup-auth-manager.o .libs/soup-auth-manager-ntlm.o .libs/soup-coding.o .libs/soup-coding-gzip.o .libs/soup-connection.o .libs/soup-content-decoder.o .libs/soup-content-sniffer.o .libs/soup-cookie.o .libs/soup-cookie-jar.o .libs/soup-cookie-jar-text.o .libs/soup-date.o .libs/soup-form.o .libs/soup-gnutls.o .libs/soup-headers.o .libs/soup-logger.o .libs/soup-message.o .libs/soup-message-body.o .libs/soup-message-client-io.o .libs/soup-message-headers.o .libs/soup-message-io.o .libs/soup-message-queue.o .libs/soup-message-server-io.o .libs/soup-method.o .libs/soup-misc.o .libs/soup-multipart.o .libs/soup-nossl.o .libs/soup-password-manager.o .libs/soup-path-map.o .libs/soup-proxy-resolver.o .libs/soup-proxy-resolver-static.o .libs/soup-proxy-uri-resolver.o .libs/soup-server.o .libs/soup-session.o .libs/soup-session-async.o .libs/soup-session-feature.o .libs/soup-session-sync.o .libs/soup-socket.o .libs/soup-status.o .libs/soup-uri.o .libs/soup-value-utils.o .libs/soup-xmlrpc.o -LC:/msys/1.0/local/lib /usr/local/lib/libgthread-2.0.dll.a -L/usr/local/lib /usr/local/lib/libgio-2.0.dll.a -lshlwapi -ldnsapi /usr/local/lib/libgobject-2.0.dll.a /usr/local/lib/libgmodule-2.0.dll.a /usr/local/lib/libglib-2.0.dll.a -lole32 /usr/local/lib/libxml2.dll.a -lz /usr/local/lib/libgnutls.dll.a /usr/local/lib/libintl.dll.a -liconv /usr/local/lib/libgcrypt.dll.a /usr/local/lib/libgpg-error.dll.a -lws2_32 -o .libs/libsoup-2.4-1.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libsoup-2.4.dll.a
Opretter biblioteksfil: .libs/libsoup-2.4.dll.a

Output from pexports libsoup-2.4-1.dll is attached as pexports.txt
Output from nm libsoup-2.4-1.dll.a is attached as nm.txt
Those files are tiny this time.

I've looked at both iconv and zlib, but it seems that there are dll-files for both and pexports shows symbols that seems to be correct for the two libraries.

Any ideas for further investigation?

Best regards
Egon Andersen
d000008.o:
00000000 i .idata$4
00000000 i .idata$5
00000000 i .idata$7
00000000 I _libsoup_2_4_1_dll_iname

d000000.o:
00000000 i .idata$2
00000000 i .idata$4
00000000 i .idata$5
00000000 I __head_libsoup_2_4_1_dll
         U _libsoup_2_4_1_dll_iname

d000007.o:
00000000 i .idata$4
00000000 i .idata$5
00000000 i .idata$6
00000000 i .idata$7
00000000 t .text
         U __head_libsoup_2_4_1_dll
00000000 I __imp__xmlRealloc
00000000 I __nm__xmlRealloc

d000006.o:
00000000 i .idata$4
00000000 i .idata$5
00000000 i .idata$6
00000000 i .idata$7
00000000 t .text
         U __head_libsoup_2_4_1_dll
00000000 I __imp__xmlMemStrdup
00000000 I __nm__xmlMemStrdup

d000005.o:
00000000 i .idata$4
00000000 i .idata$5
00000000 i .idata$6
00000000 i .idata$7
00000000 t .text
         U __head_libsoup_2_4_1_dll
00000000 I __imp__xmlMallocAtomic
00000000 I __nm__xmlMallocAtomic

d000004.o:
00000000 i .idata$4
00000000 i .idata$5
00000000 i .idata$6
00000000 i .idata$7
00000000 t .text
         U __head_libsoup_2_4_1_dll
00000000 I __imp__xmlMalloc
00000000 I __nm__xmlMalloc

d000003.o:
00000000 i .idata$4
00000000 i .idata$5
00000000 i .idata$6
00000000 i .idata$7
00000000 t .text
         U __head_libsoup_2_4_1_dll
00000000 I __imp__xmlFree
00000000 I __nm__xmlFree

d000002.o:
00000000 i .idata$4
00000000 i .idata$5
00000000 i .idata$6
00000000 i .idata$7
00000000 t .text
         U __head_libsoup_2_4_1_dll
00000000 I __imp__forbiddenExp
00000000 I __nm__forbiddenExp

d000001.o:
00000000 i .idata$4
00000000 i .idata$5
00000000 i .idata$6
00000000 i .idata$7
00000000 t .text
         U __head_libsoup_2_4_1_dll
00000000 I __imp__emptyExp
00000000 I __nm__emptyExp
LIBRARY libsoup-2.4-1.dll
EXPORTS
emptyExp DATA
forbiddenExp DATA
xmlFree DATA
xmlMalloc DATA
xmlMallocAtomic DATA
xmlMemStrdup DATA
xmlRealloc DATA


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