Re: [netatalk-admins] Solaris compilation problem w/ asun2.0a17.2 + AFS


Subject: Re: [netatalk-admins] Solaris compilation problem w/ asun2.0a17.2 + AFS
From: Thomas Tornblom (Thomas.Tornblom@Hax.SE)
Date: Thu Dec 11 1997 - 13:11:51 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.....
>

>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

Real life: Thomas Törnblom Email: Thomas.Tornblom@Hax.SE
Snail mail: HB Hax Phone: +46 18 290 290
                Banvallsvägen 14 Fax: +46 18 290 291
                S - 754 40 Uppsala, Sweden Cellular: +46 708 323118



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:28:27 EST