Subject: Re: genassym: not found WAS: ../../../../net/files.pf:18: syntax
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Hammond, Robin-David%KB3IEN <muaddib@databit7.com>
List: port-macppc
Date: 01/16/2006 05:12:00
i do believe that did it,
/usr/src/tooldir.NetBSD-3.0-powerpc/bin/nbmake-macppc depend
went off without a hitch!
/usr/src/tooldir.NetBSD-3.0-powerpc/bin/nbmake-macppc
ultimately failed:

( i recall a similar failure when making pf as an lkm for the 202 kernel, 
i suspect i have notes on that already )

bash-2.05b# /usr/src/tooldir.NetBSD-3.0-powerpc/bin/nbmake-macppc
#   compile  DOLLY/pf.o
/usr/src/tooldir.NetBSD-3.0-powerpc/bin/powerpc--netbsd-gcc 
-mno-strict-align -msoft-float -Wa,-maltivec -ffreestanding -O2 
-Wreturn-type -Werr
or -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith 
-Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch -Wshadow 
-Wcast-qual
  -Wwrite-strings -Wno-sign-compare -Wno-shadow 
-fno-zero-initialized-in-bss -Dmacppc=macppc -I. -I../../../../arch 
-I../../../.. -nostdinc -DLK
M -DZS_CONSOLE_ABORT -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT 
-I../../../../lib/libkern/../../../common/lib/libc/quad 
-I../../../../lib/libkern/..
/../../common/lib/libc/string 
-I../../../../lib/libkern/../../../common/lib/libc/arch/powerpc/string 
-I../../../../dist/pf -I../../../../dist/i
pf -c ../../../../dist/pf/net/pf.c
../../../../dist/pf/net/pf.c: In function `pf_send_tcp':
../../../../dist/pf/net/pf.c:1523: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c:1526: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c:1528: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c:1529: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c: In function `pf_send_icmp':
../../../../dist/pf/net/pf.c:1673: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c:1676: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c:1678: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c:1679: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c: In function `pf_test':
../../../../dist/pf/net/pf.c:6063: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c:6067: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c:6069: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c:6071: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c:6072: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c: In function `pf_test6':
../../../../dist/pf/net/pf.c:6404: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c:6408: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c:6410: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c:6412: error: dereferencing pointer to 
incomplete type
../../../../dist/pf/net/pf.c:6413: error: dereferencing pointer to 
incomplete type

*** Failed target:  pf.o
*** Failed command: echo '# ' "compile DOLLY/pf.o"; echo 
/usr/src/tooldir.NetBSD-3.0-powerpc/bin/powerpc--netbsd-gcc 
-mno-strict-align -msoft-f
loat -Wa,-maltivec -ffreestanding -O2 -Wreturn-type -Werror -Wall 
-Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes 
-Wstri
ct-prototypes -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings 
-Wno-sign-compare -Wno-shadow -fno-zero-initialized-in-bss -Dmacppc=m
acppc -I. -I../../../../arch -I../../../.. -nostdinc -DLKM 
-DZS_CONSOLE_ABORT -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT 
-I../../../../lib/libkern/.
./../../common/lib/libc/quad 
-I../../../../lib/libkern/../../../common/lib/libc/string 
-I../../../../lib/libkern/../../../common/lib/libc/arch/
powerpc/string -I../../../../dist/pf -I../../../../dist/ipf -c 
../../../../dist/pf/net/pf.c; 
/usr/src/tooldir.NetBSD-3.0-powerpc/bin/powerpc--n
etbsd-gcc -mno-strict-align -msoft-float -Wa,-maltivec -ffreestanding -O2 
-Wreturn-type -Werror -Wall -Wno-main -Wno-format-zero-length -Wpoint
er-arith -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch 
-Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -Wno-shadow -fn
o-zero-initialized-in-bss -Dmacppc=macppc -I. -I../../../../arch 
-I../../../.. -nostdinc -DLKM -DZS_CONSOLE_ABORT -DMAXUSERS=32 -D_KERNEL 
-D_KE
RNEL_OPT -I../../../../lib/libkern/../../../common/lib/libc/quad 
-I../../../../lib/libkern/../../../common/lib/libc/string 
-I../../../../lib/li
bkern/../../../common/lib/libc/arch/powerpc/string -I../../../../dist/pf 
-I../../../../dist/ipf -c ../../../../dist/pf/net/pf.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/arch/macppc/compile/DOLLY


Merci!

On Sun, 15 Jan 2006, Manuel Bouyer wrote:

> Date: Sun, 15 Jan 2006 23:36:08 +0100
> From: Manuel Bouyer <bouyer@antioche.eu.org>
> To: "hammond, robindavid%KB3IEN" <KB3IEN.US@NetBSD.org>
> Cc: port-macppc@NetBSD.org, Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz>
> Subject: Re: genassym: not found WAS: ../../../../net/files.pf:18: syntax
>     error
> 
> On Sun, Jan 15, 2006 at 09:24:49PM +0000, hammond, robindavid%KB3IEN wrote:
>>
>> indeed, i wasnt using the rebuilt tools:
>> /usr/src/tooldir.NetBSD-3.0-powerpc/bin/nbconfig DOLLY  <- this now works!
>> Build directory is ../compile/DOLLY
>> Don't forget to run "make depend"
>> cd ../compile/DOLLY
>> /usr/src/tooldir.NetBSD-3.0-powerpc/bin/nbmake depend <- this makes some
>
> You want /usr/src/tooldir.NetBSD-3.0-powerpc/bin/nbmake-macppc depend
> (or maybe nbmake-powerpc, I don't remember)
>
> -- 
> Manuel Bouyer <bouyer@antioche.eu.org>
>     NetBSD: 26 ans d'experience feront toujours la difference
> --
>

  Microsoft: Where do you want to go tomorrow?
  Linux: Where do you want to go today?
  BSD: Are you guys coming, or what?


Robin-David Hammond	KB3IEN
 	www.aresnyc.org.