2008/5/12 Martin Michlmayr <tbm@xxxxxxxxxx>: > Some Malta build errors: > > cc1: warnings being treated as errors > arch/mips/mips-boards/malta/malta_int.c: In function 'gcmp_probe': > arch/mips/mips-boards/malta/malta_int.c:408: warning: cast to pointer from integer of different size > arch/mips/mips-boards/malta/malta_int.c: In function 'arch_init_irq': > arch/mips/mips-boards/malta/malta_int.c:437: warning: cast to pointer from integer of different size > arch/mips/mips-boards/malta/malta_int.c:441: warning: cast to pointer from integer of different size > arch/mips/mips-boards/malta/malta_int.c: In function 'malta_be_handler': > arch/mips/mips-boards/malta/malta_int.c:656: warning: cast to pointer from integer of different size > arch/mips/mips-boards/malta/malta_int.c:657: warning: cast to pointer from integer of different size > arch/mips/mips-boards/malta/malta_int.c:658: warning: cast to pointer from integer of different size > arch/mips/mips-boards/malta/malta_int.c:704: warning: cast to pointer from integer of different size > make[5]: *** [arch/mips/mips-boards/malta/malta_int.o] Error 1 > > and: > > arch/mips/mips-boards/generic/amon.c: In function 'amon_cpu_avail': > arch/mips/mips-boards/generic/amon.c:31: error: implicit declaration of function 'KSEG0ADDR' > cc1: warnings being treated as errors > arch/mips/mips-boards/generic/amon.c:31: warning: cast to pointer from integer of different size > arch/mips/mips-boards/generic/amon.c: In function 'amon_cpu_start': > arch/mips/mips-boards/generic/amon.c:56: warning: cast to pointer from integer of different size > make[4]: *** [arch/mips/mips-boards/malta] Error 2 > Known error. Please see this thread for some suggestions (and be warned that I did not try any of them): http://marc.info/?t=120966332300004&r=1&w=2 Dmitri