xfs
[Top] [All Lists]

Re: building xfsprogs (CVS): mmap.c:627: `MADV_NORMAL' undeclared

To: linux-xfs@xxxxxxxxxxx
Subject: Re: building xfsprogs (CVS): mmap.c:627: `MADV_NORMAL' undeclared
From: Bernhard Erdmann <be@xxxxxxxxxxx>
Date: Wed, 21 Jul 2004 07:15:30 +0200
In-reply-to: <20040720015826.A2406645@wobbly.melbourne.sgi.com>
References: <40FB2417.7030406@berdmann.de> <4774.1090202489@kao2.melbourne.sgi.com> <20040720015826.A2406645@wobbly.melbourne.sgi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; IRIX64 IP30; en-US; rv:1.6) Gecko/20040505
Nathan Scott wrote:
[...]
mmap.c already includes that header - what version of the glibc
headers are you using there Bernhard?  (which distribution, and
which version?)

It's glibc 2.1.3-29 from redhat 6.2 updates:

$ rpm -qi glibc-devel
Name : glibc-devel Relocations: (not relocateable)
Version : 2.1.3 Vendor: Red Hat, Inc.
Release : 29 Build Date: Wed Mar 5 22:58:36 2003
Install date: Sat Mar 29 10:30:58 2003 Build Host: daffy.perf.redhat.com
Group : Development/Libraries Source RPM: glibc-2.1.3-29.src.rpm
Size : 34980841 License: LGPL
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary : Header and object files for development using standard C libraries.
Description :
The glibc-devel package contains the header and object files necessary
for developing programs which use the standard C libraries (which are
used by nearly all programs). If you are developing programs which
will use the standard C libraries, your system needs to have these
standard header and object files available in order to create the
executables.


Install glibc-devel if you are going to develop programs which will
use the standard C libraries.


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