3.6-test build failure in nttrans.c - fake_file header needed

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Oct 5 02:51:40 MDT 2010


On Tue, Oct 05, 2010 at 07:42:56PM +1100, David Disseldorp wrote:
> > On Tue, Oct 05, 2010 at 07:15:32PM +1100, David Disseldorp wrote:
> > > A minor 3.6 build fix, pull request and patch below...
> > 
> > What is the failure you see, it builds fine here?
> > 
> 
> Compiling smbd/message.c
> Compiling smbd/nttrans.c
> Compiling smbd/pipes.c
> Compiling smbd/reply.c
> smbd/nttrans.c: In function ‘call_nt_transact_get_user_quota’:
> smbd/nttrans.c:2427:57: error: dereferencing pointer to incomplete type
> The following command failed:
> gcc -O -I. -I/home/diss/isms/samba/source3
> -I/home/diss/isms/samba/source3/../lib/popt
> -I/home/diss/isms/samba/source3/../lib/iniparser/src -Iinclude
> -I./include  -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns
> -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include
> -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
> -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace
> -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt
> -DLDAP_DEPRECATED  -I/home/diss/isms/samba/source3/lib -I..
> -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c
> smbd/nttrans.c -o smbd/nttrans.o Compiling smbd/sesssetup.c make: ***
> [smbd/nttrans.o] Error 1 make: *** Waiting for unfinished jobs....
> 
> with (possibly wacky?) configure:
> ./configure \
>         --with-acl-support \
>         --with-automount \
>         --with-fhs \
>         --with-pam_smbpass \
>         --with-libsmbclient \
>         --with-libsmbsharemodes \
>         --with-pam \
>         --with-quotas \

Thanks! For some reason, my ubuntu box does not find quotas.

Pushed, thanks a LOT!

Volker


More information about the samba-technical mailing list