Subject: Re: Multiple make build problems
To: None <itojun@iijlab.net>
From: Ken Cross <kcross@ntown.com>
List: current-users
Date: 08/31/2001 09:30:44
>
> >One more error encountered (after I hacked the error I described earlier
to
> >proceed with the build):
> >
>
>cc -O2 -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -W
n
> >o-uninitialized -Werror -DIPSEC_DEBUG -DIPSEC -DINET6
> >-I/usr/src/lib/libipsec -I. -DYY_NO_UNPUT -c policy_parse.c
> >cc1: warnings being treated as errors
> >/usr/src/lib/libipsec/policy_parse.y: In function `policy_parse':
> >/usr/src/lib/libipsec/policy_parse.y:400: warning: implicit declaration
of
> >function `__libyyparse'
> >
> >*** Error code 1
>
> my guess is you have obsolete version of yacc.
>
> itojun

It's using the yacc that was built with MKTOOLS.  Where does that leave us?

Aren't the -Wstrict-prototypes, -Wmissing-prototypes and -Werror a little
contradictory?

Ken