-------------------- ./configure --prefix=/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host --sysconfdir=/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/etc --localstatedir=/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/var --libdir=/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/lib --includedir=/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include --static Fri Oct 25 12:50:43 UTC 2024 ignored option: --sysconfdir ignored option: --localstatedir === ztest2427837.c === extern int getchar(); int hello() {return getchar();} === gcc -c ztest2427837.c ... using gcc Checking for obsessive-compulsive compiler options... === ztest2427837.c === int foo() { return 0; } === gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include -DPIC -fPIC ztest2427837.c Building static library libz.a version 1.2.13 with gcc. === ztest2427837.c === #include #include size_t dummy = 0; === gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include -DPIC -fPIC ztest2427837.c Checking for size_t... Yes. === ztest2427837.c === #include off64_t dummy = 0; === gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 ztest2427837.c Checking for off64_t... Yes. Checking for fseeko... Yes. === ztest2427837.c === #include #include int main() { return strlen(strerror(errno)); } === gcc -O2 -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 -o ztest2427837 ztest2427837.c Checking for strerror... Yes. === ztest2427837.c === #include int main() { return 0; } === gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 ztest2427837.c Checking for unistd.h... Yes. === ztest2427837.c === #include int main() { return 0; } === gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 ztest2427837.c Checking for stdarg.h... Yes. === ztest2427837.c === #include #include #include "zconf.h" int main() { #ifndef STDC choke me #endif return 0; } === gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 ztest2427837.c Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). === ztest2427837.c === #include #include int mytest(const char *fmt, ...) { char buf[20]; va_list ap; va_start(ap, fmt); vsnprintf(buf, sizeof(buf), fmt, ap); va_end(ap); return 0; } int main() { return (mytest("Hello%d\n", 1)); } === gcc -O2 -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 -o ztest2427837 ztest2427837.c Checking for vsnprintf() in stdio.h... Yes. === ztest2427837.c === #include #include int mytest(const char *fmt, ...) { int n; char buf[20]; va_list ap; va_start(ap, fmt); n = vsnprintf(buf, sizeof(buf), fmt, ap); va_end(ap); return n; } int main() { return (mytest("Hello%d\n", 1)); } === gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 ztest2427837.c Checking for return value of vsnprintf()... Yes. === ztest2427837.c === #define ZLIB_INTERNAL __attribute__((visibility ("hidden"))) int ZLIB_INTERNAL foo; int main() { return 0; } === gcc -c -O2 -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 ztest2427837.c Checking for attribute(visibility) support... Yes. ALL = static all64 AR = ar ARFLAGS = rc CC = gcc CFLAGS = -O2 -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN CPP = EXE = LDCONFIG = ldconfig LDFLAGS = -L/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/lib LDSHARED = gcc LDSHAREDLIBC = -lc OBJC = $(OBJZ) $(OBJG) PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG) RANLIB = ranlib SFLAGS = -O2 -I/home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include -DPIC -fPIC -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN SHAREDLIB = SHAREDLIBM = SHAREDLIBV = STATICLIB = libz.a TEST = all teststatic test64 VER = 1.2.13 SRCDIR = exec_prefix = ${prefix} includedir = /home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/include libdir = /home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host/lib mandir = ${prefix}/share/man prefix = /home/user/openwrt23.05.3-lime2024-Ramips/staging_dir/host sharedlibdir = ${libdir} uname = Linux --------------------