From owner-freebsd-security Wed Jun 26 22:45:58 2002 Delivered-To: freebsd-security@freebsd.org Received: from TYO201.gate.nec.co.jp (TYO201.gate.nec.co.jp [202.32.8.214]) by hub.freebsd.org (Postfix) with ESMTP id 00AA637B406 for ; Wed, 26 Jun 2002 22:45:54 -0700 (PDT) Received: from mailgate4.nec.co.jp ([10.7.69.195]) by TYO201.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g5R5jlR04383; Thu, 27 Jun 2002 14:45:47 +0900 (JST) Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.196]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g5R5jkL09190; Thu, 27 Jun 2002 14:45:46 +0900 (JST) Received: from necspl.do.mms.mt.nec.co.jp (necspl.do.mms.mt.nec.co.jp [10.16.5.21]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id g5R5jj229558; Thu, 27 Jun 2002 14:45:45 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by necspl.do.mms.mt.nec.co.jp (8.12.5/8.12.5) with ESMTP id g5R5jgpC026315; Thu, 27 Jun 2002 14:45:42 +0900 (JST) Date: Thu, 27 Jun 2002 14:45:42 +0900 (JST) Message-Id: <20020627.144542.104107070.y-koga@jp.FreeBSD.org> To: freebsd-security@FreeBSD.ORG Subject: Re: new sshd 3.4p1 From: Koga Youichirou In-Reply-To: <000e01c21d9b$62886ec0$0f00a8c0@alexus> References: <000e01c21d9b$62886ec0$0f00a8c0@alexus> X-Mailer: Mew version 3.0.55 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "alexus" : > any ideas why am i geting this ? There occurs a syntax error in sys/mman.h while checking for mmap anon shared. configure:6532: checking for mmap anon shared configure:6557: gcc -o conftest -g -O2 -Wall -Wpointer-arith -Wno-uninitialized conftest.c -lutil -lz >&5 In file included from configure:6543: /usr/include/sys/mman.h:141: syntax error before `mode_t' configure:6547: warning: return-type defaults to `int' configure:6560: $? = 1 configure: program exited with status 1 configure: failed program was: #line 6540 "configure" #include "confdefs.h" #include #include #if !defined(MAP_ANON) && defined(MAP_ANONYMOUS) #define MAP_ANON MAP_ANONYMOUS #endif main() { char *p; p = (char *) mmap(NULL, 10, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED, -1, 0); if (p == (char *)-1) exit(1); exit(0); } configure:6580: result: no Following is ad hoc patch for this problem: --- configure.ORG Wed Jun 26 23:08:18 2002 +++ configure Thu Jun 27 14:38:39 2002 @@ -6541,6 +6541,7 @@ #include "confdefs.h" #include +#include #include #if !defined(MAP_ANON) && defined(MAP_ANONYMOUS) #define MAP_ANON MAP_ANONYMOUS -- Koga, Youichirou To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message