./configure --prefix=/usr/local/samba4 --with-static-modules=ALL --nonshared-binary=ALL ... symlink: smbdeleteshare -> ./smbdeleteshare Checking project rules ... ERROR: source source3/smbd/notify_msg.c is in more than one subsystem of target 'smbstatus': ['smbd_base.objlist', 'smbstatus.objlist'] clean, distclean,reconfigure does not solve this.
Created attachment 12932 [details] samba-4.5.5 AIX_XLC changes
After some quirks i was able to build samba on aix. I upgraded the buildhost to aix 7.1 TL3 (6.1 is a no go, since dirfd and maybe others are missing, and it seems to be a requirement). XLC was also upgraded to 13.1.3.3 build vars: export CC="xlc_r" export CXX="xlC_r" export OBJECT_MODE=64 export CFLAGS="-q64 -qmaxmem=-1 -qlanglvl=extc99 -qarch=pwr7 -DNDEBUG -DSYSV -D_AIX -D_AIX64 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O2 -I/opt/freeware/include" export CXXFLAGS=$CFLAGS export LDFLAGS="-L/opt/freeware/lib64 -L/opt/freeware/lib -Wl,-bexpfull -Wl,-b64" ./configure --prefix=/usr/local/samba4 --with-static-modules=ALL --nonshared-binary=ALL gmake gmake install patch with changes made attached, maybe they can find their way into to main tree.
Closing this now, plenty of xlc fixes have been done meanwhile.