I am having samba build problems with 3.6.X and 4.0.9 When I build I get Compiling lib/system.c lib/system.c: In function 'get_atimespec': lib/system.c:231: error: incompatible types in return lib/system.c: In function 'get_mtimespec': lib/system.c:266: error: incompatible types in return lib/system.c: In function 'get_ctimespec': lib/system.c:301: error: incompatible types in return The following command failed: make: 1254-004 The error code from the last command is 1. Stop. I have tried with XLC and gcc and cc. I have applied patch 9911. What am I missing?
Just chatted with Gregory about this on IRC. This is happening only with the autoconf build, not with the waf build (which works fine).
Just wanted to add in the conversation. I can build 4.1.4 on waf..... but the smbd daemon entirely dies. I also get semlock, try and wait errors as well as a myriad of warnings.... If i do a waf build of 3.6.x it fails as well. using log level 10 nothing shows on aix /var/log/daemon.log Any help would be appreciated!
../source3/libads/kerberos.c: In function 'smb_krb5_get_ntstatus_from_krb5_error_init_creds_opt': ../source3/libads/kerberos.c:126: warning: 'krb5_get_init_creds_opt_get_error' is deprecated (declared at default/source4/heimdal/lib/krb5/krb5-protos.h:2008) [2396/3658] Compiling source3/libads/ads_status.c sem_trywait: Permission denied sem_post: Permission denied sem_destroy: Permission denied [2397/3658] Compiling source3/lib/system.c sem_trywait: Permission denied sem_post: Permission denied sem_destroy: Permission denied [2398/3658] Compiling source3/lib/sendfile.c sem_trywait: Permission denied sem_post: Permission denied sem_destroy: Permission denied ../source3/lib/system.c: In function 'get_atimespec': ../source3/lib/system.c:231: error: incompatible types in return ../source3/lib/system.c: In function 'get_mtimespec': ../source3/lib/system.c:266: error: incompatible types in return ../source3/lib/system.c: In function 'get_ctimespec': ../source3/lib/system.c:301: error: incompatible types in return Waf: Leaving directory `/rehash/samba-4.0.9/bin' Build failed: -> task failed (err #1): {task: cc system.c -> system_45.o} make: 1254-004 The error code from the last command is 1. WAF BUILD of 4.0.9
I have confirmed no builds of any versions work on aix 7.1 I have run into ldap build issues, ads compile issues. rpc join failures. NSS build module failures. AIX Does not appear to have any working status... Giving up.
as the Samba team has no AIX box available for testing and for development, this platform is not optimally supported right now. Feel free to donate a box to change this. I'll close this bug here as I cannot see this problem with autobuild in 4.0 and in 4.1 autobuild has even been removed.