From nobody@FreeBSD.org Tue Mar 11 15:44:47 2008 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E4AC1065671 for ; Tue, 11 Mar 2008 15:44:47 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 14B4B8FC37 for ; Tue, 11 Mar 2008 15:44:47 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2BFfWLk061815 for ; Tue, 11 Mar 2008 15:41:32 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m2BFfWJT061814; Tue, 11 Mar 2008 15:41:32 GMT (envelope-from nobody) Message-Id: <200803111541.m2BFfWJT061814@www.freebsd.org> Date: Tue, 11 Mar 2008 15:41:32 GMT From: Vladimir To: freebsd-gnats-submit@FreeBSD.org Subject: option IPSEC (error config and compile kernel) X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 121606 >Category: misc >Synopsis: option IPSEC (error config and compile kernel) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 11 15:50:00 UTC 2008 >Closed-Date: Tue Mar 11 16:56:15 UTC 2008 >Last-Modified: Tue Mar 11 16:56:15 UTC 2008 >Originator: Vladimir >Release: 7.0 >Organization: SGPI.RU >Environment: 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: desided make ipsec how write in this book http://www.freebsd.org/doc/ru_RU.KOI8-R/books/handbook/ipsec.html add to kernel config file next options: options IPSEC #IP security options IPSEC_ESP #IP security (crypto; define w/ IPSEC) options IPSEC_DEBUG #debug for IP security save and exit. config MYKERNEL _________________________ if I write only: options IPSEC #IP security config MYKERNEL - good, now proble make cleandepend - good, now proble make depend - good, now proble make - give ERROR in function 'ipcomp_input': ./../../netipsec/xform_ipcomp.c189: undefined reference to 'crypto_dispatch' ***Error code 1 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: From: "Bjoern A. Zeeb" To: Vladimir Cc: bug-followup@FreeBSD.org Subject: Re: misc/121606: option IPSEC (error config and compile kernel) Date: Tue, 11 Mar 2008 16:08:11 +0000 (UTC) On Tue, 11 Mar 2008, Vladimir wrote: > add to kernel config file next options: > > options IPSEC #IP security > options IPSEC_ESP #IP security (crypto; define w/ IPSEC) > options IPSEC_DEBUG #debug for IP security > > save and exit. > > config MYKERNEL > > _________________________ > if I write only: > > options IPSEC #IP security > > config MYKERNEL - good, now proble > make cleandepend - good, now proble > make depend - good, now proble > make - give ERROR in function 'ipcomp_input': > ./../../netipsec/xform_ipcomp.c189: undefined reference to 'crypto_dispatch' ***Error code 1 the translation/documentation you are looking at is wrong. you need options crypto options IPSEC man ipsec should tell you as would the NOTES file in the sys/conf directory. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT Software is harder than hardware so better get it right the first time. State-Changed-From-To: open->closed State-Changed-By: remko State-Changed-When: Tue Mar 11 16:56:14 UTC 2008 State-Changed-Why: User <> documentation mismatch. Close ticket. http://www.freebsd.org/cgi/query-pr.cgi?pr=121606 >Unformatted: