2.3.25 Failure in compiling

Leslie F. Donaldson (donaldlf@cs.rose-hulman.edu)
Sun, 7 Nov 1999 00:22:49 -0500 (EST)


Hello,
Since 3.2.21 I get errors trying to compile the kernel. The file
linux/mm/memory.c blows up.

System type Alpha.

Here is the error log

ction `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

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