This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Syntax errors of include files
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: Syntax errors of include files
- From: "Jian-Song Wang" <jswang at hirfl dot lzb dot ac dot cn>
- Date: Thu, 24 Aug 2000 11:02:36 +0800
- Reply-To: "Jian-Song Wang" <jswang at mailcity dot com>
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