[OpenAFS] installing afs from source on Fedora 1

Larry W. Cashdollar lwc@vapid.ath.cx
Wed, 12 Nov 2003 12:14:53 -0500 (EST)


On Tue, 11 Nov 2003, David Botsch wrote:

> Ok, got rid of the -lkrb524 in the afs-krb5 Makefile, and now the build of
> afs-krb5 fails with:
>
> gcc -o aklog aklog.o aklog_main.o aklog_param.o krb_util.o linked_list.o
> adderrtable.o -lkrb5 -lk5crypto -lcom_err -lresolv
> -L/usr/src/redhat/BUILD/openafs-1.2.10/afs-krb5/src/../../i386_linux24/dest//lib
> -L/usr/src/redhat/BUILD/openafs-1.2.10/afs-krb5/src/../../i386_linux24/dest//lib/afs
> -lsys -lprot -lubik -lauth -lrxkad -lrx -llwp -ldes -lsys
> /usr/src/redhat/BUILD/openafs-1.2.10/afs-krb5/src/../../i386_linux24/dest//lib/afs/util.a
> /usr/src/redhat/BUILD/openafs-1.2.10/afs-krb5/src/../../i386_linux24/dest//lib/afs/libcom_err.a(error_msg.o)(.text+0x204):
> In function `add_to_error_table':
> : multiple definition of `add_to_error_table'
> adderrtable.o(.text+0x0):/usr/src/redhat/BUILD/openafs-1.2.10/afs-krb5/src/adderrtable.c:28:
> first defined here
> /usr/bin/ld: Warning: size of symbol `add_to_error_table' changed from 18 in
> adderrtable.o to 54 in
> /usr/src/redhat/BUILD/openafs-1.2.10/afs-krb5/src/../../i386_linux24/dest//lib/afs/libcom_err.a(error_msg.o)
> aklog_param.o(.text+0x21e): In function `aklog_init_params':
> /usr/src/redhat/BUILD/openafs-1.2.10/afs-krb5/src/aklog_param.c:213: warning:
> the `getwd' function is dangerous and should not be used.
> collect2: ld returned 1 exit status
> make: *** [aklog] Error 1

I saw this same error on solaris, the problem was adderrtable.o was
listed twice in the makefile.  I dont see that here however.