[uClibc]Does statvfs neccessary?

Pham Cong Thien thien at tlnet.com.vn
Wed Jul 10 15:59:20 UTC 2002


Dear All,
I'm a newbie. I'm compiling proftpd-1.2.4 use uClibc-0.9.11. As soon as I 
install uClibc and make with the default setting of proftpd, I got this 
message:

make[1]: Leaving directory `/home/users/thien/i386/proftpd-1.2.4/modules'
gcc -Llib  -o proftpd src/main.o src/timers.o src/sets.o src/pool.o 
src/dirtree.o src/support.o src/inet.o src/log.o src/io.o src/ident.o 
src/data.o src/modules.o src/auth.o src/fs.o modules/mod_core.o 
modules/mod_auth.o modules/mod_xfer.o modules/mod_site.o modules/mod_ls.o 
modules/mod_unixpw.o modules/mod_log.o  modules/module_glue.o -lsupp -lcrypt
src/support.o: In function `get_fs_size':
src/support.o(.text+0x1246): undefined reference to `statvfs'
collect2: ld returned 1 exit status
make: *** [proftpd] Error 1

I use nm -A *.a | grep statvfs under the folder of uClibc/lib

libc.a:fstatvfs.o:         U _GLOBAL_OFFSET_TABLE_
libc.a:fstatvfs.o:         U __errno_location
libc.a:fstatvfs.o:         U __fxstat64
libc.a:fstatvfs.o:         U __xstat64
libc.a:fstatvfs.o:         U endmntent
libc.a:fstatvfs.o:         U fstatfs64
libc.a:fstatvfs.o:00000000 T fstatvfs64
libc.a:fstatvfs.o:         U getmntent_r
libc.a:fstatvfs.o:         U memset
libc.a:fstatvfs.o:         U setmntent
libc.a:fstatvfs.o:         U strcmp
libc.a:fstatvfs.o:         U strsep
libc.a:statvfs.o:         U _GLOBAL_OFFSET_TABLE_
libc.a:statvfs.o:         U __errno_location
libc.a:statvfs.o:         U __xstat64
libc.a:statvfs.o:         U endmntent
libc.a:statvfs.o:         U getmntent_r
libc.a:statvfs.o:         U memset
libc.a:statvfs.o:         U setmntent
libc.a:statvfs.o:         U statfs64
libc.a:statvfs.o:00000000 T statvfs64
libc.a:statvfs.o:         U strcmp
libc.a:statvfs.o:         U strsep

I think that I might misconfigure somewhere that uClibc seem not support 
statvfs. But the result proftpd seem to work well with put and get. I hope 
someone to tell me if I need to reconfigure uClibc to support statvfs or else 
what can't I do without statvfs? 

Your Sinserely,
Pham C. Thien



More information about the uClibc mailing list