Bug 303

Summary: conftest fails to determine mmap anon shared
Product: Portable OpenSSH Reporter: Gert Doering <gert>
Component: Build systemAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: normal CC: chris
Priority: P2    
Version: -current   
Hardware: ix86   
OS: FreeBSD   

Description Gert Doering 2002-06-27 07:38:27 AEST
configure:6530: checking for mmap anon shared
configure:6555: cc -o conftest -O -pipe -mpentium -march=pentium  -Wall
-Wpointer-arith -Wno-uninitialized   conftest.c -lutil -lz  >&5
In file included from configure:6540:
/usr/include/sys/mman.h:141: syntax error before `mode_t'
configure:6544: warning: return-type defaults to `int'
configure:6558: $? = 1
configure: program exited with status 1

needs <sys/types.h> before <sys/mman.h> - easily changed in configure.ac

3.4p1 on FreeBSD 4.6-RELEASE, and on 3.4-RELEASE, so I assume this hits all
FreeBSD versions.
Comment 1 Ben Lindstrom 2002-06-28 10:38:55 AEST
commited.
Comment 2 Gert Doering 2002-06-30 05:57:00 AEST
*** Bug 322 has been marked as a duplicate of this bug. ***
Comment 3 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED