mldonkey-tasks
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-tasks] [task #4342] Access to disk data (free space, max file


From: savannah-bounces
Subject: [Mldonkey-tasks] [task #4342] Access to disk data (free space, max file name length)
Date: Wed, 13 Jul 2005 21:14:46 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/412.6 (KHTML, like Gecko) Safari/412.2

Follow-up Comment #16, task #4342 (project mldonkey):

I applied your patch, added --disable-iconv and forced HAVE_STATS to 1, but
compiling of os_stubs_c.c fails:
/usr/local/bin/ocamlc.opt -verbose -ccopt "-I /byterun -o
src/utils/cdk/zlibstubs.o" -ccopt "-g -O2   -D_THREAD_SAFE " -ccopt " " -cclib
"" -ccopt " " -cclib "" -cclib -lz -ccopt "-D_THREAD_SAFE " -c
src/utils/cdk/zlibstubs.c
+ gcc -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT
 -c -I /byterun -o src/utils/cdk/zlibstubs.o -g -O2   -D_THREAD_SAFE     
-D_THREAD_SAFE   -I'/usr/local/lib/ocaml' 'src/utils/cdk/zlibstubs.c'
src/utils/cdk/zlibstubs.c: In function 'camlzip_deflate':
src/utils/cdk/zlibstubs.c:87: warning: pointer targets in assignment differ in
signedness
src/utils/cdk/zlibstubs.c:89: warning: pointer targets in assignment differ in
signedness
src/utils/cdk/zlibstubs.c: In function 'camlzip_inflate':
src/utils/cdk/zlibstubs.c:135: warning: pointer targets in assignment differ
in signedness
src/utils/cdk/zlibstubs.c:137: warning: pointer targets in assignment differ
in signedness
src/utils/cdk/zlibstubs.c: In function 'camlzip_update_crc32':
src/utils/cdk/zlibstubs.c:170: warning: pointer targets in passing argument 2
of 'crc32' differ in signedness
/usr/local/bin/ocamlc.opt -ccopt "-g -O2   -D_THREAD_SAFE   -o
src/utils/cdk/heap_c.o" -ccopt "" -c src/utils/cdk/heap_c.c
/usr/local/bin/ocamlc.opt -verbose -ccopt "-I /byterun -o
src/config/unix/os_stubs_c.o" -ccopt "-g -O2   -D_THREAD_SAFE " -ccopt " "
-cclib "" -ccopt " " -cclib "" -cclib -lz -ccopt "-D_THREAD_SAFE " -c
src/config/unix/os_stubs_c.c
+ gcc -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT
 -c -I /byterun -o src/config/unix/os_stubs_c.o -g -O2   -D_THREAD_SAFE     
-D_THREAD_SAFE   -I'/usr/local/lib/ocaml' 'src/config/unix/os_stubs_c.c'
src/config/unix/os_stubs_c.c: In function 'os_ftruncate':
src/config/unix/os_stubs_c.c:83: warning: format '%d' expects type 'int', but
argument 4 has type 'off_t'
src/config/unix/os_stubs_c.c: At top level:
src/config/unix/os_stubs_c.c:138: warning: 'struct statfs' declared inside
parameter list
src/config/unix/os_stubs_c.c:138: warning: its scope is only this definition
or declaration, which is probably not what you want
src/config/unix/os_stubs_c.c: In function 'copy_statfs':
src/config/unix/os_stubs_c.c:147: error: dereferencing pointer to incomplete
type
src/config/unix/os_stubs_c.c:149: error: dereferencing pointer to incomplete
type
src/config/unix/os_stubs_c.c:150: error: dereferencing pointer to incomplete
type
src/config/unix/os_stubs_c.c:151: error: dereferencing pointer to incomplete
type
src/config/unix/os_stubs_c.c:152: error: dereferencing pointer to incomplete
type
src/config/unix/os_stubs_c.c:153: error: dereferencing pointer to incomplete
type
src/config/unix/os_stubs_c.c:154: error: dereferencing pointer to incomplete
type
src/config/unix/os_stubs_c.c:175: error: dereferencing pointer to incomplete
type
src/config/unix/os_stubs_c.c: In function 'statfs_statfs':
src/config/unix/os_stubs_c.c:194: error: storage size of 'buf' isn't known
src/config/unix/os_stubs_c.c:195: warning: implicit declaration of function
'statfs'
src/config/unix/os_stubs_c.c:197: warning: implicit declaration of function
'strerror'
src/config/unix/os_stubs_c.c:197: warning: passing argument 1 of
'caml_failwith' makes pointer from integer without a cast
src/config/unix/os_stubs_c.c:194: warning: unused variable 'buf'
src/config/unix/os_stubs_c.c: In function 'statfs_fstatfs':
src/config/unix/os_stubs_c.c:212: error: storage size of 'buf' isn't known
src/config/unix/os_stubs_c.c:213: warning: implicit declaration of function
'fstatfs'
src/config/unix/os_stubs_c.c:215: warning: passing argument 1 of
'caml_failwith' makes pointer from integer without a cast
src/config/unix/os_stubs_c.c:212: warning: unused variable 'buf'
make: *** [src/config/unix/os_stubs_c.o] Error 2


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?func=detailitem&item_id=4342>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]