Re: Problem with compiling mm/vmscan.c in pre7-3

From: Ookhoi (ookhoi@dds.nl)
Date: Wed May 03 2000 - 09:49:52 EST


Hi Erik Tews,

> I tryed to compile pre7-3, but I get the following error:
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -pipe
> -mpreferred-stack-boundary=2 -march=k6 -c -o vmscan.o vmscan.c
> vmscan.c:63: #error Do not let this one slip through..
> make[2]: *** [vmscan.o] Error 1
> make[2]: Leaving directory `/usr/src/linux/mm'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/linux/mm'
> make: *** [_dir_mm] Error 2
>
> Now I had a look at the file:
>
> set_pte(page_table, pte_mkold(pte));
> set_bit(PG_referenced, &page->flags);
> goto out_failed;
> }
> #error Do not let this one slip through..
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> if (PageLocked(page))
> goto out_failed;
>
>
> There is no #if in the file. The #error-line was inserted in pre7-3. The
> file was patched in pre7-3 at some other places too.

I thought is was a comment, so I changed the # into //

                Ookhoi

-
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 : Sun May 07 2000 - 21:00:12 EST