Subject: make to run CAP
To: None <port-mac68k@NetBSD.ORG>
From: Tsukasa Koizumi <pigtail@tpro.com>
List: port-mac68k
Date: 07/23/1997 02:25:26
Hello,

I'm trying to run CAP (patched level 198) on NetBSD/mac68k (SE/30).

It has succeeded to compile CAP with UAR or no option for IP tunnelling.
But I don't have UAR and IPTalk router in my network. I tryed to run 
Macintosh UAR, It would not work with CAP for UAR. I think, Macintosh 
UAR doesn't support CAP.

Compiling CAP with native EtherTalk and UAB, and compiling UAR don't 
succeed. Following are output of compiling them. ofcouse, I dont' forget 
to make a symbolic link from /usr/include/netinet/if_inarp.h to if_ether.h. 
Please make for me another or more advices to compile them.


*making UAR
--------------------
se30[4]# make
cc   -c uar.c
cc   -c aarp.c
cc   -c ddp.c
cc   -c rtmp.c
cc   -c nbp.c
cc   -c zip.c
cc   -c stats.c
cc   -c cap.c
cc   -c tnnl.c
cc   -c pf.c
pf.c: In function `setup_pf':
pf.c:878: dereferencing pointer to incomplete type
*** Error code 1

Stop.
----------------------

*making CAP with native EtherTalk or UAB
--------------------
se30[168]# make programs
(cd lib/cap; make)
cc -DPHASE2 -O -D__386BSD__  -c abatp.c
cc -DPHASE2 -O -D__386BSD__  -c abmisc.c
.
.
.
cc -DPHASE2 -O -D__386BSD__  -c scandir.c
(cd ../../support/ethertalk; make abetalk.o)
cc -DPHASE2 -O -D__386BSD__  -c abelap.c
cc -DPHASE2 -O -D__386BSD__  -c ethertalk.c
cc -DPHASE2 -O -D__386BSD__ -DAARPD -c ../uab/aarp.c
../uab/aarp.c: In function `aarp_listener':
../uab/aarp.c:597: storage size of `arp' isn't known
../uab/aarp.c: At top level:
../uab/aarp.c:701: field `aaph_arp' has incomplete type
../uab/aarp.c: In function `probe_and_request_driver':
../uab/aarp.c:809: sizeof applied to an incomplete type
../uab/aarp.c:857: sizeof applied to an incomplete type
../uab/aarp.c: In function `aarp_reply':
../uab/aarp.c:926: sizeof applied to an incomplete type
../uab/aarp.c:933: dereferencing pointer to incomplete type
../uab/aarp.c:934: dereferencing pointer to incomplete type
../uab/aarp.c:938: dereferencing pointer to incomplete type
../uab/aarp.c:938: dereferencing pointer to incomplete type
../uab/aarp.c:939: dereferencing pointer to incomplete type
../uab/aarp.c:942: dereferencing pointer to incomplete type
../uab/aarp.c:944: sizeof applied to an incomplete type
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
-------------------


-----------------------------------------------------------
Tsukasa Koizumi @ TAMa-Te-bAKO Project (Tokyo, Japan)
mailto:pigtail@tpro.com / JCD03321@niftyserve.or.jp
WWW Home Page URL http://www.tpro.com/
------------------------- by Eudora Pro 3.0-J for Windows -