Re: 64 bit LFS compile error

2009-05-26 Thread lrhorer
Nuno Magalhães wrote: > readwrite.c:146: error: ‘off64_t’ undeclared (first use in this function) > > This is self explainatory: there is no such variable in the code, or > it's not being assumed to exist for some reason... Yeah, that's obvious. > Did you try without the -O2? It's for optimizat

Re: 64 bit LFS compile error

2009-05-26 Thread Nuno Magalhães
readwrite.c:146: error: ‘off64_t’ undeclared (first use in this function) This is self explainatory: there is no such variable in the code, or it's not being assumed to exist for some reason... Did you try without the -O2? It's for optimization, but you can make do without... at least for testing

64 bit LFS compile error

2009-05-26 Thread lrhorer
I downloaded an application (mfs-tools) which I am trying to compile on my Debian "Lenny" system, but the make is failing with the following errors: gcc -DHAVE_CONFIG_H -I. -I../include -I../include-g -O2 -MT readwrite.o -MD -MP -MF .deps/readwrite.Tpo -c -o readwrite.o readwrite.c readwrite.c