Greetings to you all,
I had a quick question that I was not able to find an answer for.
I am running Redhat 7.2 on i386 (Pentium III), and I am getting an error
when I try to compile the samba 2.2.2 source, and I get the following error:
Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -DLOGFILEBASE="/usr/local/samba/var"
-DCONFIGFILE="/usr/local/samba/lib/smb.conf"
-DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"
-DSWATDIR="/usr/local/samba/swat"
-DSBINDIR="/usr/local/samba/bin"
-DLOCKDIR="/usr/local/samba/var/locks"
-DCODEPAGEDIR="/usr/local/samba/lib/codepages"
-DDRIVERFILE="/usr/local/samba/lib/printers.def"
-DBINDIR="/usr/local/samba/bin" -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
-DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using FLAGS32 = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -DLOGFILEBASE="/usr/local/samba/var"
-DCONFIGFILE="/usr/local/samba/lib/smb.conf"
-DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"
-DSWATDIR="/usr/local/samba/swat"
-DSBINDIR="/usr/local/samba/bin"
-DLOCKDIR="/usr/local/samba/var/locks"
-DCODEPAGEDIR="/usr/local/samba/lib/codepages"
-DDRIVERFILE="/usr/local/samba/lib/printers.def"
-DBINDIR="/usr/local/samba/bin" -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
-DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using LIBS = -lcups -ldl -lnsl -lcrypt
Compiling smbd/server.c
In file included from /usr/include/linux/vfs.h:4,
from /usr/include/linux/fs.h:14,
from /usr/include/linux/capability.h:17,
from /usr/include/sys/capability.h:24,
from include/includes.h:330,
from smbd/server.c:22:
/usr/include/asm/statfs.h:12: redefinition of `struct statfs'
make: *** [smbd/server.o] Error 1
I was not able to build the src rpm either, although I don't remmember what
the error was, but it occurred during compile time as well. I am currently
running the samba 2.2.2a binary rpm that comes with RH7.2 without problems,
but I need the rpcclient app to get ESP PrintPro working with driver pushing.
I have the latest RedHat updates installed as well. Any ideas on what I am
doing wrong?
Nicholas Ritter
Network Administrator
Lake Forest College
Work Phone: 847-735-5112
Work Fax: 847-735-5112
Important Note: PGP encrypted/signed messages are always preferred for all
email. Please us the "Nicholas Ritter - LFC LIT" key found on the
public
key servers.
-------------- next part --------------
HTML attachment scrubbed and removed