Bonjour,
Je suis donc sur une RedHat 5 et j'essaie de compiler Samba 4 pour une installation de contrôleur de domaine qui supporte Active directory .
Je sais que Samba 4 est encore en alpha.
Lorsque j'effectue le
Il me retourne l'erreur suivante :
Code :
1 2 3 4
|
The following command failed:
gcc -Iheimdal/kdc -Iheimdal/lib/hdb -Iheimdal/../heimdal_build -Iheimdal/lib/hdb -I/usr/include/python2.4 -I/usr/include/python2.4 -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -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/lib/gssapi -Iheimdal/../heimdal_build -Iheimdal/lib/hdb -Iheimdal/lib/hdb -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/ldb_tdb -I../lib/tdb/include -Ilib/ldb/include -Ilib/ldb/include -Ilib/ldb/include -I./../lib/talloc -Iheimdal/../heimdal_build -Iheimdal/lib/krb5 -Iheimdal/lib/asn1 -Iheimdal/lib/com_err -Iheimdal/../heimdal_build -Iheimdal/lib/hx509 -Iheimdal/lib/hx509 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/hx509 -Iheimdal/../heimdal_build -Iheimdal/lib/hcrypto -Iheimdal/lib -Iheimdal/../heimdal_build -Iheimdal/lib/hcrypto/imath -Iheimdal/../heimdal_build -Iheimdal/lib/wind -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/lib/asn1 -Iheimdal/../heimdal_build -Iheimdal/lib/asn1 -Iheimdal/../heimdal_build -Iheimdal/lib/com_err -Iheimdal/../heimdal_build -Iheimdal/lib/roken -Iheimdal/include -I../lib/socket_wrapper -Ilib/events -I../lib/tevent -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 utils/net/net.c -o utils/net/net.o
gmake: *** [utils/net/net.o] Erreur 1 |
Cette ligne
gmake: *** [utils/net/net.o] Erreur 1 et ce que mon programme essaye de compiler a savoir :
Code :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| Compiling utils/net/net.c
utils/net/net.c: In function ‘py_tuple_from_argv’:
utils/net/net.c:58: erreur: ‘Py_ssize_t’ undeclared (first use in this function)
utils/net/net.c:58: erreur: (Each undeclared identifier is reported only once
utils/net/net.c:58: erreur: for each function it appears in.)
utils/net/net.c:58: erreur: expected ‘;’ before ‘i’
utils/net/net.c:65: erreur: ‘i’ undeclared (first use in this function)
utils/net/net.c: In function ‘py_call_with_string_args’:
utils/net/net.c:82: attention : passing argument 2 of ‘PyObject_GetAttrString’ discards qualifiers from pointer target type
utils/net/net.c: In function ‘net_help_python’:
utils/net/net.c:227: erreur: ‘Py_ssize_t’ undeclared (first use in this function)
utils/net/net.c:227: erreur: expected ‘;’ before ‘pos’
utils/net/net.c:234: erreur: ‘pos’ undeclared (first use in this function)
utils/net/net.c: In function ‘binary_net’:
utils/net/net.c:311: attention : passing argument 2 of ‘PySys_SetArgv’ from incompatible pointer type |
Et ses fichiers se trouvant ici :
Citation:
[root@stid net]# locate utils/net/net.c
/etc/remy/samba-master/samba-master/source4/utils/net/net.c
/etc/remy/samba-master/source4/utils/net/net.c
/root/Desktop/Samba/samba-4.0.0alpha1/source/utils/net/net.c
|
Donc si vous avez une idée éclairez moi. En attendant je continue de chercher.
Oni'