--- Segher Boessenkool <segher@xxxxxxxxxxxxxxxxxxx> wrote: > > PBGroutines.c:7: error: parse error before > "off64_t" > > You need to compile using -D_LARGEFILE_SOURCE > -D_LARGEFILE64_SOURCE > (and this is not a GCC question, wrong mailinglist; > and I'm sure > Google could have told you this, too). Good morning Segher, Unfortunately Google didn't tell me anything, sometimes it helps to know what you are looking for to be able to spot it. I have included the GCC options but nothing came out of it, same error, see below. Many thanks MariLiza %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% $ gcc -I./ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -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" PBGroutines.c:129: error: `file' undeclared (first use in this function) PBGroutines.c:129: error: (Each undeclared identifier is reported only once PBGroutines.c:129: error: for each function it appears in.) PBGroutines.c:149: error: parse error before "headerlen" __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com