Sol7/asun213/AFS35 "renamefile" linking error?


Subject: Sol7/asun213/AFS35 "renamefile" linking error?
From: Paul T Hirose (pthirose@supreme.engr.ucdavis.edu)
Date: Wed Jan 26 2000 - 19:06:57 EST


In short...

Solaris 7 (32bit), netatalk-1.4b2+asun2.1.3, AFS-3.5. Make compiles and
links everything 'cept etc/afpd/afpd. This is built using gcc 2.95.2
The error I get is:
   ld: fatal: symbol `renamefile' is multiply defined:
           (file file.o and file /local/afs/afsws/lib/afs/util.a(fileutil.o));
   ld: fatal: File processing errors. No output written to afpd
Any ideas on how to fix this?

In a bit more detail:
I've tried just commenting out .../afs/util.a from etc/afpd/Makefile but
that doesn't work. I was gonna commentout renamefile in etc/afpd/file.c
but I figure that's probly not a good idea, since I dunno what arguments
or return values the renamefile function in .../afs/util.a has or returns.

On a related-tangent:
This error does *not* exist in the "pre-asun2.1.4-35" code, which compiles
and links everything cleanly. However, when running 2.1.4-35, I get an
error "uam_load(uams_clrtxt.so)" which I've narrowed down to
etc/afpd/uam.c, line 36 (which in turn uses mod_open, which in turn I
think, is just a call to dlopen). I just dunno anything about using
dynamic libs so I really dunno how to debug past this.

Any ideas on getting 213 or 214-35 are appreciated.
Thanks,
PH

-- 
Paul Hirose          : pthirose@ucdavis.edu : Sysadm Motto: rm -fr /my/life
1035 Academic Surge  : Programmer/Analyst   : Backup Motto  : rm -fr /
One Shields Avenue   : Fax   (530) 752-4465 :-------------------------------
Davis, CA 95616-8770 : Voice (530) 752-7181 : rec.pets.cat.anecdotes \(^_^)/



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:29:53 EST