Hi all, I am using the CygWin environent, CYGWIN_NT-5.1, i.e. on Windows XP. I am trying to compile a piece of code that contains both F77 and C subroutines. G77 works fine and compiles without problems but GCC complains about something that means absolutely nothing to me. I am using the following version: Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug : (reconfigured) Thread model: posix gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) And the error I get is: ************************* *** Make in pbio ************************* make[1]: Entering directory `/cygdrive/d/VALIDATION/BUFR/ECMWF/bufr_000310/pbio' g77 -fno-second-underscore -I./ -Dlinux -DUSE_NO_POINTERS -g -fzeros -DTABLE_PATH=\"/usr/local/lib\" -c blokex.F g77 -fno-second-underscore -I./ -Dlinux -DUSE_NO_POINTERS -g -fzeros -DTABLE_PATH=\"/usr/local/lib\" -c pbbufr.F g77 -fno-second-underscore -I./ -Dlinux -DUSE_NO_POINTERS -g -fzeros -DTABLE_PATH=\"/usr/local/lib\" -c pbcrex.F g77 -fno-second-underscore -I./ -Dlinux -DUSE_NO_POINTERS -g -fzeros -DTABLE_PATH=\"/usr/local/lib\" -c pbgrib.F g77 -fno-second-underscore -I./ -Dlinux -DUSE_NO_POINTERS -g -fzeros -DTABLE_PATH=\"/usr/local/lib\" -c pbionum.F g77 -fno-second-underscore -I./ -Dlinux -DUSE_NO_POINTERS -g -fzeros -DTABLE_PATH=\"/usr/local/lib\" -c emosnum.F g77 -fno-second-underscore -I./ -Dlinux -DUSE_NO_POINTERS -g -fzeros -DTABLE_PATH=\"/usr/local/lib\" -c pbpseu.F gcc -I./ -DTABLE_PATH=\"/usr/local/lib\" -Dlinux -DFOPEN64 -c PBGroutines.c PBGroutines.c:7: error: parse error before "off64_t" PBGroutines.c:7: warning: data definition has no type or storage class In file included from PBGroutines.c:12: PBGroutines.h:9: error: parse error before "ftello64" PBGroutines.h:9: warning: data definition has no type or storage class PBGroutines.h:28: error: parse error before "off64_t" PBGroutines.h:28: warning: no semicolon at end of struct or union PBGroutines.h:89: error: parse error before '}' token PBGroutines.h:89: warning: data definition has no type or storage class PBGroutines.c:90: error: parse error before '*' token PBGroutines.c:90: warning: data definition has no type or storage class PBGroutines.c:91: error: parse error before '*' token PBGroutines.c:91: warning: data definition has no type or storage class PBGroutines.c: In function `pbgindx': PBGroutines.c:127: error: parse error before "space" Does this mean anything to anyone? I think I found a similar problem people had using C++ but the specific compilation option that was proposed doesn't work for C. MANY THANKS, MariLiza __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com