Per Jessen wrote: > George Woltman wrote: > >> I went to build the 25.11 executables with libcurl staticly linked in >> using -Wl,-Bstatic -lcurl. >> Debian linux 64-bit - no problems. FreeBSD - no problems. Debian >> linux 32-bit - no luck. >> >> I can dynamic link just fine. 64-bit Linux uses libcurl 7.15 >> package. 32-bit linux uses libcurl 7.18. >> I tried downloading the latest libcurl sources (7.19) and things got >> even worse. I tried configuring >> without ssl, ssh2, etc. No luck - I'm not much of a linux expert. > > I tried building on an openSUSE 11.0 32bit system - compiled fine, but > failed to link. AFAICT, it's missing libcurl.a which doesn't appear > to be part of the regular libcurl4 package(s). > > I'll try with the curl 7.19 source and see how far I get. >
I got a libcurl.a built, but linking with it appears to drag all sorts of other stuff along - ldap, ssl etc. I then configured libcurl with this: ./configure --disable-ldap --without-libssh2 --without-ssl --without-krb4 --enable-static --disable-shared --without-zlib and when I try to link mprime again, I get this: OUTPUT(mprime elf32-i386) /usr/lib/gcc/i586-suse-linux/4.3/../../../libcurl.a(timeval.o): In function `curlx_tvnow': timeval.c:(.text+0x89): undefined reference to `clock_gettime' collect2: ld returned 1 exit status /Per Jessen, Zürich _______________________________________________ Prime mailing list [email protected] http://hogranch.com/mailman/listinfo/prime
