[Samba] This is happening too

Chris Lavin clavin at peitech.com
Fri Aug 7 17:59:50 MDT 2009


creating /altroot/samba-3.4.0/source3/exports/libnetapi.syms
Linking shared library bin/libnetapi.so.0
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:515: warning: `struct statvfs' declared inside
parameter list
include/libsmb_internal.h:521: warning: `struct statvfs' declared inside
parameter list
The following command failed:
gcc -O -I. -I/altroot/samba-3.4.0/source3
-I/altroot/samba-3.4.0/source3/../lib/popt
-I/altroot/samba-3.4.0/source3/iniparser/src -Iinclude -I./include  -I. -I.
-I./../lib/replace -I./../lib/talloc -I./../lib/tevent
-I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H
-I/usr/include/kerberosV -Iinclude -I./include -I. -I. -I./../lib/replace
-I./../lib/talloc -I./../lib/tevent -I./../lib/tdb/include -I./libaddns
-I./librpc -I./.. -I./../lib/popt -I/usr/local/include -DLDAP_DEPRECATED
-I/altroot/samba-3.4.0/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3
-D_SAMBA_BUILD_=3 -fPIC -c libsmb/libsmb_cache.c -o libsmb/libsmb_cache.o
make: *** [libsmb/libsmb_cache.o] Error 1
 
Can anyone point me in the right direction?
 


More information about the samba mailing list