[OpenAFS] Balance for OpenAFS and linux

Derek Atkins warlord@MIT.EDU
Fri, 13 Feb 2004 17:41:10 -0500


This is a missing -lcom_err

-derek

Jon Nials <jnials@dmotorworks.com> writes:

> Has anyone ported balance (ftp://ftp.andrew.cmu.edu/pub/AFS-Tools/) to
> work with OpenAFS and Linux?
>
> None  of  the versions there will  compile.   I'll be glad  to work on
> porting it, but it would  be great if someone could  give me a leg up.
> Here are the points where the make breaks....
>
> ~~~SNIP~~~
> 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
> make: *** [balance] Error 1
> ~~~SNIP~~~
>
> -Jon
> -- 
> Jon R. Nials
> Lead Systems Administrator
> Digital Motorworks, L.P.
> Work:  512-692-1039
> Pager: jnials@skytel.com
> jnials@digitalmotorworks.com
> www.digitalmotorworks.com
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
>

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available