curl-library
[PATCH] Fix compilation of lib1501
Date: Thu, 8 Nov 2012 16:41:57 +0100
Without the attached patch, "make test" fails for me with:
/bin/sh ../../libtool --tag=CC --mode=link gcc -g0 -O2 -Wno-system-headers -L/usr/local/lib -o lib1501 lib1501.o first.o testutil.o ../../lib/libcurl.la -lz
libtool: link: gcc -g0 -O2 -Wno-system-headers -o .libs/lib1501 lib1501.o first.o testutil.o -L/usr/local/lib ../../lib/.libs/libcurl.so /usr/local/lib/libidn.so /usr/local/lib/libiconv.so -lssl -lcrypto -lz -Wl,-rpath -Wl,/usr/local/lib
lib1501.o: In function `test':
lib1501.c:(.text+0x3b2): undefined reference to `curlx_sztosi'
*** [lib1501] Error code 1
Stop in /home/fk/git/curl/tests/libtest.
*** [all-recursive] Error code 1
Stop in /home/fk/git/curl/tests.
*** [test] Error code 1
Stop in /home/fk/git/curl.
Fabian
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- text/x-patch attachment: 0001-Fix-compilation-of-lib1501.patch
- application/pgp-signature attachment: signature.asc