lkml.org 
[lkml]   [1999]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.3.15-pre3 filemap.c
hi william-

i wrote the patch for filemap.c in 2.3.15-pre3...

i don't see how you could have gotten those compile-time errors. are you
sure the patch applied correctly?

On Mon, 23 Aug 1999, William Stearns wrote:

> Date: Mon, 23 Aug 1999 22:38:15 -0400 (EDT)
> From: William Stearns <wstearns@pobox.com>
> To: ML-linux-kernel <linux-kernel@vger.rutgers.edu>
> Cc: William Stearns <wstearns@pobox.com>
> Subject: 2.3.15-pre3 filemap.c
>
> Good day, all,
> My 2.3.15 pre3 wouldn't compile:
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.3.15/include -Wall -Wstrict-prototypes
> -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fn
> o-strength-reduce -DCPU=586 -march=i586 -c -o filemap.o filemap.c
> filemap.c: In function `filemap_nopage':
> filemap.c:1408: `error' undeclared (first use in this function)
> filemap.c:1408: (Each undeclared identifier is reported only once
> filemap.c:1408: for each function it appears in.)
> filemap.c:1423: warning: label `no_page' defined but not used
> filemap.c:1419: warning: label `failure' defined but not used
>
> Defining "error" as an int seemed to allow it to compile and it's
> running now without any visible problems. It applies over 2.3.15-pre3.
> Warning: use at your own risk - this falls in the category of
> PIPFPWRSBPKA *. Cheers,
> - Bill
>
> * Probably Incorrect Patches From People Who Really Shouldn't Be Patching
> Kernels Anyways
>
> ---------------------------------------------------------------------------
> "After being a technician for 2 years, I've discovered if people
> took care of their health with the same reckless abandon as their
> computers, half would be at the kitchen table on the phone with the
> hospital, trying to remove their appendix with a butter knife."
> (Courtesy of Brian Jones <balif@nacs.net>)
> --------------------------------------------------------------------------
> William Stearns (wstearns@pobox.com). Mason, Buildkernel, named2hosts,
> and ipfwadm2ipchains are at: http://www.pobox.com/~wstearns/
> --------------------------------------------------------------------------
>
>

- Chuck Lever
--
corporate: <chuckl@netscape.com>
personal: <chucklever@netscape.net> or <cel@monkey.org>

The Linux Scalability project:
http://www.citi.umich.edu/projects/linux-scalability/


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:2.285 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site