2.3.25 Memory.c fails to compile.

Leslie F. Donaldson (donaldlf@cs.rose-hulman.edu)
Wed, 3 Nov 1999 12:23:10 -0500 (EST)


Hello,

Any ideas???

Leslie Donaldson
/----------------------------\ Current Contractor: Onsite Engineering
| Leslie F. Donaldson | Current Customer : Entergy - Nuclear GGNS
| Computer Contractor | Skills: Unix/OS9/VMS/Linux/SUN-OS/C/C++/assembly
| Have Computer will travel. | Curr : http://www.cs.rose-hulman.edu/~donaldlf
\----------------------------/ Current Email : donaldlf@cs.rose-hulman.edu
Goth Code V1.1: GoCS$$ TYg(T6,T9) B11Bk!^1 C6b-- P0(1,7) M+ a24 n--- b++:+
H6'11" g m---- w+ r+++ D--~!% h+ s10 k+++ R-- Ssw LusCA++

make[2]: Entering directory `/usr/src/linux-2.3/linux/mm'
gcc -D__KERNEL__ -I/usr/src/linux-2.3/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8 -mcpu=ev56 -Wa,-m21164a -c -o memory.o memory.c
/usr/src/linux-2.3/linux/include/linux/mm.h: In function `get_zeroed_page':
In file included from memory.c:39:
/usr/src/linux-2.3/linux/include/linux/mm.h:295: warning: passing arg 1 of `clear_page' makes integer from pointer without a cast
/usr/src/linux-2.3/linux/include/linux/highmem.h: In function `clear_highpage':
In file included from /usr/src/linux-2.3/linux/include/linux/pagemap.h:14,
from memory.c:42:
/usr/src/linux-2.3/linux/include/linux/highmem.h:35: warning: implicit declaration of function `page_address'
/usr/src/linux-2.3/linux/include/linux/highmem.h:36: warning: passing arg 1 of `clear_page' makes integer from pointer without a cast
/usr/src/linux-2.3/linux/include/linux/highmem.h: In function `copy_highpage':
/usr/src/linux-2.3/linux/include/linux/highmem.h:72: warning: passing arg 1 of `copy_page' makes integer from pointer without a cast
/usr/src/linux-2.3/linux/include/linux/highmem.h:72: warning: passing arg 2 of `copy_page' makes integer from pointer without a cast
memory.c: In function `copy_cow_page':
memory.c:63: warning: comparison between pointer and integer
memory.c: In function `free_one_pmd':
memory.c:93: warning: implicit declaration of function `pmd_ERROR'
memory.c: In function `free_one_pgd':
memory.c:110: warning: implicit declaration of function `pgd_ERROR'
memory.c: In function `copy_page_range':
memory.c:230: warning: implicit declaration of function `pte_to_swp_entry'
memory.c:230: incompatible type for argument 1 of `swap_duplicate'
memory.c:234: warning: implicit declaration of function `pte_pagenr'
memory.c: In function `free_pte':
memory.c:285: incompatible type for argument 1 of `swap_free'
memory.c: In function `follow_page':
memory.c:408: warning: return makes pointer from integer without a cast
memory.c: In function `get_page_map':
memory.c:423: warning: comparison between pointer and integer
memory.c: In function `put_dirty_page':
memory.c:741: warning: implicit declaration of function `pte_ERROR'
memory.c:746: warning: implicit declaration of function `page_pte_prot'
memory.c:746: incompatible type for argument 1 of `pte_mkwrite'
memory.c: In function `do_wp_page':
memory.c:825: warning: passing arg 1 of `mk_pte' makes integer from pointer without a cast
memory.c: In function `partial_clear':
memory.c:873: warning: assignment makes pointer from integer without a cast
memory.c: In function `swapin_readahead':
memory.c:952: invalid operands to binary >>
memory.c:953: invalid operands to binary >>
memory.c:972: invalid operands to binary >>
memory.c:972: incompatible type for argument 1 of `read_swap_cache_async'
memory.c: In function `do_swap_page':
memory.c:1004: warning: passing arg 1 of `mk_pte' makes integer from pointer without a cast
memory.c:1010: warning: passing arg 1 of `mk_pte' makes integer from pointer without a cast
memory.c: In function `do_anonymous_page':
memory.c:1034: warning: passing arg 1 of `mk_pte' makes integer from pointer without a cast
memory.c: In function `do_no_page':
memory.c:1089: warning: passing arg 1 of `mk_pte' makes integer from pointer without a cast
memory.c: In function `handle_pte_fault':
memory.c:1129: incompatible type for argument 5 of `do_swap_page'
make[2]: *** [memory.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.3/linux/mm'
make[1]: *** [first_rule] Error 2

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