(20070302) Warning messages on FreeBSD 4.11-RELEASE (Re: Call for release testing.)
Norihiko Murase
skeleten at shillest.net
Sat Mar 3 05:29:25 EST 2007
Two kinds of the warning messages were displayed when I
tried building the snapshot 20070302 on the machine where
FreeBSD 4.11-RELEASE is running.
The environment under which I built it is as follows:
CPU: i386 family
OS: FreeBSD 4.11-RELEASE
Compiler: gcc 2.95.4 20020320 [FreeBSD] (/usr/bin/gcc)
The options I specified in executing the configure script are as follows:
./configure --prefix=/usr/local/OpenSSH --datarootdir='$(prefix)' --with-rpath \
--without-osfsia --with-zlib=/usr/local/zlib --without-skey --with-tcp-wrappers \
--with-libedit=/usr/local/libedit --without-audit --without-pam \
--with-ssl-dir=/usr/local/OpenSSL --without-rand-helper \
--with-privsep-user=sshd --with-privsep-path=/var/empty \
--without-sectok --without-opensc --without-kerberos5 \
--with-xauth=/usr/X11R6/bin/xauth --without-ipaddr-display \
--with-default-path=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin \
--with-superuser-path=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin \
--without-4in6 --with-pid-dir=/var/run
The warning messages displayed when I built it are
classified into two:
(1) warning: `MAXSYMLINKS' redefined
(2) warning: `__nonnull__' attribute directive ignored
Both kinds of them are displayed
when openssh/openbsd-compat/bsd-misc.c is compiled, just as follows:
------------------------------------------------------------
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -I. -I.. -I. -I./.. -I/usr/local/OpenSSL/include -I/usr/l
ocal/zlib/include -I/usr/local/libedit/include -DHAVE_CONFIG_H -c bsd-misc.c
In file included from /usr/include/resolv.h:60,
from ../openbsd-compat/getrrsetbyname.h:59,
from ../openbsd-compat/openbsd-compat.h:45,
from ../includes.h:167,
from bsd-misc.c:18:
/usr/include/sys/param.h:194: warning: `MAXSYMLINKS' redefined
../defines.h:72: warning: this is the location of the previous definition
In file included from bsd-misc.c:31:
../xmalloc.h:26: warning: `__nonnull__' attribute directive ignored
------------------------------------------------------------
I'm very happy if you give me some comments about this.
Thanks,
---
Norihiko Murase <skeleten at shillest.net>
More information about the openssh-unix-dev
mailing list