| To: | Bernhard Erdmann <be@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: building xfsprogs (CVS): mmap.c:627: `MADV_NORMAL' undeclared |
| From: | Nathan Scott <nathans@xxxxxxx> |
| Date: | Mon, 2 Aug 2004 16:01:09 +1000 |
| Cc: | linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <410B3E47.2030806@berdmann.de> |
| References: | <40FB2417.7030406@berdmann.de> <4774.1090202489@kao2.melbourne.sgi.com> <20040720015826.A2406645@wobbly.melbourne.sgi.com> <40FDFBF2.7020500@berdmann.de> <20040729054638.GK800@frodo> <410B3E47.2030806@berdmann.de> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.3i |
On Sat, Jul 31, 2004 at 08:37:59AM +0200, Bernhard Erdmann wrote:
> Nathan Scott wrote:
>
> >Does your /usr/include/{bits,sys}/mman.h have those missing macros?
> >If so, what cpp macro is guarding them? (mail me the file please)
> >If not, can you grep below /usr/include for them and let me know
> >which header defines them? thanks.
>
> Hi Nathan,
>
> /usr/include/{bits,sys}/mman.h does not have a definition for
> MADV_NORMAL. Instead, it is defined in /usr/include/asm/mman.h:
Does adding #include <asm/mman.h> (in xfsprogs/io/mmap.c) get
a working build for you or do you see subsequent errors too?
thanks.
--
Nathan
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Possible XFS Corruption, Nathan Scott |
|---|---|
| Next by Date: | [Bug 272] xfs_force_shutdown in xfs_trans_cancel, part 2, bugzilla-daemon |
| Previous by Thread: | Re: Possible XFS Corruption, Nathan Scott |
| Next by Thread: | Re: building xfsprogs (CVS): mmap.c:627: `MADV_NORMAL' undeclared, Bernhard Erdmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |