[OpenAFS] installing afs from source on Fedora 1

David Botsch dwb7@ccmr.cornell.edu
Tue, 11 Nov 2003 16:58:58 -0500


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

On Tue, Nov 11, 2003 at 03:49:33PM -0500, David Botsch wrote:
> Well, to reply to myself.. found the following in the Krb-1.3.1 readme:
> 
> * [1491] The client-side functionality of the krb524 library has been
>   moved into the krb5 library.
> 
> 
> On Tue, Nov 11, 2003 at 12:37:40PM -0500, David Botsch wrote:
> > Working on getting openafs source rpm from redhat 9 to compile. If someone has
> > accomplished this and can save me some time... great!
> > 
> > Btw, the source from .tar.gz compiled fine on test 3, although, as I menioned
> > in an earlier post, UKERNEL was defined and should not have been which made
> > compiling stuff that depended on openafs not work.
> > 
> > Anyway, so far, with the rh9 srpm, have had to remove --enable-redhat-buildsys
> > as I was getting all type of weird errors.
> > 
> > Now, I'm getting : /usr/bin/ld: cannot find -lkrb524
> > collect2: ld returned 1 exit status
> > make: *** [aklog] Error 1
> > + exit 1
> > error: Bad exit status from /var/tmp/rpm-tmp.83666 (%build)
> > 
> > well, it seems that the krb5 rpms on fedora don't include a libkrb524 anymore.
> > Whether this is a redhat-ism or a difference between krb5 1.2 and 1.3, I don't
> > know.
> > 
> > -- 
> > ********************************
> > David William Botsch
> > Consultant/Advisor II
> > CCMR Computing Facility
> > dwb7@ccmr.cornell.edu
> > ********************************
> > _______________________________________________
> > OpenAFS-info mailing list
> > OpenAFS-info@openafs.org
> > https://lists.openafs.org/mailman/listinfo/openafs-info
> 
> -- 
> ********************************
> David William Botsch
> Consultant/Advisor II
> CCMR Computing Facility
> dwb7@ccmr.cornell.edu
> ********************************
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info

-- 
********************************
David William Botsch
Consultant/Advisor II
CCMR Computing Facility
dwb7@ccmr.cornell.edu
********************************