Subject: compatibility warnings while building shared libc
To: None <current-users@netbsd.org>
From: Erik Bertelsen <erik@mediator.uni-c.dk>
List: current-users
Date: 01/08/1999 20:26:10
Hello all,

is the following "normal" while building libc on today's current:

cc -O2 -DALL_STATE  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror   -D_LIBC -DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/home/src/lib/libc/include -D__DBINTERFACE_PRIVATE -DRESOLVSORT -DPOSIX_MISTAKE -DFLOATING_POINT -c /home/src/lib/libc/stdio/freopen.c
building standard c library
ranlib libc.a
cc -O2 -DALL_STATE  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror   -D_LIBC -DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/home/src/lib/libc/include -D__DBINTERFACE_PRIVATE -DRESOLVSORT -DPOSIX_MISTAKE -DFLOATING_POINT -c -fpic -DPIC /home/src/lib/libc/stdio/freopen.c -o freopen.so
building shared object c library
ranlib libc_pic.a
building shared c library (version 12.34)
ld -x -shared  -o libc.so.12.34    --whole-archive libc_pic.a --no-whole-archive   
setjmp.so: warning: reference to compatibility sigreturn(); include <signal.h> for correct reference
glob.so: warning: reference to compatibility lstat(); include <sys/stat.h> to generate correct reference
glob.so: warning: reference to compatibility stat(); include <sys/stat.h> to generate correct reference
fts.so: warning: reference to compatibility stat(); include <sys/stat.h> to generate correct reference
fts.so: warning: reference to compatibility lstat(); include <sys/stat.h> to generate correct reference

I cannot tell definitely, when this started happening, sorry.

- Erik