cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] Fix compilation of lib1501

From: Fabian Keil <freebsd-listen_at_fabiankeil.de>
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

Received on 2012-11-08