Hi, I tried to install the source RPM, but it crashed with this error:
checking configure summary configure: error: summary failure. Aborting config error: Bad exit status from /var/tmp/rpm-tmp.21099 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.21099 (%build) I'd like to compile Samba-2.2.2 from source. Here's what my /usr/include/asm/statfs.h looks like: #ifndef _I386_STATFS_H #define _I386_STATFS_H #ifndef __KERNEL_STRICT_NAMES #include <linux/types.h> typedef __kernel_fsid_t fsid_t; #endif struct statfs { long f_type; long f_bsize; long f_blocks; long f_bfree; long f_bavail; long f_files; long f_ffree; __kernel_fsid_t f_fsid; long f_namelen; long f_spare[6]; }; #endif Which parts should I comment out to get by this error during 'make': /usr/include/asm/statfs.h:12: redefinition of `struct statfs' make: *** [smbd/server.o] Error 1 Thanks, Hidong David Talkington wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hidong Kim wrote: > > >[root@ripley bin]# ./testparm > >Load smb config files from /usr/local/samba/lib/smb.conf > >Processing section "[public]" > >Processing section "[public]" > >Processing section "[printers]" > >Loaded services file OK. > >Press enter to see a dump of your service definitions > > > >My smb.conf is actually /etc/samba/smb.conf. This is the file that has > >all of my share definitions, as it was working before today. > > smbd disagrees with you. Specify it: > > # smbd -s /etc/samba/smb.conf > > If you rebuilt samba, you probably didn't add --with-configdir. > - --sysconfdir isn't sufficient to override the default. > > - -d > > - -- > David Talkington > > PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp > - -- > http://setiathome.ssl.berkeley.edu/pale_blue_dot.html > > -----BEGIN PGP SIGNATURE----- > Version: PGP 6.5.8 > Comment: Made with pgp4pine 1.75-6 > > iQA/AwUBPEvSA79BpdPKTBGtEQLzlACgm62lCTVYPxVF/7anKdRVCpqQL2MAnRWI > x1WjIg2gDV0OX+4OwJ6HBzBW > =PzXf > -----END PGP SIGNATURE----- > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list