Bug 12578 - ERROR: source source3/smbd/notify_msg.c is in more than one subsystem of target 'smbstatus': ['smbd_base.objlist', 'smbstatus.objlist']
Summary: ERROR: source source3/smbd/notify_msg.c is in more than one subsystem of targ...
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.5.5
Hardware: PPC AIX
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-13 09:28 UTC by flynn8765
Modified: 2023-01-10 10:35 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.
Comment 3 Björn Jacke 2023-01-10 10:35:27 UTC
Closing this now, plenty of xlc fixes have been done meanwhile.