Bug 5063 - Build break on samba.git with sysquotas on for RHEL5
Summary: Build break on samba.git with sysquotas on for RHEL5
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.2
Classification: Unclassified
Component: Build environment (show other bugs)
Version: unspecified
Hardware: x64 Linux
: P3 normal
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-07 13:26 UTC by Steve French
Modified: 2007-11-26 09:51 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve French 2007-11-07 13:26:23 UTC
[stevef@localhost source]$ make
Using FLAGS      =  -O -D_SAMBA_BUILD_=3  -I/home/stevef/samba/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED   -I/include -I/home/stevef/samba/source/lib -D_SAMBA_BUILD_=3
      PICFLAG    = -fPIC
      LIBS       = -lcrypt -lcap -lresolv -lnsl -ldl
      LDFLAGS    = -pie 
      DYNEXP     = -Wl,--export-dynamic
      LDSHFLAGS  = -shared -Wl,-Bsymbolic 
      SHLIBEXT   = so
      SONAMEFLAG = -Wl,-soname=
Compiling lib/sysquotas_xfs.c
In file included from lib/sysquotas_xfs.c:37:
/usr/include/linux/dqblk_xfs.h:51: error: expected specifier-qualifier-list before ‘__s8’
/usr/include/linux/dqblk_xfs.h:138: error: expected specifier-qualifier-list before ‘__u64’
/usr/include/linux/dqblk_xfs.h:144: error: expected specifier-qualifier-list before ‘__s8’
lib/sysquotas_xfs.c: In function ‘sys_get_xfs_quota’:
lib/sysquotas_xfs.c:114: error: ‘struct fs_quota_stat’ has no member named ‘qs_flags’
lib/sysquotas_xfs.c:117: error: ‘struct fs_quota_stat’ has no member named ‘qs_flags’
Comment 1 Steve French 2007-11-07 13:27:09 UTC
This was a newly cleaned git tree (from git.samba.org/samba.git) with default configure options except for --prefix=/usr/local/samba3

Comment 2 Michael Adam 2007-11-26 09:51:15 UTC
This has been fixed in:
http://gitweb.samba.org/?p=samba.git;a=commit;h=11bcdf780e164659b89a66e24edc27e89da7619a

Steve, please try with a current checkout again.

Michael