Latest samba-master refuses to build with waf on Fedora 19 or so?

Richard Sharpe realrichardsharpe at gmail.com
Mon Feb 24 07:57:26 MST 2014


On Mon, Feb 24, 2014 at 1:48 AM, Volker Lendecke
<Volker.Lendecke at sernet.de> wrote:
> On Sun, Feb 23, 2014 at 05:38:09PM -0800, Richard Sharpe wrote:
>> Hi folks,
>>
>> I did a:
>>
>> git fetch; git pull --rebase
>>
>> and then ./builtools/bin/waf configure; ./buildtools/bin/waf and get
>> the following:
>>
>> ../source3/rpc_client/cli_pipe.c:1277:75: error: invalid application
>> of ‘sizeof’ to incomplete type ‘struct
>> dcerpc_sec_verification_trailer’
>>   t = talloc_zero(state, struct dcerpc_sec_verification_trailer);
>>                                                                            ^
>> ../source3/rpc_client/cli_pipe.c:1283:4: error: dereferencing pointer
>> to incomplete type
>>    t->commands = talloc_realloc(t, t->commands,
>>     ^
>> ../source3/rpc_client/cli_pipe.c:1283:67: error: dereferencing pointer
>> to incomplete type
>>    t->commands = talloc_realloc(t, t->commands,
>>                                                                    ^
>> ../source3/rpc_client/cli_pipe.c:1283:86: error: invalid application
>> of ‘sizeof’ to incomplete type ‘struct dcerpc_sec_vt’
>>    t->commands = talloc_realloc(t, t->commands,
>>
>>                ^
>> What have I done wrong?
>
> In these cases I always try a "git clean -dxf". Would that
> help for you?

Probably would have, because a did a fresh git clone and things worked
fine. Now to figure out waf so I can make the examples/VFS stuff
build.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list