make give the following error
e4defrag.c:237:2: warning: #warning Using locally defined fallocate syscall interface.
e4defrag.c:251: error: static declaration of ‘fallocate64’ follows non-static declaration
/usr/include/bits/fcntl.h:251: note: previous declaration of ‘fallocate64’ was here
make[2]: *** [e4defrag.o] Fehler 1
make[2]: Leaving directory `/home/rob/Downloads/e2fsprogs-1.42/misc'
make[1]: *** [all-progs-recursive] Fehler 1
make[1]: Leaving directory `/home/rob/Downloads/e2fsprogs-1.42'
make: *** [all] Fehler 2
The build succeeds with the option --disable-defrag added to configure.
okay this is a old glibc
# rpm -qf /usr/include/bits/fcntl.h
glibc-devel2.10.1-10.9.1.i686
# grep fallocate64 -A 5 -B 5 /usr/include/bits/fcntl.h
extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len);
# else
# ifdef __REDIRECT
extern int __REDIRECT (fallocate, (int __fd, int __mode, __off_t __offset,
__off_t __len),
fallocate64);
# else
# define fallocate fallocate64
# endif
# endif
# ifdef __USE_LARGEFILE64
extern int fallocate64 (int __fd, int __mode, __off64_t __offset,
__off64_t __len);
# endif
#endif
--------------------------
others see this message also
http://comments.gmane.org/gmane.linux.lfs.devel/11404