compiling error (Version 0.95):
gcc -c -I.. -I. -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -DCURDIR=src -O
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 main.c
In file included from common.h:78,
from main.c:26:
/usr/include/sys/sendfile.h:26:3: #error
"<sys/sendfile.h> cannot be used with _FILE_OFFSET_BITS=64"
Operating System is Suse 8.1
Logged In: YES
user_id=13887
Call Configure with:
-Ud_sendfile -Ui_syssendfile
It will work. Offhand, why didn't you report this during
the BETA testing? Now that the release is out, it's a
little bit late for me to fix.
Logged In: YES
user_id=1168367
on a plain Linux-2.6.0 system (no distribution brand) and
gtk-gnutella 0.95 this happens too. somehow it is not
necessary to include these files.
Logged In: YES
user_id=13887
It does not happen here with linux-2.4.x and libc6 on Debian.
It looks like it's not possible to use sendfile() with
64-bit filesize then, which is a shame really.
I'll fix the compilation problem for 0.96.
Logged In: YES
user_id=1174045
Sorry, I somehow missed this one before
filing 1081176.
As detailed there, the sendfile.h conflict
can happen with Debian 3.0 "Woody" and
Linux 2.4.26 -- I think rmanfredi is
using Potato.
:)
Logged In: YES
user_id=13887
No, I'm using "sarge".
Logged In: YES
user_id=512388
Same error here.
LFS kernel 2.6.9 gcc 3.4.3
Logged In: YES
user_id=13887
Fixed in CVS.
Logged In: YES
user_id=643728
Closed as it's fixed in the current stable release 0.95.1.