[OpenAFS-devel] AIX build fails with missing symbol .RXAFS_OpCodeIndex

Ben Huntsman ben@huntsmans.net
Sat, 13 Aug 2022 20:09:55 +0000


--_000_MWHPR0701MB3674FD012C613B3CB79B6EA5A7669MWHPR0701MB3674_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi guys-
   Still trying to get the master branch to compile on AIX 6.1.  I've gotte=
n through a number of hurdles, but I'm stuck on this one:

         /bin/sh ../../libtool --quiet --mode=3Dlink --tag=3DCC   xlc_r -st=
atic   -L/project/openafs/lib -L/project/openafs/lib  -O  -DRXDEBUG -DFSSYN=
C_BUILD_SERVER -DSALVSYNC_BUILD_CLIENT   -O -K -D_NONSTD_TYPES -D_MBI=3Dvoi=
d   -I/project/openafs/src/config -I/project/openafs/include  -I. -I.      =
-DAFS_PTHREAD_ENV   -o fileserver viced.o afsfileprocs.o host.o physio.o ca=
llback.o serialize_state.o  fsstats.o buffer.o dir.o salvage.o vnode.o volu=
me.o vutil.o partition.o fssync-server.o  clone.o devname.o common.o ihandl=
e.o listinodes.o namei_ops.o  salvsync-client.o daemon_com.o vg_cache.o vg_=
scan.o afsint.ss.o  ../../src/vlserver/liboafs_vldb.la  ../../src/rxkad/lib=
oafs_rxkad.la  ../../src/rxstat/liboafs_rxstat.la  ../../src/lwp/liboafs_lw=
pcompat.la  ../../src/libacl/liboafs_acl.la  ../../src/fsint/liboafs_fsint.=
la  ../../src/cmd/liboafs_cmd.la  ../../src/opr/liboafs_opr.la  ../../src/u=
til/liboafs_util.la -lafshcrypto -lrokenafs -lpthread -ldl
ld: 0711-224 WARNING: Duplicate symbol: .icreate
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more informati=
on.
ld: 0711-317 ERROR: Undefined symbol: .RXAFS_OpCodeIndex
make: 1254-004 The error code from the last command is 8.


   Where does RXAFS_OpCodeIndex even come from?  It's in the object file af=
sfileprocs.o, but not in afsfileprocs.c.  Any hints at where I should start=
 looking would be appreciated.

Thank you!

-Ben


--_000_MWHPR0701MB3674FD012C613B3CB79B6EA5A7669MWHPR0701MB3674_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
Hi guys-</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
&nbsp; &nbsp;Still trying to get the master branch to compile on AIX 6.1.&n=
bsp; I've gotten through a number of hurdles, but I'm stuck on this one:</d=
iv>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/bin/sh ../../libtool --quiet --mode=3Dli=
nk --tag=3DCC &nbsp; xlc_r -static &nbsp; -L/project/openafs/lib -L/project=
/openafs/lib &nbsp;-O &nbsp;-DRXDEBUG -DFSSYNC_BUILD_SERVER -DSALVSYNC_BUIL=
D_CLIENT &nbsp; -O -K -D_NONSTD_TYPES -D_MBI=3Dvoid &nbsp; -I/project/opena=
fs/src/config -I/project/openafs/include
 &nbsp;-I. -I. &nbsp; &nbsp; &nbsp;-DAFS_PTHREAD_ENV &nbsp; -o fileserver v=
iced.o afsfileprocs.o host.o physio.o callback.o serialize_state.o &nbsp;fs=
stats.o buffer.o dir.o salvage.o vnode.o volume.o vutil.o partition.o fssyn=
c-server.o &nbsp;clone.o devname.o common.o ihandle.o listinodes.o
 namei_ops.o &nbsp;salvsync-client.o daemon_com.o vg_cache.o vg_scan.o afsi=
nt.ss.o &nbsp;../../src/vlserver/liboafs_vldb.la &nbsp;../../src/rxkad/libo=
afs_rxkad.la &nbsp;../../src/rxstat/liboafs_rxstat.la &nbsp;../../src/lwp/l=
iboafs_lwpcompat.la &nbsp;../../src/libacl/liboafs_acl.la &nbsp;../../src/f=
sint/liboafs_fsint.la
 &nbsp;../../src/cmd/liboafs_cmd.la &nbsp;../../src/opr/liboafs_opr.la &nbs=
p;../../src/util/liboafs_util.la -lafshcrypto -lrokenafs -lpthread -ldl
<div>ld: 0711-224 WARNING: Duplicate symbol: .icreate</div>
<div>ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more info=
rmation.</div>
<div>ld: 0711-317 ERROR: Undefined symbol: .RXAFS_OpCodeIndex</div>
<div>make: 1254-004 The error code from the last command is 8.</div>
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
&nbsp; &nbsp;Where does RXAFS_OpCodeIndex even come from?&nbsp; It's in the=
 object file afsfileprocs.o, but not in afsfileprocs.c.&nbsp; Any hints at =
where I should start looking would be appreciated.</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
Thank you!</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
-Ben</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
<br>
</div>
</body>
</html>

--_000_MWHPR0701MB3674FD012C613B3CB79B6EA5A7669MWHPR0701MB3674_--