NDR_PUSH_CHECK_FLAGS and NDR_PULL_CHECK_FLAGS not defined?

Richard Sharpe realrichardsharpe at gmail.com
Sat Sep 17 17:52:37 MDT 2011


On Sat, Sep 17, 2011 at 4:21 PM, Richard Sharpe
<realrichardsharpe at gmail.com> wrote:
> Hi,
>
> I was trying to build 3.6.0 with my FSCTL patch cherry-picked from
> master and got this error:
>
> Compiling librpc/gen_ndr/ndr_libnetapi.c
> librpc/gen_ndr/ndr_libnetapi.c: In function ‘ndr_push_domsid’:
> librpc/gen_ndr/ndr_libnetapi.c:34:2: error: implicit declaration of
> function ‘NDR_PUSH_CHECK_FLAGS’
> librpc/gen_ndr/ndr_libnetapi.c: In function ‘ndr_pull_domsid’:
> librpc/gen_ndr/ndr_libnetapi.c:54:2: error: implicit declaration of
> function ‘NDR_PULL_CHECK_FLAGS’
> The following command failed:
> gcc -g -DDEBUG_PASSWORD -DDEVELOPER -g -Wall -Wshadow -Wpointer-arith
> -Wcast-align -Wwrite-strings -Wdeclaration-after-statement
> -Werror-implicit-function-declaration -I.
> -I/home/rsharpe/samba/source3
> -I/home/rsharpe/samba/source3/../lib/iniparser/src -Iinclude
> -I./include  -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc
> -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
> -DLDAP_DEPRECATED  -I/home/rsharpe/samba/source3/lib -I..
> -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c
> librpc/gen_ndr/ndr_libnetapi.c -o librpc/gen_ndr/ndr_libnetapi.o
> make: *** [librpc/gen_ndr/ndr_libnetapi.o] Error 1
>
>
> What would cause this? Looks like some intermediate file has not been
> rebuilt ...

OK, found the problem. Neither 'make clean' nor 'make distclean' etc
remove the files generated from IDL.

Since I was moving from master back to 3.6.0 there were differences.

Sigh.

-- 
Regards,
Richard Sharpe


More information about the samba-technical mailing list