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
From c87281dbb67dc3d8b7a8a9d42c64d68a4c9be395 Mon Sep 17 00:00:00 2001
From: Fabian Keil <[email protected]>
Date: Thu, 8 Nov 2012 16:36:55 +0100
Subject: [PATCH] Fix compilation of lib1501

---
 tests/libtest/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/libtest/Makefile.inc b/tests/libtest/Makefile.inc
index e0ebcb4..3cbc45a 100644
--- a/tests/libtest/Makefile.inc
+++ b/tests/libtest/Makefile.inc
@@ -189,7 +189,7 @@ lib599_SOURCES = lib599.c $(SUPPORTFILES)
 
 lib1500_SOURCES = lib1500.c $(SUPPORTFILES) $(TESTUTIL)
 
-lib1501_SOURCES = lib1501.c $(SUPPORTFILES) $(TESTUTIL)
+lib1501_SOURCES = lib1501.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS)
 
 libauthretry_SOURCES = libauthretry.c $(SUPPORTFILES)
 
-- 
1.8.0

Attachment: signature.asc
Description: PGP signature

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to