Q.)  How do I get netatalk+asun to compile under solaris 8?

A.) Note, this has only been done with gcc 2.95.2, your milage may vary
with SUNWpro cc.  Sun decided to put some obsolete defines in
/usr/include/netinet/in.h, one of which conflicts with a struct member in
the kernel driver.  The quick and dirty way to get around this is to
comment out the following at line 235 of /usr/include/netinet/in.h

#define s_net   _S_un._S_un_b.s_b1      /* OBSOLETE: network */

comment out or remove the offender.  Related Note, DES key exchange and
PAM support are incompatible with Solaris 8.  Comment both out of the main
Makefile. DES support will cause the make to fail, PAM support will
compile file, but causes afpd to segfault when users try to log in.


Hope this is helpful.

Alan Palmer
[EMAIL PROTECTED]


Reply via email to