The Samba-Bugzilla – Bug 9644
Compile of source3/lib/afs.c fails
Last modified: 2013-03-04 09:29:05 UTC
Build is configured with --with-fake-kaserver option. Fails with:
"lib/afs.c", line 244.48: 1506-280 (W) Function argument assignment between types "void*" and "int" is not allowed.
"lib/afs.c", line 244.47: 1506-098 (E) Missing argument(s).
The following command failed:
make: The error code from the last command is 1.
In source3/lib/afs.c:afs_login() the call to lp_servicename that is the second argument to talloc_sub_advanced is missing the talloc context.
Created attachment 8569 [details]
this patch (against master) should fix it
Thanks, this is the change that built and is working for me.
Created attachment 8581 [details]
patch for v4-0-test (cherry-picked from master)
Assigning to Karolin for inclusion into v4-0-next
Pushed to autobuild-v4-0-test.
Pushed to v4-0-test.
Closing out bug report.