Subject: Re: Multiple make build problems
To: Simon Burge <simonb@wasabisystems.com>
From: Ken Cross <kcross@ntown.com>
List: current-users
Date: 08/30/2001 22:39:41
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 -Wn
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


Ken



----- Original Message -----
From: "Ken Cross" <kcross@ntown.com>
To: "Simon Burge" <simonb@wasabisystems.com>
Cc: <current-users@netbsd.org>
Sent: Thursday, August 30, 2001 10:15 PM
Subject: Re: Multiple make build problems


> Excellent suggestion -- I recommend that it be added to UPDATING until
> everything settles out.
>
> The build got *much* further, but still didn't make it:
>
> cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> -Wno-uninitialized -Werror -DHAS_CGETENT -I/usr/src/lib/lib
> telnet -DENCRYPTION -DAUTHENTICATION -DKRB4 -DDES_ENCRYPTION
> -DKRB5 -I/usr/include/krb5 -I/usr/include/kerberosIV -c
> /usr/src/lib/libtelnet/kerberos5.c
> cc1: warnings being treated as errors
> /usr/src/lib/libtelnet/kerberos5.c: In function `kerberos5_is':
> /usr/src/lib/libtelnet/kerberos5.c:348: warning: passing arg 2 of
> `krb5_mk_rep' from incompatible pointer type
> /usr/src/lib/libtelnet/kerberos5.c:435: warning: implicit declaration of
> function `krb5_rd_cred2'
>
> *** Error code 1
>
> Are these known/fixable problems?
>
> Ken
>
>
> ----- Original Message -----
> From: "Simon Burge" <simonb@wasabisystems.com>
> To: "Ken Cross" <kcross@ntown.com>
> Cc: <current-users@netbsd.org>
> Sent: Thursday, August 30, 2001 8:39 PM
> Subject: Re: Multiple make build problems
>
>
> > "Ken Cross" wrote:
> >
> > > setprogname is in the libc sources -- I tried building just libc and
hit
> the
> > > LINT problem.
> >
> > You can build libc without the lint stubs:
> >
> > cd /usr/src/lib/libc && make MKLINT=no dependall install
> >
> > That _should_ get you around most, if not all, of your problems.
> >
> > Simon.
> > --
> > Simon Burge                            <simonb@wasabisystems.com>
> > NetBSD CDs, Support and Service:    http://www.wasabisystems.com/
>
>