Quoting [email protected]:

Quoting [email protected]:

Quoting Julien Kerihuel <[email protected]>:

On Wed, 2010-11-17 at 14:31 -0900, [email protected] wrote:
Problem 2:

While trying to provision OpenChange with the command:

./setup/openchange_provision

I get this:

NOTE: This operation can take several minutes
[+] Step 1: Register Exchange OIDs
[+] Step 2: Add new Exchange classes and attributes to Samba schema
Traceback (most recent call last):
 File "./setup/openchange_provision", line 62, in <module>
   openchange.provision(setup_path, lp, creds,

Hi Jon,

I'll take over problem 2.

Assuming you have followed the guide step by step, I suppose you have
been using 'make samba-git' to fetch/compile Samba4.

Can you try to run 'make samba' instead and tell us whether or not it
fixed the issue for you?

Kind Regards,
Julien.


Hello Julien,

This is what I get when I try using just 'make samba':

[1881/1982] Linking default/source4/dsdb/samdb/ldb_modules/libldb-schema-load.so
[1882/1982] Linking default/source4/librpc/libdcerpc-samr.so
[1883/1982] Linking default/source4/librpc/python-atsvc.so
[1884/1982] Linking default/source4/lib/registry/py-registry.so
[1885/1982] Linking default/source4/rpc_server/libdcerpc-server.so
[1886/1982] Linking default/source4/lib/policy/libpolicy.so
[1887/1982] Linking default/source4/libnet/python-net.so
[1888/1982] Linking default/source4/librpc/python-samr.so
[1889/1982] Linking default/source4/librpc/python-dcerpc.so
[1890/1982] Linking default/source4/lib/policy/py-policy.so
[1891/1982] Compiling ../lib/replace/test/testsuite.c
[1892/1982] Compiling ../lib/replace/test/main.c
[1893/1982] Compiling ../lib/replace/test/strptime.c
[1894/1982] Compiling ../lib/replace/test/os2_delete.c
[1895/1982] Compiling ../lib/replace/test/getifaddrs.c
[1896/1982] Compiling lib/ldb/tools/ldbadd.c
../lib/ldb/tools/ldbadd.c: In function â:
../lib/ldb/tools/ldbadd.c:71: error: implicit declaration of function â
Waf: Leaving directory `/opt/openchange/trunk/samba4/source4/bin'
Build failed:  -> task failed (err #1):
       {task: cc ldbadd.c -> ldbadd_11.o}
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/opt/openchange/trunk/samba4/source4'
Error in samba4 make (error code 2)
make: *** [samba] Error 1

So I got past this part by using this patch:

http://web.archiveorange.com/archive/v/IPyW4rCnsnJ58mJD9mqn

And am now getting this error:

[1918/1982] Compiling torture/masktest.c
[1919/1982] Compiling torture/locktest.c
[1920/1982] Compiling client/client.c
[1921/1982] Compiling client/cifsdd.c
[1922/1982] Compiling client/cifsddio.c
[1923/1982] Compiling ../libcli/nbt/tools/nmblookup.c
[1924/1982] Compiling heimdal/kuser/kinit.c
../heimdal/kuser/kinit.c: In function â:
../heimdal/kuser/kinit.c:465: warning: assignment discards qualifiers from pointer target type
[1925/1982] Compiling heimdal/lib/vers/print_version.c
[1926/1982] Compiling heimdal/kpasswd/kpasswd.c
[1927/1982] Compiling heimdal/lib/vers/print_version.c
[1928/1982] Compiling heimdal/lib/roken/rkpty.c
[1929/1982] Linking default/lib/replace/replace_testsuite
[1930/1982] Linking default/source4/lib/ldb/ldbadd
/usr/bin/ld: default/source4/lib/cmdline/popt_credentials_5.o: undefined reference to symbol 'cli_credentials_get_gensec_features' /usr/bin/ld: note: 'cli_credentials_get_gensec_features' is defined in DSO /usr/local/samba/lib/samba/libcredentials.so so try adding it to the linker command line /usr/local/samba/lib/samba/libcredentials.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
Waf: Leaving directory `/opt/openchange/trunk/samba4/source4/bin'
Build failed:  -> task failed (err #1):
{task: cc_link ldbutil_10.o,cmdline_10.o,ldbadd_11.o,popt_common_3.o,credentials_1.o,popt_credentials_5.o -> ldbadd}
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/opt/openchange/trunk/samba4/source4'
Error in samba4 make (error code 2)
make: *** [samba] Error 1

Jon

That error was because I patched the files manually first to test and missed one change in the patch with two changes in it. I created a patch set and applied that and it finished the 'make'.

Jon

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to