Subject: Re: [netatalk-admins] Solaris compilation problem w/ asun2.0a17.2 + AFS
From: Pat Wilson (paw@northstar.dartmouth.edu)
Date: Sat Jul 01 1972 - 01:27:12 EST
> >=20
> > Try adding " -lc -L/usr/ucblib -lucb" just after -lsocket -lnsl -lwrap.=
> =20
> > 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 updat=
> e
> > their code to a more POSIX implementation.....
> >=20
>
> >Shudder<
>
> Read after me:
>
> ucblibs are evil, evil, evil...
>
> Applications that doesn't compile without resorting to the ucblibs should either
> be rewritten or ditched!
>
> There are so many gotchas and mismatches between the standard libraries/include
> files and the ucb stuff that is almost impossible to successfully get things to
> work with them.
>
> The type "DIR" in <dirent.h> and <sys/dir.h> is the first thing that comes to
> mind, although it seems they are mostly fixed in 2.6.
>
> > Randall
>
> Thomas
It's all very well and good to take the high moral ground, but the fact is
that this is what's necessary to make the thing compile, so... Apparently,
fixing their libraries to play nice isn't one of Transarc's top priorities.
At least the ucblibs are there.
Pat Wilson
paw@dartmouth.edu
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:28:27 EST