Re: 2.3.99-pre1 compile problem: sparc mm/filemap.c

From: Jakub Jelinek (jakub@redhat.com)
Date: Thu Mar 16 2000 - 06:34:07 EST


On Wed, Mar 15, 2000 at 12:57:39PM -0600, Michael Gerdts wrote:
> If there is a specific forum that I should be addressing for sparc issues,
> I would happily direct my comments there. Please just point me to it.
>
> On a Sparc 20 I am getting the following errors in mm/filemap.c:
>
> make[2]: Entering directory `/usr/src/stripe/linux/mm'
> gcc -D__KERNEL__ -I/usr/src/stripe/linux/include -D__SMP__ -Wall -Wstrict-protot
> ypes -O2 -fomit-frame-pointer -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7
> -fno-strict-aliasing -c -o filemap.o filemap.c
> filemap.c: In function `setup_read_behavior':
> filemap.c:1799: `MADV_SEQUENTIAL' undeclared (first use in this function)
> filemap.c:1799: (Each undeclared identifier is reported only once
> filemap.c:1799: for each function it appears in.)
> filemap.c:1802: `MADV_RANDOM' undeclared (first use in this function)
> filemap.c:1800: warning: unreachable code at beginning of switch statement
> filemap.c: In function `madvise_vma':
> filemap.c:2021: `MADV_NORMAL' undeclared (first use in this function)
> filemap.c:2022: `MADV_SEQUENTIAL' undeclared (first use in this function)
> filemap.c:2023: `MADV_RANDOM' undeclared (first use in this function)
> filemap.c:2027: `MADV_WILLNEED' undeclared (first use in this function)
> filemap.c:2031: `MADV_DONTNEED' undeclared (first use in this function)
> filemap.c:2024: warning: unreachable code at beginning of switch statement
> filemap.c: In function `page_cache_init':
> filemap.c:2529: warning: long int format, int arg (arg 4)

See pre2-1 patch...

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.99-pre1 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:19 EST