Subject: netbsd-3 build issues for the VAX platform
To: None <current-users@NetBSD.org>
From: Kirk Russell <kirk@ba23.org>
List: current-users
Date: 07/18/2005 08:56:11
Hello,

I cannot get netbsd-3 to compile for the VAX platform.  I would guess the
fix is to merge the change from
src/crypto/dist/ipsec-tools/src/racoon/oakley.c rev 1.3 to netbsd-3 branch.
I made this change, to my local tree, and it appears to build okay now.

Here is the diff between the HEAD and netbsd-3 branches:
$ cvs diff -r 1.3 oakley.c
Index: oakley.c
===================================================================
RCS file: /cvsroot/src/crypto/dist/ipsec-tools/src/racoon/oakley.c,v
retrieving revision 1.3
diff -r1.3 oakley.c
1c1
< /*    $NetBSD: oakley.c,v 1.3 2005/07/14 11:26:57 he Exp $    */
---
> /*    $NetBSD: oakley.c,v 1.1.1.3.2.1 2005/07/12 17:30:02 tron Exp $  */
2020d2019
<                STACK_OF(X509) *certs=NULL;
2039a2039
>                STACK_OF(X509) *certs=NULL;

Here is the output of the error:
#   compile  racoon/oakley.o
/home/builder/bld/o/vax/tools/bin/vax--netbsdelf-gcc -O2   -Werror   -I/home/bui
lder/bld/src/crypto/dist/ipsec-tools/src/racoon -I/home/builder/bld/src/crypto/d
ist/ipsec-tools/src/libipsec -I/home/builder/bld/src/lib/libipsec -I. -I/home/bu
ilder/bld/src/crypto/dist/ipsec-tools/src/racoon/missing -DIPSEC_DEBUG -DHAVE_CO
NFIG_H -DADMINPORTDIR=\"/var/run\" -DSYSCONFDIR=\"/etc/racoon\" -DSADB_X_EALG_AE
SCBC=SADB_X_EALG_AES -DHAVE_LIBRADIUS -DHAVE_LIBPAM -DHAVE_GSSAPI -DINET6  -nost
dinc -isystem /home/builder/bld/o/vax/dest/usr/include  -c    /home/builder/bld/
src/crypto/dist/ipsec-tools/src/racoon/oakley.c
/home/builder/bld/src/crypto/dist/ipsec-tools/src/racoon/oakley.c: In function `
oakley_savecert':
/home/builder/bld/src/crypto/dist/ipsec-tools/src/racoon/oakley.c:2039: parse er
ror before `*'
/home/builder/bld/src/crypto/dist/ipsec-tools/src/racoon/oakley.c:2044: `certs'
undeclared (first use in this function)
/home/builder/bld/src/crypto/dist/ipsec-tools/src/racoon/oakley.c:2044: (Each un
declared identifier is reported only once
/home/builder/bld/src/crypto/dist/ipsec-tools/src/racoon/oakley.c:2044: for each
 function it appears in.)

-- 
Kirk Russell            <kirk@ba23.org>            http://www.ba23.org/
Bridlewood Software Testers Guild                  Ottawa Ontario Canada