Build error: [dsdb/samdb/ldb_modules/rootdse.o] Error 1

Michael Ströder michael at stroeder.com
Wed Jul 16 23:38:12 GMT 2008


HI!

I'm trying to build the current git tree of Samba4.
I'm not really familiar with git so something might be wrong in my git 
tree. But I currently get the build error below.

Ciao, Michael.

----------------------------- snip -----------------------------
Compiling dsdb/samdb/ldb_modules/objectclass.c
dsdb/samdb/ldb_modules/objectclass.c: In function ‘get_sd’:
dsdb/samdb/ldb_modules/objectclass.c:261: warning: initialization 
discards qualifiers from pointer target type
Partially linking bin/mergedobj/ldb_objectclass.o
Compiling dsdb/samdb/ldb_modules/rootdse.c
dsdb/samdb/ldb_modules/rootdse.c: In function ‘rootdse_add_dynamic’:
dsdb/samdb/ldb_modules/rootdse.c:205: error: implicit declaration of 
function ‘samba_version_string’
dsdb/samdb/ldb_modules/rootdse.c:205: warning: format ‘%s’ expects type 
‘char *’, but argument 4 has type ‘int’
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 -Ilib/ldb/include 
-Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include 
-Ilib/ldb/include -Ilib/ldb/include     -Iheimdal/../heimdal_build 
-Iheimdal/lib/gssapi -Iheimdal/lib/gssapi/gssapi 
-Iheimdal/lib/gssapi/spnego -Iheimdal/lib/gssapi/krb5 
-Iheimdal/lib/gssapi/mech -Iheimdal_build -Iheimdal/lib/roken 
-Iheimdal/lib/gssapi   -Iheimdal/../heimdal_build -Iheimdal/lib/hdb 
-Iheimdal/lib/hdb   -Ilib/ldb/include -Ilib/ldb/include 
-Ilib/ldb/ldb_tdb -Ilib/tdb/include -Ilib/ldb/include -Ilib/ldb/include 
-Iheimdal/../heimdal_build -Iheimdal/lib/krb5 -Iheimdal/lib/asn1 
-Iheimdal/lib/com_err -Iheimdal/../heimdal_build -Iheimdal/lib/hx509 
-Iheimdal/../heimdal_build -Iheimdal/lib/wind -Iheimdal/lib/hx509 
-Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 
-Iheimdal/lib/asn1 -Iheimdal/lib/hx509 -Iheimdal/lib/asn1 
-Iheimdal/../heimdal_build -Iheimdal/lib/hcrypto -Iheimdal/lib 
-Iheimdal/lib/asn1 -Iheimdal/../heimdal_build 
-Iheimdal/lib/hcrypto/imath -Iheimdal/../heimdal_build 
-Iheimdal/lib/krb5 -Iheimdal/lib/asn1 -Iheimdal/lib/com_err 
-Iheimdal/lib/asn1 -Iheimdal/../heimdal_build -Iheimdal/lib/asn1 
-Iheimdal/../heimdal_build -Iheimdal/lib/com_err 
-Iheimdal/../heimdal_build -Iheimdal/lib/roken -Ilib/socket_wrapper 
-Ilib/events -Ilib/talloc -Ilib/replace     -fPIC -I./include -I. 
-I./lib -I./lib/replace -I./lib/talloc -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H 
  -c dsdb/samdb/ldb_modules/rootdse.c -o dsdb/samdb/ldb_modules/rootdse.o
make: *** [dsdb/samdb/ldb_modules/rootdse.o] Error 1



More information about the samba-technical mailing list