|
From: | Jay |
Subject: | [Bug-wget] build errors on Interix/sfu/sua (strcasecmp/_ALL_SOURCE) |
Date: | Tue, 16 Jun 2009 07:40:29 +0000 |
gcc -I. -I/src/wget-1.11.4/src -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/etc/wget rc\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -Wall -c /src/wget-1.11.4/src/ftp.c /src/wget-1.11.4/src/ftp.c: In function `ftp_expected_bytes': /src/wget-1.11.4/src/ftp.c:98: warning: implicit declaration of function `strnca secmp' /src/wget-1.11.4/src/ftp.c: In function `ftp_retrieve_list': /src/wget-1.11.4/src/ftp.c:1487: warning: implicit declaration of function `read link' /src/wget-1.11.4/src/ftp.c:1503: warning: implicit declaration of function `syml ink' /src/wget-1.11.4/src/ftp.c: In function `ftp_retrieve_glob': /src/wget-1.11.4/src/ftp.c:1756: error: `strcasecmp' undeclared (first use in th is function) /src/wget-1.11.4/src/ftp.c:1756: error: (Each undeclared identifier is reported only once /src/wget-1.11.4/src/ftp.c:1756: error: for each function it appears in.) make[1]: *** [ftp.o] Error 1 make[1]: Leaving directory `/dev/fs/C/obj/wget/src' make: *** [src] Error 2 $ pwd workaround CFLAGS=-D_ALL_SOURCE configure... => possible patch #define _ALL_SOURCE in ftp.c Ok, I didn't finish testing this but I believe it got much further, to wanting msgfmt or such, but I hadn't installed gettext yet. - Jay |
[Prev in Thread] | Current Thread | [Next in Thread] |