fix module linking on AIX
Jelmer Vernooij
jelmer at samba.org
Wed Apr 16 14:46:44 GMT 2003
Can you check the ld manpage and lookup up what -berok is supposed to
do ?
Jelmer
On Wed, Apr 16, 2003 at 10:36:11AM -0400, Roylance, Stephen D. wrote about 'fix module linking on AIX':
> The following patch to configure.in changes LDSHFLAGS to allow enresolved
> external references.
> *** ../../../cvs2/samba/source/configure.in Wed Apr 16 09:10:52 2003
> --- configure.in Tue Apr 15 09:49:10 2003
> ***************
> *** 996,1002 ****
> ;;
> *aix*) AC_DEFINE(AIX,1,[Whether the host os is aix])
> BLDSHARED="true"
> ! LDSHFLAGS="-Wl,-bexpall,-bM:SRE,-bnoentry"
> DYNEXP="-Wl,-brtl,-bexpall"
> PICFLAG="-O2"
> if test "${GCC}" != "yes"; then
> --- 996,1002 ----
> ;;
> *aix*) AC_DEFINE(AIX,1,[Whether the host os is aix])
> BLDSHARED="true"
> ! LDSHFLAGS="-Wl,-bexpall,-bM:SRE,-bnoentry,-berok"
> DYNEXP="-Wl,-brtl,-bexpall"
> PICFLAG="-O2"
> if test "${GCC}" != "yes"; then
> I'm not sure if this is correct, but it allows HEAD to build for me on AIX 5.1
> -Steve
--
Jelmer Vernooij <jelmer at samba.org>
~/.plan:
update docs!
fix smbclient -M to win9x computers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030416/d8a93891/attachment.bin
More information about the samba-technical
mailing list