From owner-ctm-users@FreeBSD.ORG Sun Nov 20 12:08:05 2011 Return-Path: Delivered-To: ctm-users@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA570106564A for ; Sun, 20 Nov 2011 12:08:05 +0000 (UTC) (envelope-from aram_baghomian@hotmail.com) Received: from snt0-omc2-s37.snt0.hotmail.com (snt0-omc2-s37.snt0.hotmail.com [65.55.90.112]) by mx1.freebsd.org (Postfix) with ESMTP id 810128FC08 for ; Sun, 20 Nov 2011 12:08:05 +0000 (UTC) Received: from SNT140-W33 ([65.55.90.72]) by snt0-omc2-s37.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 20 Nov 2011 03:56:04 -0800 Message-ID: X-Originating-IP: [2.146.174.86] From: aram baghomian To: Date: Sun, 20 Nov 2011 11:56:04 +0000 Importance: Normal In-Reply-To: References: , MIME-Version: 1.0 X-OriginalArrivalTime: 20 Nov 2011 11:56:04.0720 (UTC) FILETIME=[6199FF00:01CCA77B] Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to compile opencrypto separately X-BeenThere: ctm-users@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CTM User discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2011 12:08:05 -0000 Hi I have some problems with opencrypto project and i hope you want to help m= e for solve them. - I want to compile opencrypto code without to force compile it as a subsys= tem of kernel and with whole code of my kernel. How can i do that? - I trying to add my hash algorithm into opencrypto project and compile it = for use it later with cryptodev and IPSEC vpn. I use rmd160 as a sample and do this steps: 1- rename rmd160.c & rmd160.h to myhash.c & myhash.h . 2- change the name and the contents of the functions of rmd160 to myhash.(= used standard form in the title of functions) 3- add my function titles and variables in xform.c & xform.h . 4- add my fixed value of my algorithm in the cryptodev.h . 5- recompile my kernel with IPSEC option and cryptodev device . But in the build time i get this error : in function 'MYHASHUpdate_int' : xform.c:759: undefined refrence to 'MYHASHUpdate' what isn't enough in my steps? what should i do? i'm sorry for my english. thanks. =