Subject: Re: Netatalk
To: Jesse Swensen <jrs@pagesz.net>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 05/27/1997 16:37:05
> 
> At 12:12 PM -0700 5/27/97, Bill Studenmund wrote:
> >Uhm, what did you do? How did it fail? What kernel are you using?
> 
> I downloaded netatalk14b2.netbsd.b2.tgz.  I unziped, untared and ran make
> (according to the READMEs.)  I am using NetBSD 1.2.1 (GENERIC).  When I run
> make I get to the following command:
> gcc -Werror -I../../sys/netbds/ -p -DBSD4_4 -02 -I.../.../include -c
> asp_close.c
> 
> The error I get is:
> asp_close.c:27: netatalk/at.h: No such file or directory
> 
> 
> Please be gentle.  I am just beginning.  I feel this is a simple path
> problem.  I picked up a copy of "Managing Projects with make" and am pawing
> through it.  I also don't have a clear picture of what I need to do.

It's not a simple path problem. :-)

NetBSD 1.2.1 does not include Netatalk support. 1.2.1 is 1.2.0 with
a number of bug fixes. It has no new features. Netatalk support counts
as a new feature. :-) Among other things, the netatalk include files
are missing (which leads to these errors).

You did get the right netatalk kit.

> >You need to be able to compile your own kernel, as I don't think any of
> >the generic kernels have Netatalk compiled in.
> 
> I think I can do that...

Good! As the README says, just add "options NETATALK" to the kernel
config, and you're set.

> >You need a working Ethernet card.
> 
> I have that...

:-) That comment was more an indication that we don't have LocalTalk yet.

> >You need to be running a very current snapshot (like the middle of
> >May) as there was a compiler bug which touched Netatalk, which was
> >recently fixed.
> 
> I downloaded current-970402 (GENERIC-27) and (GENERICSBC-27) but I have yet
> to find a readme as to how to install it and the other binaries that came
> with it.  As I said, I am just beginning...

The snapshots should just instal like 1.2.1 did.

I'd recomend either the April one with kernel patches I can send you,
or the one which will be released soon.

Take care,

Bill