Trying to compile gtk-gnutella-current didn't go so well for me today

cc -c -I../.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
-I/usr/include/libxml2   -DCORE_SOURCES -DCURDIR=src/core -O 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  downloads.c
downloads.c: In function `download_write_data':
downloads.c:4392: error: too many arguments to function `file_info_pos_status'
make[3]: *** [downloads.o] Error 1
make[3]: Leaving directory `/home/andy/Desktop/gtk-gnutella-current/src/core'
make[2]: *** [core/libcore.a] Error 2
make[2]: Leaving directory `/home/andy/Desktop/gtk-gnutella-current/src'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/andy/Desktop/gtk-gnutella-current'
make: *** [all] Error 2
andy:~/Desktop/gtk-gnutella-current$


Deleting a couple of things from line 4392 of 
gtk-gnutella-current/src/core/downloads.c got past the problem so it could build

--- gtk-gnutella-current/src/core/downloads.c~  2005-05-29 07:46:17.000000000 
+0100
+++ gtk-gnutella-current/src/core/downloads.c   2005-05-29 13:54:00.239202321 
+0100
@@ -4389,7 +4389,7 @@
                enum dl_chunk_status status;
                filesize_t fc_end;
- status = file_info_pos_status(fi, d->pos, NULL, &fc_end);
+               status = file_info_pos_status(fi, d->pos);
                switch (status) {
                case DL_CHUNK_DONE:


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to