Subject: Re: trouble compiling sbin/pfctl
To: Jukka Salmi <jukka-netbsd@2004.salmi.ch>
From: Jun-ichiro itojun Hagino <itojun@iijlab.net>
List: current-users
Date: 06/23/2004 10:47:53
>Hisashi T Fujinaka --> current-users (2004-06-22 16:51:08 -0700):
>> Maybe my yacc is too old?
>>
>> # compile pfctl/parse.o
>> /usr/src/obj.i386/tooldir.NetBSD-2.0F-i386/bin/i386--netbsdelf-gcc -O2
>> -Wall -Wstrict-prototypes -Wmissing-pr
>> ototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional
>> -Wno-uninitialized -Werror -I/usr/src/dist/pf/s
>> bin/pfctl -nostdinc -isystem /usr/src/obj.i386/destdir.i386/usr/include
>> -c parse.c
>> /usr/src/dist/pf/sbin/pfctl/parse.y: In function `yyparse':
>> /usr/src/dist/pf/sbin/pfctl/parse.y:1291: error: `CBQCLF_BORROW'
>> undeclared (first use in this function)
>> /usr/src/dist/pf/sbin/pfctl/parse.y:1291: error: (Each undeclared
>> identifier is reported only once
>> /usr/src/dist/pf/sbin/pfctl/parse.y:1291: error: for each function it
>> appears in.)
>
>Same problem here...
it seems that my environment has more recent altq headers in
/usr/include/altq and build goes successful. i'll put workarounds
(#ifdef or whatever) soon-ish.
itojun