Hello!
I'm using RedHat Linux 6.1 on i586 with egcs-1.1.2 and
binutils-2.9.1.0.23.
I'm trying to compile linux-2.3.29 with the .config which is attached.
While compiling g_NCR5380.c, the compiler reports dozens of warnings and
errors, the first of those are following:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-DCPU=586 -march=i586 -c -o g_NCR5380.o g_NCR5380.c
g_NCR5380.c: In function `generic_NCR5380_detect':
g_NCR5380.c:318: warning: comparison between pointer and integer
g_NCR5380.c:320: warning: comparison between pointer and integer
g_NCR5380.c:339: warning: assignment makes pointer from integer without a
cast
g_NCR5380.c:345: warning: passing arg 2 of `__request_region' makes
integer from pointer without a cast
g_NCR5380.c:348: warning: assignment makes integer from pointer without a
cast
g_NCR5380.c: In function `generic_NCR5380_pread':
g_NCR5380.c:453: warning: assignment makes integer from pointer without a
cast
g_NCR5380.c:454: warning: assignment makes integer from pointer without a
cast
g_NCR5380.c:461: invalid operands to binary +
If I unset CONFIG_SCSI_G_NCR5380_MEM=y and set
CONFIG_SCSI_G_NCR5380_PORT=y, everything compiles.
Pavel Roskin
config.gz