Subject: Re: [netatalk-admins] Solaris compilation problem w/ asun2.0a17.2 + AFS
From: Randall S. Winchester (rsw@Glue.umd.edu)
Date: Thu Dec 11 1997 - 11:13:43 EST
Try adding " -lc -L/usr/ucblib -lucb" just after -lsocket -lnsl -lwrap.
At our site the first thing we do when we get a new Solaris release is;
"cd /usr/lib;ln -s ../ucblib/libucb* ." and the we use "-lc -lucb" at the
end of every piece of code that uses AFS on Solaris. Too much of AFS is
still based on "BSD 4.2 C". There have been requests to Transarc to update
their code to a more POSIX implementation.....
Randall
On Thu, 11 Dec 1997, Pat Wilson wrote:
:
: asun2.0a17.2 compiles fine on my Solaris 2.x machine, but when I try to
: pull in AFS, I get complaints about undefined "sigvec" and "sigsetmask" in
: the AFS library liblwp.a. Am I missing some compatibility library or
: header file somewhere?
:
: Thanks.
:
: Pat Wilson
: paw@dartmouth.edu
:
: gcc -I../../sys/solaris -D__svr4__ -DSOLARIS -DAFS -O -I../../include
: -I/usr/afsws/include -DAPPLCNAME -DCRLF -o afpd unix.o afs.o kuam.o
: send_to_kdc.o lifetime.o ofork.o main.o switch.o auth.o volume.o
: directory.o file.o enumerate.o desktop.o filedir.o fork.o appl.o gettok.o
: bprint.o status.o afp_options.o afp_asp.o afp_dsi.o messages.o config.o
: -L../../libatalk -L/usr/afsws/lib -L/usr/afsws/lib/afs -L/usr/local/lib
: -latalk -lkauth -lprot -lubik -lauth -lsys -lrxkad -lrx -laudit -llwp
: -lcmd -lcom_err /usr/afsws/lib/afs/util.a -ldes -lsocket -lnsl -lwrap
:
: Undefined first referenced
: symbol in file
: sigvec /usr/afsws/lib/liblwp.a(iomgr.o)
: sigsetmask /usr/afsws/lib/liblwp.a(preempt.o)
:
:
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:28:27 EST