driver compile parse errors for RHEL4

From: Anil Kumar
Date: Thu Mar 10 2005 - 14:42:42 EST


I am getting parse errors when I try to build aic7xxx( Adaptec SCSI
controller) driver for RHEL4.
I am using my own build enviroment (I mean Makefiles, scripts) to build this.

#gcc -v
Reading specs from
Configured with: ./configure --prefix=/usr/adaptec/build/gcc343-32bit
--enable-threads=posix --disable-checking --target=i386-redhat-linux
--enable-languages=c --disable-libunwind-exceptions --with-system-zlib
--enable-__cxa_atexit --enable-java-awt=gtk --enable-shared
Thread model: posix
gcc version 3.4.3

The sources for the driver can be found under
/usr/src/linux/driver/scsi/aic7xxx when you download 2.6.9 kernel from

The errors are as follows:

drivers/scsi/aic7xxx/aic7xxx_reg_print.c:23: error: parse error before '(' token
drivers/scsi/aic7xxx/aic7xxx_reg_print.c:40: error: parse error before '(' token
drivers/scsi/aic7xxx/aic7xxx_reg_print.c:57: error: parse error before '(' token
drivers/scsi/aic7xxx/aic7xxx_reg_print.c:82: error: parse error before '(' token

Can you please let me know if my gcc is installed correctly, I mean if
I disable/enable any of the flags. If not I will look into my
Makefiles and scripts.

with regards,
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at