Using FLAGS = -s -O3 -march=i686 -I/usr/local/include
-I/usr/local/include/libxml2 -I/usr/local/mysql/include/mysql -Iinclude
-I/tmp/samba-3.0.1/source/smbwrapper -I. -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/usr/local/include
LIBS = -lcrypt -lresolv -lnsl -ldl
LDSHFLAGS = -shared -Wl,-rpath,/usr/lib
LDFLAGS = -Wl,-rpath,/usr/lib
In file included from /usr/include/linux/quota.h:40,
/usr/include/linux/spinlock.h: In function `bit_spin_lock':
/usr/include/linux/spinlock.h:413: error: invalid type argument of `->'
/usr/include/linux/spinlock.h: In function `bit_spin_trylock':
/usr/include/linux/spinlock.h:436: error: invalid type argument of `->'
/usr/include/linux/spinlock.h: In function `bit_spin_unlock':
/usr/include/linux/spinlock.h:451: error: invalid type argument of `->'
/usr/include/linux/spinlock.h:451: error: `TIF_NEED_RESCHED' undeclared (first
use in this function)
/usr/include/linux/spinlock.h:451: error: (Each undeclared identifier is
reported only once
/usr/include/linux/spinlock.h:451: error: for each function it appears in.)
/usr/include/linux/spinlock.h: In function `bit_spin_is_locked':
/usr/include/linux/spinlock.h:462: error: invalid type argument of `->'
smbd/quotas.c: In function `get_smb_linux_vfs_quota':
smbd/quotas.c:135: error: storage size of `D' isn't known
gmake: *** [smbd/quotas.o] Error 1
This should be fixed in 3.0.2rc2
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.