[Samba] compiling 3.2.6 fails on fedora 10 i386

Adam Williams awilliam at mdah.state.ms.us
Mon Dec 22 17:59:56 GMT 2008


I'm running samba-3.2.6/packaging/RHEL/makerpms.sh and get the following 
error.  any ideas?

make: Nothing to be done for `modules'.
make: Nothing to be done for `pam_smbpass'.
+ cd client
+ gcc -o mount.cifs -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 
-march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE 
-Wall -D_GNU_SOURCE -D_LARGEFILE64_SOURCE mount.cifs.c
/tmp/ccqZWMvv.o: In function `main':
/root/rpmbuild/BUILD/samba-3.2.6/source/client/mount.cifs.c:1415: 
undefined reference to `unlock_mtab'
/root/rpmbuild/BUILD/samba-3.2.6/source/client/mount.cifs.c:1416: 
undefined reference to `lock_mtab'
/root/rpmbuild/BUILD/samba-3.2.6/source/client/mount.cifs.c:1462: 
undefined reference to `unlock_mtab'
/root/rpmbuild/BUILD/samba-3.2.6/source/client/mount.cifs.c:1424: 
undefined reference to `unlock_mtab'
collect2: ld returned 1 exit status
error: Bad exit status from /var/tmp/rpm-tmp.hnGqfK (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.hnGqfK (%build)
makerpms.sh: Done.



More information about the samba mailing list