OpenSSH
[Top] [All Lists]

(20070302) Warning messages on FreeBSD 4.11-RELEASE (Re: Call for releas

To: openssh-unix-dev@mindrot.org
Subject: (20070302) Warning messages on FreeBSD 4.11-RELEASE (Re: Call for release testing.)
From: Norihiko Murase <skeleten@shillest.net>
Date: Sat, 03 Mar 2007 03:29:25 +0900
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
In-reply-to: <45E6CCF6.2010501@zip.com.au>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
References: <45E6CCF6.2010501@zip.com.au>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
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@shillest.net>
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>