Is it a C header? If so, try surrounding your include statement with 'extern "C" {' and '}' like this: extern "C" { #include <incfile.h> } This will cause that file to be compiled as C source code rather than C++ source code, which must follow stricter rules. Thanks, Lyle Taylor IS Applications -----Original Message----- From: ntk3@xxxxxxxxxxx [mailto:ntk3@xxxxxxxxxxx] Sent: Monday, September 22, 2003 10:11 AM To: gcc-help@xxxxxxxxxxx Subject: help with g++ 2.96 Hello, I am trying to compile lapack++ on RH 7.0 with g++ 2.96 I get the following error ISO C++ forbids declaration of `inc' with no type where inc is avariable used in one of the header files. Please help Nachiket Kasarekar Mechanical Engineering Department 4441 Chestnut Ridge Road, #7 Amherst,NY 14228 Ph No - 716-903-5742