Re: [ANNOUNCE] 2.4.18-pre8-mjc: compile errors

From: Brian Strand (bstrand@switchmanagement.com)
Date: Thu Feb 07 2002 - 13:24:18 EST


I got some miscellaneous errors/warnings upon compiling (this is with an
SMP build, .config is available if needed). I don't need these modules
(I was just doing my standard "compile as much as possible" routine), so
I just disabled them and continued on my way.

gcc -D__KERNEL__ -I/home/bstrand/src/linux-2.4.17/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointeri2c-tsunami.c:35: asm/hwrpb.h: No such file or directory
i2c-tsunami.c:36: asm/core_tsunami.h: No such file or directory
gcc -D__KERNEL__ -I/home/bstrand/src/linux-2.4.17/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointergcc
-D__KERNEL__ -I/home/bstrand/src/linux-2.4.17/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointeri2c-tsunami.c: In function `writempd':
i2c-tsunami.c:72: `TSUNAMI_cchip' undeclared (first use in this function)
i2c-tsunami.c:72: (Each undeclared identifier is reported only once
i2c-tsunami.c:72: for each function it appears in.)
i2c-tsunami.c: In function `readmpd':
i2c-tsunami.c:78: `TSUNAMI_cchip' undeclared (first use in this function)
i2c-tsunami.c:79: warning: control reaches end of non-void function
i2c-tsunami.c: In function `i2c_tsunami_init':
i2c-tsunami.c:156: `hwrpb' undeclared (first use in this function)
i2c-tsunami.c:156: `ST_DEC_TSUNAMI' undeclared (first use in this function)
i2c-tsunami.c:160: `TSUNAMI_cchip' undeclared (first use in this function)

gcc -D__KERNEL__ -I/home/bstrand/src/linux-2.4.17/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointerr128_cce.c:
In function `r128_cce_packet':
r128_cce.c:1023: warning: unused variable `size'
r128_cce.c:1021: warning: unused variable `buffer'
r128_cce.c:1019: warning: unused variable `dev_priv'

gcc -D__KERNEL__ -I/home/bstrand/src/linux-2.4.17/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointeri810_dma.c:
In function `i810_free_page':
i810_dma.c:296: warning: passing arg 1 of `wake_up_page_Rsmp_4acd422b'
makes pointer from integer without a cast

Regards,
Brian

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:01:04 EST