[OpenAFS] Balance for OpenAFS and linux

Derrick J Brashear shadow@dementia.org
Fri, 13 Feb 2004 15:11:29 -0500 (EST)


On Fri, 13 Feb 2004, Jon Nials wrote:

> Has anyone ported balance (ftp://ftp.andrew.cmu.edu/pub/AFS-Tools/) to
> work with OpenAFS and Linux?

yes, at least for OpenAFS, but i bet we didn't publish it.

> gcc balance.o afscall.o balutil.o xmalloc.o config-yacc.o config-lex.o match.o hash.o mygetopt.o agent.o agent_bysize.o agent_bynumber.o agent_byweekuse.o state.o agent_byoverdraft.o -o balance  -L/usr/lib -L/usr/lib/afs -lvolser -lvldb -lkauth -lubik -lauth -lcmd -lrxkad -ldes -lrx -lsys -llwp -laudit -lcom_err /usr/lib/afs/util.a -ly -ll -lresolv
> /usr/lib/afs/libvldb.a(vl_errors.o)(.text+0xc): In function `initialize_VL_error_table':
> : undefined reference to `add_to_error_table'
> /usr/lib/afs/libkauth.a(kaerrors.o)(.text+0xc): In function `initialize_KA_error_table':
> : undefined reference to `add_to_error_table'
> /usr/lib/libubik.a(uerrors.o)(.text+0xc): In function `initialize_U_error_table':
> : undefined reference to `add_to_error_table'
> /usr/lib/afs/libauth.a(acfg_errors.o)(.text+0xc): In function `initialize_ACFG_error_table':
> : undefined reference to `add_to_error_table'
> /usr/lib/afs/libauth.a(ktc_errors.o)(.text+0xc): In function `initialize_KTC_error_table':
> : undefined reference to `add_to_error_table'
> /usr/lib/afs/libcmd.a(cmd_errors.o)(.text+0xc): more undefined references to `add_to_error_table' follow
> collect2: ld returned 1 exit status

needs to link the afs version of libcom_err