mirror of https://gitee.com/bigwinds/arangodb
1272 lines
44 KiB
Plaintext
1272 lines
44 KiB
Plaintext
--------------------
|
||
../configure --disable-shared
|
||
Sat Mar 23 14:01:46 CET 2013
|
||
../configure --help for help
|
||
--------------------
|
||
../configure
|
||
Sat Mar 23 14:01:58 CET 2013
|
||
|
||
Checking for gcc...
|
||
=== ztest4333.c ===
|
||
extern int getchar();
|
||
int hello() {return getchar();}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread ztest4333.c
|
||
ztest4333.c:1:1: warning: function declaration isn’t a prototype
|
||
ztest4333.c:2:5: warning: function declaration isn’t a prototype
|
||
... using gcc
|
||
|
||
Checking for shared library support...
|
||
=== ztest4333.c ===
|
||
extern int getchar();
|
||
int hello() {return getchar();}
|
||
===
|
||
gcc -w -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC ztest4333.c
|
||
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC -o ztest4333.so ztest4333.o
|
||
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot open linker script file zlib.map: No such file or directory
|
||
collect2: ld returned 1 exit status
|
||
(exit code 1)
|
||
No shared library support; try without defining CC and CFLAGS
|
||
Building static library libz.a version with gcc.
|
||
|
||
|
||
=== ztest4333.c ===
|
||
#include <sys/types.h>
|
||
off64_t dummy = 0;
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4333.c
|
||
Checking for off64_t... Yes.
|
||
Checking for fseeko... Yes.
|
||
|
||
=== ztest4333.c ===
|
||
#include <string.h>
|
||
#include <errno.h>
|
||
int main() { return strlen(strerror(errno)); }
|
||
===
|
||
gcc -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 -o ztest4333 ztest4333.c
|
||
ztest4333.c:3:5: warning: function declaration isn’t a prototype
|
||
Checking for strerror... Yes.
|
||
|
||
=== ztest4333.c ===
|
||
#include <unistd.h>
|
||
int main() { return 0; }
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4333.c
|
||
ztest4333.c:2:5: warning: function declaration isn’t a prototype
|
||
Checking for unistd.h... Yes.
|
||
|
||
=== ztest4333.c ===
|
||
#include <stdarg.h>
|
||
int main() { return 0; }
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4333.c
|
||
ztest4333.c:2:5: warning: function declaration isn’t a prototype
|
||
Checking for stdarg.h... Yes.
|
||
|
||
=== ztest4333.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
#include "zconf.h"
|
||
int main()
|
||
{
|
||
#ifndef STDC
|
||
choke me
|
||
#endif
|
||
return 0;
|
||
}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4333.c
|
||
ztest4333.c:4:5: warning: function declaration isn’t a prototype
|
||
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
||
|
||
=== ztest4333.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
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 -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 -o ztest4333 ztest4333.c
|
||
ztest4333.c:12:5: warning: function declaration isn’t a prototype
|
||
Checking for vsnprintf() in stdio.h... Yes.
|
||
|
||
=== ztest4333.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
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 -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4333.c
|
||
ztest4333.c:13:5: warning: function declaration isn’t a prototype
|
||
Checking for return value of vsnprintf()... Yes.
|
||
|
||
=== ztest4333.c ===
|
||
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
||
int ZLIB_INTERNAL foo;
|
||
int main()
|
||
{
|
||
return 0;
|
||
}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4333.c
|
||
ztest4333.c:3:5: warning: function declaration isn’t a prototypeChecking for attribute(visibility) support... No.
|
||
|
||
=== ztest4333.c ===
|
||
#include <stdio.h>
|
||
#define is32(n,t) for(n=1,k=0;n;n<<=1,k++);if(k==32){puts(t);return 0;}
|
||
int main() {
|
||
int k;
|
||
unsigned i;
|
||
unsigned long l;
|
||
unsigned short s;
|
||
is32(i, "unsigned")
|
||
is32(l, "unsigned long")
|
||
is32(s, "unsigned short")
|
||
return 1;
|
||
}
|
||
===
|
||
gcc -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4333.c -o ztest4333
|
||
ztest4333.c:3:5: warning: function declaration isn’t a prototype
|
||
Looking for a four-byte integer type... Found.
|
||
|
||
ALL = static all64
|
||
AR = ar
|
||
ARFLAGS = rc
|
||
CC = gcc
|
||
CFLAGS = -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1
|
||
CPP = gcc -E
|
||
EXE =
|
||
LDCONFIG = ldconfig
|
||
LDFLAGS =
|
||
LDSHARED = gcc
|
||
LDSHAREDLIBC = -lc
|
||
OBJC = $(OBJZ) $(OBJG)
|
||
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
||
RANLIB = ranlib
|
||
SFLAGS = -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC -D_LARGEFILE64_SOURCE=1
|
||
SHAREDLIB =
|
||
SHAREDLIBM =
|
||
SHAREDLIBV =
|
||
STATICLIB = libz.a
|
||
TEST = all teststatic test64
|
||
VER =
|
||
Z_U4 = unsigned
|
||
exec_prefix = ${prefix}
|
||
includedir = ${prefix}/include
|
||
libdir = ${exec_prefix}/lib
|
||
mandir = ${prefix}/share/man
|
||
prefix = /usr/local
|
||
sharedlibdir = ${libdir}
|
||
uname = Linux
|
||
--------------------
|
||
|
||
|
||
--------------------
|
||
../configure
|
||
Sat Mar 23 14:02:32 CET 2013
|
||
|
||
Checking for gcc...
|
||
=== ztest4504.c ===
|
||
extern int getchar();
|
||
int hello() {return getchar();}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread ztest4504.c
|
||
ztest4504.c:1:1: warning: function declaration isn’t a prototype
|
||
ztest4504.c:2:5: warning: function declaration isn’t a prototype
|
||
... using gcc
|
||
|
||
Checking for shared library support...
|
||
=== ztest4504.c ===
|
||
extern int getchar();
|
||
int hello() {return getchar();}
|
||
===
|
||
gcc -w -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC ztest4504.c
|
||
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC -o ztest4504.so ztest4504.o
|
||
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot open linker script file zlib.map: No such file or directory
|
||
collect2: ld returned 1 exit status
|
||
(exit code 1)
|
||
No shared library support; try without defining CC and CFLAGS
|
||
Building static library libz.a version with gcc.
|
||
|
||
|
||
=== ztest4504.c ===
|
||
#include <sys/types.h>
|
||
off64_t dummy = 0;
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4504.c
|
||
Checking for off64_t... Yes.
|
||
Checking for fseeko... Yes.
|
||
|
||
=== ztest4504.c ===
|
||
#include <string.h>
|
||
#include <errno.h>
|
||
int main() { return strlen(strerror(errno)); }
|
||
===
|
||
gcc -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 -o ztest4504 ztest4504.c
|
||
ztest4504.c:3:5: warning: function declaration isn’t a prototype
|
||
Checking for strerror... Yes.
|
||
|
||
=== ztest4504.c ===
|
||
#include <unistd.h>
|
||
int main() { return 0; }
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4504.c
|
||
ztest4504.c:2:5: warning: function declaration isn’t a prototype
|
||
Checking for unistd.h... Yes.
|
||
|
||
=== ztest4504.c ===
|
||
#include <stdarg.h>
|
||
int main() { return 0; }
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4504.c
|
||
ztest4504.c:2:5: warning: function declaration isn’t a prototype
|
||
Checking for stdarg.h... Yes.
|
||
|
||
=== ztest4504.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
#include "zconf.h"
|
||
int main()
|
||
{
|
||
#ifndef STDC
|
||
choke me
|
||
#endif
|
||
return 0;
|
||
}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4504.c
|
||
ztest4504.c:4:5: warning: function declaration isn’t a prototype
|
||
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
||
|
||
=== ztest4504.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
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 -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 -o ztest4504 ztest4504.c
|
||
ztest4504.c:12:5: warning: function declaration isn’t a prototype
|
||
Checking for vsnprintf() in stdio.h... Yes.
|
||
|
||
=== ztest4504.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
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 -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4504.c
|
||
ztest4504.c:13:5: warning: function declaration isn’t a prototype
|
||
Checking for return value of vsnprintf()... Yes.
|
||
|
||
=== ztest4504.c ===
|
||
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
||
int ZLIB_INTERNAL foo;
|
||
int main()
|
||
{
|
||
return 0;
|
||
}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4504.c
|
||
ztest4504.c:3:5: warning: function declaration isn’t a prototypeChecking for attribute(visibility) support... No.
|
||
|
||
=== ztest4504.c ===
|
||
#include <stdio.h>
|
||
#define is32(n,t) for(n=1,k=0;n;n<<=1,k++);if(k==32){puts(t);return 0;}
|
||
int main() {
|
||
int k;
|
||
unsigned i;
|
||
unsigned long l;
|
||
unsigned short s;
|
||
is32(i, "unsigned")
|
||
is32(l, "unsigned long")
|
||
is32(s, "unsigned short")
|
||
return 1;
|
||
}
|
||
===
|
||
gcc -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4504.c -o ztest4504
|
||
ztest4504.c:3:5: warning: function declaration isn’t a prototype
|
||
Looking for a four-byte integer type... Found.
|
||
|
||
ALL = static all64
|
||
AR = ar
|
||
ARFLAGS = rc
|
||
CC = gcc
|
||
CFLAGS = -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1
|
||
CPP = gcc -E
|
||
EXE =
|
||
LDCONFIG = ldconfig
|
||
LDFLAGS =
|
||
LDSHARED = gcc
|
||
LDSHAREDLIBC = -lc
|
||
OBJC = $(OBJZ) $(OBJG)
|
||
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
||
RANLIB = ranlib
|
||
SFLAGS = -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC -D_LARGEFILE64_SOURCE=1
|
||
SHAREDLIB =
|
||
SHAREDLIBM =
|
||
SHAREDLIBV =
|
||
STATICLIB = libz.a
|
||
TEST = all teststatic test64
|
||
VER =
|
||
Z_U4 = unsigned
|
||
exec_prefix = ${prefix}
|
||
includedir = ${prefix}/include
|
||
libdir = ${exec_prefix}/lib
|
||
mandir = ${prefix}/share/man
|
||
prefix = /usr/local
|
||
sharedlibdir = ${libdir}
|
||
uname = Linux
|
||
--------------------
|
||
|
||
|
||
--------------------
|
||
../configure
|
||
Sat Mar 23 14:02:57 CET 2013
|
||
|
||
Checking for gcc...
|
||
=== ztest4672.c ===
|
||
extern int getchar();
|
||
int hello() {return getchar();}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread ztest4672.c
|
||
ztest4672.c:1:1: warning: function declaration isn’t a prototype
|
||
ztest4672.c:2:5: warning: function declaration isn’t a prototype
|
||
... using gcc
|
||
|
||
Checking for shared library support...
|
||
=== ztest4672.c ===
|
||
extern int getchar();
|
||
int hello() {return getchar();}
|
||
===
|
||
gcc -w -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC ztest4672.c
|
||
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC -o ztest4672.so ztest4672.o
|
||
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot open linker script file zlib.map: No such file or directory
|
||
collect2: ld returned 1 exit status
|
||
(exit code 1)
|
||
No shared library support; try without defining CC and CFLAGS
|
||
Building static library libz.a version with gcc.
|
||
|
||
|
||
=== ztest4672.c ===
|
||
#include <sys/types.h>
|
||
off64_t dummy = 0;
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4672.c
|
||
Checking for off64_t... Yes.
|
||
Checking for fseeko... Yes.
|
||
|
||
=== ztest4672.c ===
|
||
#include <string.h>
|
||
#include <errno.h>
|
||
int main() { return strlen(strerror(errno)); }
|
||
===
|
||
gcc -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 -o ztest4672 ztest4672.c
|
||
ztest4672.c:3:5: warning: function declaration isn’t a prototype
|
||
Checking for strerror... Yes.
|
||
|
||
=== ztest4672.c ===
|
||
#include <unistd.h>
|
||
int main() { return 0; }
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4672.c
|
||
ztest4672.c:2:5: warning: function declaration isn’t a prototype
|
||
Checking for unistd.h... Yes.
|
||
|
||
=== ztest4672.c ===
|
||
#include <stdarg.h>
|
||
int main() { return 0; }
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4672.c
|
||
ztest4672.c:2:5: warning: function declaration isn’t a prototype
|
||
Checking for stdarg.h... Yes.
|
||
|
||
=== ztest4672.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
#include "zconf.h"
|
||
int main()
|
||
{
|
||
#ifndef STDC
|
||
choke me
|
||
#endif
|
||
return 0;
|
||
}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4672.c
|
||
ztest4672.c:4:5: warning: function declaration isn’t a prototype
|
||
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
||
|
||
=== ztest4672.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
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 -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 -o ztest4672 ztest4672.c
|
||
ztest4672.c:12:5: warning: function declaration isn’t a prototype
|
||
Checking for vsnprintf() in stdio.h... Yes.
|
||
|
||
=== ztest4672.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
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 -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4672.c
|
||
ztest4672.c:13:5: warning: function declaration isn’t a prototype
|
||
Checking for return value of vsnprintf()... Yes.
|
||
|
||
=== ztest4672.c ===
|
||
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
||
int ZLIB_INTERNAL foo;
|
||
int main()
|
||
{
|
||
return 0;
|
||
}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4672.c
|
||
ztest4672.c:3:5: warning: function declaration isn’t a prototypeChecking for attribute(visibility) support... No.
|
||
|
||
=== ztest4672.c ===
|
||
#include <stdio.h>
|
||
#define is32(n,t) for(n=1,k=0;n;n<<=1,k++);if(k==32){puts(t);return 0;}
|
||
int main() {
|
||
int k;
|
||
unsigned i;
|
||
unsigned long l;
|
||
unsigned short s;
|
||
is32(i, "unsigned")
|
||
is32(l, "unsigned long")
|
||
is32(s, "unsigned short")
|
||
return 1;
|
||
}
|
||
===
|
||
gcc -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest4672.c -o ztest4672
|
||
ztest4672.c:3:5: warning: function declaration isn’t a prototype
|
||
Looking for a four-byte integer type... Found.
|
||
|
||
ALL = static all64
|
||
AR = ar
|
||
ARFLAGS = rc
|
||
CC = gcc
|
||
CFLAGS = -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1
|
||
CPP = gcc -E
|
||
EXE =
|
||
LDCONFIG = ldconfig
|
||
LDFLAGS =
|
||
LDSHARED = gcc
|
||
LDSHAREDLIBC = -lc
|
||
OBJC = $(OBJZ) $(OBJG)
|
||
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
||
RANLIB = ranlib
|
||
SFLAGS = -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC -D_LARGEFILE64_SOURCE=1
|
||
SHAREDLIB =
|
||
SHAREDLIBM =
|
||
SHAREDLIBV =
|
||
STATICLIB = libz.a
|
||
TEST = all teststatic test64
|
||
VER =
|
||
Z_U4 = unsigned
|
||
exec_prefix = ${prefix}
|
||
includedir = ${prefix}/include
|
||
libdir = ${exec_prefix}/lib
|
||
mandir = ${prefix}/share/man
|
||
prefix = /usr/local
|
||
sharedlibdir = ${libdir}
|
||
uname = Linux
|
||
--------------------
|
||
|
||
|
||
--------------------
|
||
../configure
|
||
Sat Mar 23 14:03:44 CET 2013
|
||
|
||
Checking for gcc...
|
||
=== ztest5024.c ===
|
||
extern int getchar();
|
||
int hello() {return getchar();}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread ztest5024.c
|
||
ztest5024.c:1:1: warning: function declaration isn’t a prototype
|
||
ztest5024.c:2:5: warning: function declaration isn’t a prototype
|
||
... using gcc
|
||
|
||
Checking for shared library support...
|
||
=== ztest5024.c ===
|
||
extern int getchar();
|
||
int hello() {return getchar();}
|
||
===
|
||
gcc -w -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC ztest5024.c
|
||
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC -o ztest5024.so ztest5024.o
|
||
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot open linker script file zlib.map: No such file or directory
|
||
collect2: ld returned 1 exit status
|
||
(exit code 1)
|
||
No shared library support; try without defining CC and CFLAGS
|
||
Building static library libz.a version with gcc.
|
||
|
||
|
||
=== ztest5024.c ===
|
||
#include <sys/types.h>
|
||
off64_t dummy = 0;
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest5024.c
|
||
Checking for off64_t... Yes.
|
||
Checking for fseeko... Yes.
|
||
|
||
=== ztest5024.c ===
|
||
#include <string.h>
|
||
#include <errno.h>
|
||
int main() { return strlen(strerror(errno)); }
|
||
===
|
||
gcc -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 -o ztest5024 ztest5024.c
|
||
ztest5024.c:3:5: warning: function declaration isn’t a prototype
|
||
Checking for strerror... Yes.
|
||
|
||
=== ztest5024.c ===
|
||
#include <unistd.h>
|
||
int main() { return 0; }
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest5024.c
|
||
ztest5024.c:2:5: warning: function declaration isn’t a prototype
|
||
Checking for unistd.h... Yes.
|
||
|
||
=== ztest5024.c ===
|
||
#include <stdarg.h>
|
||
int main() { return 0; }
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest5024.c
|
||
ztest5024.c:2:5: warning: function declaration isn’t a prototype
|
||
Checking for stdarg.h... Yes.
|
||
|
||
=== ztest5024.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
#include "zconf.h"
|
||
int main()
|
||
{
|
||
#ifndef STDC
|
||
choke me
|
||
#endif
|
||
return 0;
|
||
}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest5024.c
|
||
ztest5024.c:4:5: warning: function declaration isn’t a prototype
|
||
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
||
|
||
=== ztest5024.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
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 -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 -o ztest5024 ztest5024.c
|
||
ztest5024.c:12:5: warning: function declaration isn’t a prototype
|
||
Checking for vsnprintf() in stdio.h... Yes.
|
||
|
||
=== ztest5024.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
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 -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest5024.c
|
||
ztest5024.c:13:5: warning: function declaration isn’t a prototype
|
||
Checking for return value of vsnprintf()... Yes.
|
||
|
||
=== ztest5024.c ===
|
||
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
||
int ZLIB_INTERNAL foo;
|
||
int main()
|
||
{
|
||
return 0;
|
||
}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest5024.c
|
||
ztest5024.c:3:5: warning: function declaration isn’t a prototypeChecking for attribute(visibility) support... No.
|
||
|
||
=== ztest5024.c ===
|
||
#include <stdio.h>
|
||
#define is32(n,t) for(n=1,k=0;n;n<<=1,k++);if(k==32){puts(t);return 0;}
|
||
int main() {
|
||
int k;
|
||
unsigned i;
|
||
unsigned long l;
|
||
unsigned short s;
|
||
is32(i, "unsigned")
|
||
is32(l, "unsigned long")
|
||
is32(s, "unsigned short")
|
||
return 1;
|
||
}
|
||
===
|
||
gcc -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest5024.c -o ztest5024
|
||
ztest5024.c:3:5: warning: function declaration isn’t a prototype
|
||
Looking for a four-byte integer type... Found.
|
||
|
||
ALL = static all64
|
||
AR = ar
|
||
ARFLAGS = rc
|
||
CC = gcc
|
||
CFLAGS = -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1
|
||
CPP = gcc -E
|
||
EXE =
|
||
LDCONFIG = ldconfig
|
||
LDFLAGS =
|
||
LDSHARED = gcc
|
||
LDSHAREDLIBC = -lc
|
||
OBJC = $(OBJZ) $(OBJG)
|
||
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
||
RANLIB = ranlib
|
||
SFLAGS = -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC -D_LARGEFILE64_SOURCE=1
|
||
SHAREDLIB =
|
||
SHAREDLIBM =
|
||
SHAREDLIBV =
|
||
STATICLIB = libz.a
|
||
TEST = all teststatic test64
|
||
VER =
|
||
Z_U4 = unsigned
|
||
exec_prefix = ${prefix}
|
||
includedir = ${prefix}/include
|
||
libdir = ${exec_prefix}/lib
|
||
mandir = ${prefix}/share/man
|
||
prefix = /usr/local
|
||
sharedlibdir = ${libdir}
|
||
uname = Linux
|
||
--------------------
|
||
|
||
|
||
--------------------
|
||
../configure
|
||
Sat Mar 23 14:07:33 CET 2013
|
||
|
||
Checking for gcc...
|
||
=== ztest5525.c ===
|
||
extern int getchar();
|
||
int hello() {return getchar();}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread ztest5525.c
|
||
ztest5525.c:1:1: warning: function declaration isn’t a prototype
|
||
ztest5525.c:2:5: warning: function declaration isn’t a prototype
|
||
... using gcc
|
||
|
||
Checking for shared library support...
|
||
=== ztest5525.c ===
|
||
extern int getchar();
|
||
int hello() {return getchar();}
|
||
===
|
||
gcc -w -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC ztest5525.c
|
||
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC -o ztest5525.so ztest5525.o
|
||
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot open linker script file zlib.map: No such file or directory
|
||
collect2: ld returned 1 exit status
|
||
(exit code 1)
|
||
No shared library support; try without defining CC and CFLAGS
|
||
Building static library libz.a version with gcc.
|
||
|
||
|
||
=== ztest5525.c ===
|
||
#include <sys/types.h>
|
||
off64_t dummy = 0;
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest5525.c
|
||
Checking for off64_t... Yes.
|
||
Checking for fseeko... Yes.
|
||
|
||
=== ztest5525.c ===
|
||
#include <string.h>
|
||
#include <errno.h>
|
||
int main() { return strlen(strerror(errno)); }
|
||
===
|
||
gcc -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 -o ztest5525 ztest5525.c
|
||
ztest5525.c:3:5: warning: function declaration isn’t a prototype
|
||
Checking for strerror... Yes.
|
||
|
||
=== ztest5525.c ===
|
||
#include <unistd.h>
|
||
int main() { return 0; }
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest5525.c
|
||
ztest5525.c:2:5: warning: function declaration isn’t a prototype
|
||
Checking for unistd.h... Yes.
|
||
|
||
=== ztest5525.c ===
|
||
#include <stdarg.h>
|
||
int main() { return 0; }
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest5525.c
|
||
ztest5525.c:2:5: warning: function declaration isn’t a prototype
|
||
Checking for stdarg.h... Yes.
|
||
|
||
=== ztest5525.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
#include "zconf.h"
|
||
int main()
|
||
{
|
||
#ifndef STDC
|
||
choke me
|
||
#endif
|
||
return 0;
|
||
}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest5525.c
|
||
ztest5525.c:4:5: warning: function declaration isn’t a prototype
|
||
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
||
|
||
=== ztest5525.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
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 -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 -o ztest5525 ztest5525.c
|
||
ztest5525.c:12:5: warning: function declaration isn’t a prototype
|
||
Checking for vsnprintf() in stdio.h... Yes.
|
||
|
||
=== ztest5525.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
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 -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest5525.c
|
||
ztest5525.c:13:5: warning: function declaration isn’t a prototype
|
||
Checking for return value of vsnprintf()... Yes.
|
||
|
||
=== ztest5525.c ===
|
||
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
||
int ZLIB_INTERNAL foo;
|
||
int main()
|
||
{
|
||
return 0;
|
||
}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest5525.c
|
||
ztest5525.c:3:5: warning: function declaration isn’t a prototypeChecking for attribute(visibility) support... No.
|
||
|
||
=== ztest5525.c ===
|
||
#include <stdio.h>
|
||
#define is32(n,t) for(n=1,k=0;n;n<<=1,k++);if(k==32){puts(t);return 0;}
|
||
int main() {
|
||
int k;
|
||
unsigned i;
|
||
unsigned long l;
|
||
unsigned short s;
|
||
is32(i, "unsigned")
|
||
is32(l, "unsigned long")
|
||
is32(s, "unsigned short")
|
||
return 1;
|
||
}
|
||
===
|
||
gcc -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest5525.c -o ztest5525
|
||
ztest5525.c:3:5: warning: function declaration isn’t a prototype
|
||
Looking for a four-byte integer type... Found.
|
||
|
||
ALL = static all64
|
||
AR = ar
|
||
ARFLAGS = rc
|
||
CC = gcc
|
||
CFLAGS = -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1
|
||
CPP = gcc -E
|
||
EXE =
|
||
LDCONFIG = ldconfig
|
||
LDFLAGS =
|
||
LDSHARED = gcc
|
||
LDSHAREDLIBC = -lc
|
||
OBJC = $(OBJZ) $(OBJG)
|
||
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
||
RANLIB = ranlib
|
||
SFLAGS = -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC -D_LARGEFILE64_SOURCE=1
|
||
SHAREDLIB =
|
||
SHAREDLIBM =
|
||
SHAREDLIBV =
|
||
STATICLIB = libz.a
|
||
TEST = all teststatic test64
|
||
VER =
|
||
Z_U4 = unsigned
|
||
exec_prefix = ${prefix}
|
||
includedir = ${prefix}/include
|
||
libdir = ${exec_prefix}/lib
|
||
mandir = ${prefix}/share/man
|
||
prefix = /usr/local
|
||
sharedlibdir = ${libdir}
|
||
uname = Linux
|
||
--------------------
|
||
|
||
|
||
--------------------
|
||
../configure
|
||
Sat Mar 23 14:07:47 CET 2013
|
||
|
||
Checking for gcc...
|
||
=== ztest6010.c ===
|
||
extern int getchar();
|
||
int hello() {return getchar();}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread ztest6010.c
|
||
ztest6010.c:1:1: warning: function declaration isn’t a prototype
|
||
ztest6010.c:2:5: warning: function declaration isn’t a prototype
|
||
... using gcc
|
||
|
||
Checking for shared library support...
|
||
=== ztest6010.c ===
|
||
extern int getchar();
|
||
int hello() {return getchar();}
|
||
===
|
||
gcc -w -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC ztest6010.c
|
||
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC -o ztest6010.so ztest6010.o
|
||
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot open linker script file zlib.map: No such file or directory
|
||
collect2: ld returned 1 exit status
|
||
(exit code 1)
|
||
No shared library support; try without defining CC and CFLAGS
|
||
Building static library libz.a version with gcc.
|
||
|
||
|
||
=== ztest6010.c ===
|
||
#include <sys/types.h>
|
||
off64_t dummy = 0;
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest6010.c
|
||
Checking for off64_t... Yes.
|
||
Checking for fseeko... Yes.
|
||
|
||
=== ztest6010.c ===
|
||
#include <string.h>
|
||
#include <errno.h>
|
||
int main() { return strlen(strerror(errno)); }
|
||
===
|
||
gcc -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 -o ztest6010 ztest6010.c
|
||
ztest6010.c:3:5: warning: function declaration isn’t a prototype
|
||
Checking for strerror... Yes.
|
||
|
||
=== ztest6010.c ===
|
||
#include <unistd.h>
|
||
int main() { return 0; }
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest6010.c
|
||
ztest6010.c:2:5: warning: function declaration isn’t a prototype
|
||
Checking for unistd.h... Yes.
|
||
|
||
=== ztest6010.c ===
|
||
#include <stdarg.h>
|
||
int main() { return 0; }
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest6010.c
|
||
ztest6010.c:2:5: warning: function declaration isn’t a prototype
|
||
Checking for stdarg.h... Yes.
|
||
|
||
=== ztest6010.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
#include "zconf.h"
|
||
int main()
|
||
{
|
||
#ifndef STDC
|
||
choke me
|
||
#endif
|
||
return 0;
|
||
}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest6010.c
|
||
ztest6010.c:4:5: warning: function declaration isn’t a prototype
|
||
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
||
|
||
=== ztest6010.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
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 -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 -o ztest6010 ztest6010.c
|
||
ztest6010.c:12:5: warning: function declaration isn’t a prototype
|
||
Checking for vsnprintf() in stdio.h... Yes.
|
||
|
||
=== ztest6010.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
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 -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest6010.c
|
||
ztest6010.c:13:5: warning: function declaration isn’t a prototype
|
||
Checking for return value of vsnprintf()... Yes.
|
||
|
||
=== ztest6010.c ===
|
||
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
||
int ZLIB_INTERNAL foo;
|
||
int main()
|
||
{
|
||
return 0;
|
||
}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest6010.c
|
||
ztest6010.c:3:5: warning: function declaration isn’t a prototypeChecking for attribute(visibility) support... No.
|
||
|
||
=== ztest6010.c ===
|
||
#include <stdio.h>
|
||
#define is32(n,t) for(n=1,k=0;n;n<<=1,k++);if(k==32){puts(t);return 0;}
|
||
int main() {
|
||
int k;
|
||
unsigned i;
|
||
unsigned long l;
|
||
unsigned short s;
|
||
is32(i, "unsigned")
|
||
is32(l, "unsigned long")
|
||
is32(s, "unsigned short")
|
||
return 1;
|
||
}
|
||
===
|
||
gcc -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest6010.c -o ztest6010
|
||
ztest6010.c:3:5: warning: function declaration isn’t a prototype
|
||
Looking for a four-byte integer type... Found.
|
||
|
||
ALL = static all64
|
||
AR = ar
|
||
ARFLAGS = rc
|
||
CC = gcc
|
||
CFLAGS = -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1
|
||
CPP = gcc -E
|
||
EXE =
|
||
LDCONFIG = ldconfig
|
||
LDFLAGS =
|
||
LDSHARED = gcc
|
||
LDSHAREDLIBC = -lc
|
||
OBJC = $(OBJZ) $(OBJG)
|
||
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
||
RANLIB = ranlib
|
||
SFLAGS = -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC -D_LARGEFILE64_SOURCE=1
|
||
SHAREDLIB =
|
||
SHAREDLIBM =
|
||
SHAREDLIBV =
|
||
STATICLIB = libz.a
|
||
TEST = all teststatic test64
|
||
VER =
|
||
Z_U4 = unsigned
|
||
exec_prefix = ${prefix}
|
||
includedir = ${prefix}/include
|
||
libdir = ${exec_prefix}/lib
|
||
mandir = ${prefix}/share/man
|
||
prefix = /usr/local
|
||
sharedlibdir = ${libdir}
|
||
uname = Linux
|
||
--------------------
|
||
|
||
|
||
--------------------
|
||
../configure
|
||
Sat Mar 23 14:07:52 CET 2013
|
||
|
||
Checking for gcc...
|
||
=== ztest6177.c ===
|
||
extern int getchar();
|
||
int hello() {return getchar();}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread ztest6177.c
|
||
ztest6177.c:1:1: warning: function declaration isn’t a prototype
|
||
ztest6177.c:2:5: warning: function declaration isn’t a prototype
|
||
... using gcc
|
||
|
||
Checking for shared library support...
|
||
=== ztest6177.c ===
|
||
extern int getchar();
|
||
int hello() {return getchar();}
|
||
===
|
||
gcc -w -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC ztest6177.c
|
||
gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC -o ztest6177.so ztest6177.o
|
||
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot open linker script file zlib.map: No such file or directory
|
||
collect2: ld returned 1 exit status
|
||
(exit code 1)
|
||
No shared library support; try without defining CC and CFLAGS
|
||
Building static library libz.a version with gcc.
|
||
|
||
|
||
=== ztest6177.c ===
|
||
#include <sys/types.h>
|
||
off64_t dummy = 0;
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest6177.c
|
||
Checking for off64_t... Yes.
|
||
Checking for fseeko... Yes.
|
||
|
||
=== ztest6177.c ===
|
||
#include <string.h>
|
||
#include <errno.h>
|
||
int main() { return strlen(strerror(errno)); }
|
||
===
|
||
gcc -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 -o ztest6177 ztest6177.c
|
||
ztest6177.c:3:5: warning: function declaration isn’t a prototype
|
||
Checking for strerror... Yes.
|
||
|
||
=== ztest6177.c ===
|
||
#include <unistd.h>
|
||
int main() { return 0; }
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest6177.c
|
||
ztest6177.c:2:5: warning: function declaration isn’t a prototype
|
||
Checking for unistd.h... Yes.
|
||
|
||
=== ztest6177.c ===
|
||
#include <stdarg.h>
|
||
int main() { return 0; }
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest6177.c
|
||
ztest6177.c:2:5: warning: function declaration isn’t a prototype
|
||
Checking for stdarg.h... Yes.
|
||
|
||
=== ztest6177.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
#include "zconf.h"
|
||
int main()
|
||
{
|
||
#ifndef STDC
|
||
choke me
|
||
#endif
|
||
return 0;
|
||
}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest6177.c
|
||
ztest6177.c:4:5: warning: function declaration isn’t a prototype
|
||
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
|
||
|
||
=== ztest6177.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
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 -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 -o ztest6177 ztest6177.c
|
||
ztest6177.c:12:5: warning: function declaration isn’t a prototype
|
||
Checking for vsnprintf() in stdio.h... Yes.
|
||
|
||
=== ztest6177.c ===
|
||
#include <stdio.h>
|
||
#include <stdarg.h>
|
||
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 -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest6177.c
|
||
ztest6177.c:13:5: warning: function declaration isn’t a prototype
|
||
Checking for return value of vsnprintf()... Yes.
|
||
|
||
=== ztest6177.c ===
|
||
#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
||
int ZLIB_INTERNAL foo;
|
||
int main()
|
||
{
|
||
return 0;
|
||
}
|
||
===
|
||
gcc -c -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest6177.c
|
||
ztest6177.c:3:5: warning: function declaration isn’t a prototypeChecking for attribute(visibility) support... No.
|
||
|
||
=== ztest6177.c ===
|
||
#include <stdio.h>
|
||
#define is32(n,t) for(n=1,k=0;n;n<<=1,k++);if(k==32){puts(t);return 0;}
|
||
int main() {
|
||
int k;
|
||
unsigned i;
|
||
unsigned long l;
|
||
unsigned short s;
|
||
is32(i, "unsigned")
|
||
is32(l, "unsigned long")
|
||
is32(s, "unsigned short")
|
||
return 1;
|
||
}
|
||
===
|
||
gcc -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1 ztest6177.c -o ztest6177
|
||
ztest6177.c:3:5: warning: function declaration isn’t a prototype
|
||
Looking for a four-byte integer type... Found.
|
||
|
||
ALL = static all64
|
||
AR = ar
|
||
ARFLAGS = rc
|
||
CC = gcc
|
||
CFLAGS = -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -D_LARGEFILE64_SOURCE=1
|
||
CPP = gcc -E
|
||
EXE =
|
||
LDCONFIG = ldconfig
|
||
LDFLAGS =
|
||
LDSHARED = gcc
|
||
LDSHAREDLIBC = -lc
|
||
OBJC = $(OBJZ) $(OBJG)
|
||
PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
|
||
RANLIB = ranlib
|
||
SFLAGS = -std=gnu90 -O2 -g -DTRI_BITS=64 -Wall -Winit-self -Wno-long-long -Wno-variadic-macros -Wshadow -Wstrict-prototypes -Wdeclaration-after-statement -pthread -fPIC -D_LARGEFILE64_SOURCE=1
|
||
SHAREDLIB =
|
||
SHAREDLIBM =
|
||
SHAREDLIBV =
|
||
STATICLIB = libz.a
|
||
TEST = all teststatic test64
|
||
VER =
|
||
Z_U4 = unsigned
|
||
exec_prefix = ${prefix}
|
||
includedir = ${prefix}/include
|
||
libdir = ${exec_prefix}/lib
|
||
mandir = ${prefix}/share/man
|
||
prefix = /usr/local
|
||
sharedlibdir = ${libdir}
|
||
uname = Linux
|
||
--------------------
|
||
|
||
|