Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2000 18:11:28 +0900
From:      Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
To:        tanis@gaspode.franken.de
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: make release failure
Message-ID:  <20000129181128K.shin@nd.net.fujitsu.co.jp>
In-Reply-To: <20000129090405.A45799@gaspode.franken.de>
References:  <20000129090405.A45799@gaspode.franken.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi.
> 
> I just tried a ,make release' with USA_RESIDENT set to NO. It failed with

> dit -lgnuregex -lkvm -lz
> telnet.lo: In function `setpolicy':
> telnet.lo(.text+0x22af): undefined reference to `ipsec_set_policy'
> telnet.lo(.text+0x22c0): undefined reference to `ipsec_strerror'
> telnet.lo(.text+0x2303): undefined reference to `ipsec_get_policylen'
> *** Error code 1
> Stop in /usr/obj/usr/src/release/fixit_crunch.
> *** Error code 1
> Stop in /usr/src/release.
> *** Error code 1
> Stop in /usr/src/release.

Sorry for the problem. Could you try with this patch for now?


Yoshinobu Inoue


--- usr.bin/telnet/Makefile.orig	Thu Jan 27 15:04:00 2000
+++ usr.bin/telnet/Makefile	Sun Jan 30 03:19:31 2000
@@ -40,12 +40,12 @@
 CFLAGS+=-DENV_HACK
 CFLAGS+=-DSKEY
 CFLAGS+=-I${.CURDIR}/../../lib
-CFLAGS+=-DIPSEC -DINET6
+CFLAGS+=-DINET6

 #CFLAGS+= -DKRB4

-DPADD= ${LIBTERMCAP} ${LIBTELNET} ${LIBIPSEC}
-LDADD= -ltermcap -ltelnet -lipsec
+DPADD= ${LIBTERMCAP} ${LIBTELNET}
+LDADD= -ltermcap -ltelnet
 #DPADD+=	${LIBKRB} ${LIBDES}
 #LDADD+=	-lkrb -ldes

@@ -57,7 +57,14 @@
 CRYPT_SRC+= ring.c ring.h telnet.c terminal.c utilities.c Makefile
 NOCRYPT_DIR=${.CURDIR}/Nocrypt

+.if !defined(RELEASE_CRUNCH)
+CFLAGS+=-DIPSEC
+DPADD= ${LIBIPSEC}
+LDADD= -lipsec
+.endif
+
 .include <bsd.prog.mk>

 nocrypt:
	@echo "Encryption code already removed."
+


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000129181128K.shin>