[OpenAFS-devel] RestrictedQuery strange build failure on AIX

Gergely Risko gergely@risko.hu
Wed, 19 Mar 2014 21:23:08 +0100


Hi,

AIX noob here :(

Can someone please help me figure out why this fails:
http://buildbot.openafs.org:8010/builders/aix-builder/builds/11224/steps/compile/logs/stdio

> 	 /bin/sh ../../libtool --quiet --mode=link --tag=CC  xlc_r -static  -L/scratch/buildbot/slave2/power-aix/build/lib -L/scratch/buildbot/slave2/power-aix/build/lib  -O     -O -K -D_NONSTD_TYPES -D_MBI=void   -I/scratch/buildbot/slave2/power-aix/build/src/config -I/scratch/buildbot/slave2/power-aix/build/include  -I. -I.       -DAFS_PTHREAD_ENV   -o vlserver vlserver.o vlutils.o vlprocs.o vldbint.ss.o  vldbint.xdr.o  ../../src/rxstat/liboafs_rxstat.la  ../../src/audit/liboafs_audit.la  ../../src/ubik/liboafs_ubik.la  ../../src/sys/liboafs_sys.la  ../../src/rx/liboafs_rx.la  ../../src/rxstat/liboafs_rxstat.la  ../../src/rxkad/liboafs_rxkad.la  ../../src/lwp/liboafs_lwpcompat.la  ../../src/cmd/liboafs_cmd.la  ../../src/util/liboafs_util.la  ../../src/opr/liboafs_opr.la -lafshcrypto -lrokenafs -lpthread -ldl -ldl
> ld: 0711-317 ERROR: Undefined symbol: .afsconf_CheckRestrictedQuery
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

I have no access to an AIX box, so have no chance to debug this.  Google
said that this could be because of linking order, but vlprocs.c is
already using afsconf_SuperUser which is in the same file as the new
afsconf_CheckRestrictedQuery.  So this seems strange to me.

Ideas on what to try?

Thanks,
Gergely