linux linux <compile.gcc@xxxxxxxxx> writes: > Some background of this error. I have add these 6 line to my .cpp file > to avoid some error(error: '__extern_inline' does not name a type) > > #ifndef __extern_inline > #define __extern_inline > #endif > #ifndef __wur > #define __wur > #endif This should not be necessary. __extern_inline should be defined by sys/cdefs.h. You should find out why that is not happening. Defining __extern_inline to be empty is never correct. There are two possibilities, and sys/cdefs.h should select the right one. Ian