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

David Disseldorp ddiss at suse.de
Tue Oct 5 02:42:56 MDT 2010


On Tue, 5 Oct 2010 10:35:38 +0200
Volker Lendecke <Volker.Lendecke at SerNet.DE> 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 \
        --with-syslog \
        --with-utmp \
        --enable-cups

Cheers, David


More information about the samba-technical mailing list