Syntax errors of include files
Jian-Song Wang
jswang@hirfl.lzb.ac.cn
Wed Aug 23 19:58:00 GMT 2000
I meet some syntax errors in the include files (if.h and byteorder.h )
when I build program. The error information is as the following:
$ make
make[1]: `../../../lib/WIN32-VC/libG4modeling.a' is up to date.
make[1]: `../../../lib/WIN32-VC/libG4vis_management.a' is up to date.
Compiling G4FRClientServer.cc ...
G4FRClientServer.cc
C:\cygwin\usr\include\cygwin/if.h(63) : error C2146: syntax error : missing ';'
before identifier 'ifcu_buf'
C:\cygwin\usr\include\cygwin/if.h(63) : error C2501: 'caddr_t' : missing storage
-class or type specifiers
C:\cygwin\usr\include\cygwin/if.h(63) : error C2501: 'ifcu_buf' : missing storag
e-class or type specifiers
C:\cygwin\usr\include\asm/byteorder.h(29) : error C2144: syntax error : missing
';' before type 'unsigned long'
C:\cygwin\usr\include\asm/byteorder.h(29) : fatal error C1004: unexpected end of
file found
make[1]: *** [../../../tmp/WIN32-VC/G4FR/G4FRClientServer.o] Error 2
make: *** [granular] Error 2
Best Regards
Wang jiansong
More information about the Cygwin
mailing list