Skip to contentSkip to conversation

driver compile Parse error with gcc-3.4.3

DISCUSSION Anil Kumar 3 participants 3 messages Feb 21, 2005

lore
Share & tools
lore

Anil Kumar

author
#0 lore raw

Hi,

I am new to linux. I am trying to build one of my drivers for 2.6.9-5.EL, RHEL 4, I am getting compile parse errors as follows:
error: parse error before '(' token

#gcc -v
Configured with: ./configure --prefix=/usr/adaptec/build/gcc343-32bit --enable-threads=posix --disable-checking --target=i386-redhat-linux --host=i686-redhat-linux-gnu --with-libs=/usr/adaptec/build/gcc343-32bit/lib --with-headers=/usr/adaptec/build/gcc343-32bit/include --enable-languages=c --disable-libunwind-exceptions --with-system-zlib --enable-__cxa_atexit --enable-java-awt=gtk --enable-shared --mandir=/usr/adaptec/build/gcc343-32bit/man --infodir=/usr/adaptec/build/gcc343-32bit/info
Thread model: posix
gcc version 3.4.3

regards,
Anil

#1 lore raw
Quoted 5 lines · Anil Kumar

Hi,

I am new to linux. I am trying to build one of my drivers for 2.6.9-5.EL, RHEL 4, I am getting compile parse errors as follows:
error: parse error before '(' token

Complete gcc output plus driver source file would help a lot.

Quoted 12 lines

#gcc -v
Configured with: ./configure --prefix=/usr/adaptec/build/gcc343-32bit --enable-threads=posix --disable-checking --target=i386-redhat-linux --host=i686-redhat-linux-gnu --with-libs=/usr/adaptec/build/gcc343-32bit/lib --with-headers=/usr/adaptec/build/gcc343-32bit/include --enable-languages=c --disable-libunwind-exceptions --with-system-zlib --enable-__cxa_atexit --enable-java-awt=gtk --enable-shared --mandir=/usr/adaptec/build/gcc343-32bit/man --infodir=/usr/adaptec/build/gcc343-32bit/info
Thread model: posix
gcc version 3.4.3

Signature · 1 line
~Randy
#2 lore raw
In reply to Anil Kumar
Quoted 5 lines · Anil Kumar

Hi,

I am new to linux. I am trying to build one of my drivers for 2.6.9-5.EL, RHEL 4, I am getting compile parse errors as follows:
error: parse error before '(' token

you forgot to attach your full driver source (or URL to that)