Bug 12578 - ERROR: source source3/smbd/notify_msg.c is in more than one subsystem of target 'smbstatus': ['smbd_base.objlist', 'smbstatus.objlist']
ERROR: source source3/smbd/notify_msg.c is in more than one subsystem of targ...
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build
4.5.5
PPC AIX
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-13 09:28 UTC by flynn8765
Modified: 2017-02-15 09:04 UTC (History)
1 user (show)

See Also:


Attachments
samba-4.5.5 AIX_XLC changes (55.69 KB, patch)
2017-02-15 08:56 UTC, flynn8765
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description flynn8765 2017-02-13 09:28:03 UTC
./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.
Comment 1 flynn8765 2017-02-15 08:56:02 UTC
Created attachment 12932 [details]
samba-4.5.5 AIX_XLC changes
Comment 2 flynn8765 2017-02-15 09:04:10 UTC
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.