My attempts to build Samba 3.0.20 on LFS svn20051212 have failed with
the following error message during make:
lib/sysquotas_4A.c: In function 'sys_get_vfs_quota':
lib/sysquotas_4A.c:102: error: 'struct dqblk' has no member named
'dqb_curblocks'
lib/sysquotas_4A.c:119: error: 'struct dqblk' has no member named
'dqb_curblocks'
lib/sysquotas_4A.c:165: error: 'struct dqblk' has no member named
'dqb_curblocks'
make: *** [lib/sysquotas_4A.o] Error 1
Samba 3.0.20 built and works perfectly on my svn20051004.
Building Samba 3.0.20b (the latest stable) compiles properly however
I've run into a problem with blfs-bootscripts (20051121) handling of it.
The samba bootscripts' attempt to stop nmbd fail, there's no error
message generated when doing this manually (/etc/rc.d/init.d/samba stop)
but during shutdown I see the following:
It means that an unforseen error tooksed: -e expression #1, char 8:
unknown option to 's'
I've tested and /usr/sbin/nmbd is still running after a call to samba
stop, the pid file matches the correct process number and it dies
successfully with a kill -9. It's inelegant and I'd be interested if
anyone has a more appropriate solution but I've 'fixed' it with the
following in /etc/rc.d/init.d/samba:
boot_mesg "Stopping nmbd..."
#killproc /usr/sbin/nmbd
killall -9 /usr/sbin/nmbd
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page