[Samba] libsmb error

Chris Lavin clavin at chrislavin.com
Sun Aug 2 12:26:55 MDT 2009


Can anyone point me in the right direction as to how to cure this compile
error?
 
 
Compiling libsmb/libsmb_cache.c
In file included from libsmb/libsmb_cache.c:24:
include/libsmbclient.h:78:25: sys/statvfs.h: No such file or directory
In file included from libsmb/libsmb_cache.c:24:
include/libsmbclient.h:875: warning: `struct statvfs' declared inside
parameter list
include/libsmbclient.h:875: warning: its scope is only this definition or
declaration, which is probably not what you want
include/libsmbclient.h:881: warning: `struct statvfs' declared inside
parameter list
include/libsmbclient.h:1643: warning: `struct statvfs' declared inside
parameter list
include/libsmbclient.h:1666: warning: `struct statvfs' declared inside
parameter list
In file included from libsmb/libsmb_cache.c:25:
include/libsmb_internal.h:509: warning: `struct statvfs' declared inside
parameter list
include/libsmb_internal.h:515: warning: `struct statvfs' declared inside
parameter list
The following command failed:
gcc -I. -I/altroot/samba-3.3.7/source  -O -O -D_SAMBA_BUILD_=3
-I/altroot/samba-3.3.7/source/popt
-I/altroot/samba-3.3.7/source/iniparser/src -Iinclude -I./include  -I. -I.
-I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc
-DHAVE_CONFIG_H  -I/usr/include/kerberosV -Iinclude -I./include -I. -I.
-I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc
-I./popt -I/usr/local/include -DLDAP_DEPRECATED   -I/include
-I/altroot/samba-3.3.7/source/lib -D_SAMBA_BUILD_=3 -fPIC -c
libsmb/libsmb_cache.c -o libsmb/libsmb_cache.o
make: *** [libsmb/libsmb_cache.o] Error 1
 
Thanks
Chris Lavin
 


More information about the samba mailing list