Build of Samba4 fails

Michael Ströder michael at stroeder.com
Tue May 5 17:43:19 GMT 2009


HI!

I'm trying to build Samba 4 from GIT samba-master it fails. See end of
build output below.

Is there anything missing in my local installation?

Ciao, Michael.

------------------------------- snip -------------------------------
Compiling ../librpc/gen_ndr/ndr_mgmt_c.c
../librpc/gen_ndr/ndr_mgmt_c.c: In function ‘dcerpc_mgmt_inq_if_ids_send’:
../librpc/gen_ndr/ndr_mgmt_c.c:16: error: too few arguments to function
‘dcerpc_ndr_request_send’
../librpc/gen_ndr/ndr_mgmt_c.c:17: warning: control reaches end of
non-void function
../librpc/gen_ndr/ndr_mgmt_c.c: In function ‘dcerpc_mgmt_inq_stats_send’:
../librpc/gen_ndr/ndr_mgmt_c.c:44: error: too few arguments to function
‘dcerpc_ndr_request_send’
../librpc/gen_ndr/ndr_mgmt_c.c:45: warning: control reaches end of
non-void function
../librpc/gen_ndr/ndr_mgmt_c.c: In function
‘dcerpc_mgmt_is_server_listening_send’:
../librpc/gen_ndr/ndr_mgmt_c.c:72: error: too few arguments to function
‘dcerpc_ndr_request_send’
../librpc/gen_ndr/ndr_mgmt_c.c:73: warning: control reaches end of
non-void function
../librpc/gen_ndr/ndr_mgmt_c.c: In function
‘dcerpc_mgmt_stop_server_listening_send’:
../librpc/gen_ndr/ndr_mgmt_c.c:100: error: too few arguments to function
‘dcerpc_ndr_request_send’
../librpc/gen_ndr/ndr_mgmt_c.c:101: warning: control reaches end of
non-void function
../librpc/gen_ndr/ndr_mgmt_c.c: In function
‘dcerpc_mgmt_inq_princ_name_send’:
../librpc/gen_ndr/ndr_mgmt_c.c:128: error: too few arguments to function
‘dcerpc_ndr_request_send’
../librpc/gen_ndr/ndr_mgmt_c.c:129: warning: control reaches end of
non-void function
The following command failed:
gcc -g -DDEBUG_PASSWORD -DDEVELOPER -Wall -Wshadow
-Werror-implicit-function-declaration -Wstrict-prototypes
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wmissing-format-attribute -Wformat=2 -Wdeclaration-after-statement
-Wunused-macros -Wno-format-y2k -Wno-unused-parameter  -g
-I../lib/talloc -Ilib/replace     -fPIC -I./include -I. -I./lib
-I./../lib/replace -I./../lib/talloc -I./.. -D_SAMBA_BUILD_=4
-DHAVE_CONFIG_H  -c ../librpc/gen_ndr/ndr_mgmt_c.c -o
../librpc/gen_ndr/ndr_mgmt_c.o
make: *** [../librpc/gen_ndr/ndr_mgmt_c.o] Error 1



More information about the samba-technical mailing list