Bug 303 - conftest fails to determine mmap anon shared
Summary: conftest fails to determine mmap anon shared
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: -current
Hardware: ix86 FreeBSD
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
: 322 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-27 07:38 AEST by Gert Doering
Modified: 2004-04-14 12:24 AEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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