From owner-freebsd-net@FreeBSD.ORG Sat Apr 9 11:51:42 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6ACC216A4CE for ; Sat, 9 Apr 2005 11:51:42 +0000 (GMT) Received: from exsmtp1.ntu.edu.sg (exsmtp1.ntu.edu.sg [155.69.5.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA10143D48 for ; Sat, 9 Apr 2005 11:51:41 +0000 (GMT) (envelope-from P146199053@ntu.edu.sg) Received: from mail01.student.main.ntu.edu.sg ([155.69.5.165]) by exsmtp1.ntu.edu.sg with Microsoft SMTPSVC(6.0.3790.211); Sat, 9 Apr 2005 19:51:38 +0800 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Sat, 9 Apr 2005 19:51:26 +0800 Message-ID: <34C4FA35021357469685D8102806A1C01EAFD6@mail01.student.main.ntu.edu.sg> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: error to use kmem_free() function Thread-Index: AcU8+nW0Uiwq3SZjTfCtZNCJEz5FvQ== From: "#ZHANG CHUNLEI#" To: X-OriginalArrivalTime: 09 Apr 2005 11:51:39.0178 (UTC) FILETIME=[7D4F80A0:01C53CFA] Subject: error to use kmem_free() function X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2005 11:51:42 -0000 I have modified tcp_subr.c function , in which i make use of = kmem_free(kmem_map, , ) function. However, the compiling error says:=20 wanrning: implicit declaration of kmem_free() function and kmem_map = undeclared.=20 do i miss including some header file or other reasons? thanks in advance.=20 chunlei