This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Syntax errors of include files


    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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]