From owner-freebsd-current@FreeBSD.ORG Thu Jun 18 12:45:49 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BEED1065672 for ; Thu, 18 Jun 2009 12:45:49 +0000 (UTC) (envelope-from ibb27@yahoo.co.uk) Received: from web25001.mail.ukl.yahoo.com (web25001.mail.ukl.yahoo.com [217.146.183.104]) by mx1.freebsd.org (Postfix) with SMTP id A3DB58FC14 for ; Thu, 18 Jun 2009 12:45:48 +0000 (UTC) (envelope-from ibb27@yahoo.co.uk) Received: (qmail 48263 invoked by uid 60001); 18 Jun 2009 12:45:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1245329147; bh=x69T6UegrAM0fyxu4+f8wuT6B8lqxTFe0aJpz+bEPao=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4KRpkGzDyUCXAllrfLPDO3Wv9W4vg5ZJPjLJh3++DxFsHvX/EZKmk3spcnujtf6mg2WZD7pVE1ki8hZiz3POF07O7WvURANUSWO6FbSuPbCyRyy9lMSAOOq9gETALtH35DwwI5csdIK9hHmMaEFmZW/GoucdDB0cm6fHTPNeRWc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=MeT8tgN6n7mJY+hFjayVCndRlT8fR/1+4YdZGtije1HA+5bxGKUyY6oZO5jxEdj20NbEux96POi1TJrZ+AZ2laqpmtb9LJziwxBF3oSh0DuCHnArtrs8NjEpH+gNF+V4NzefXQ9Wfw+GVdPGOyLUSmj4wC+GCsKY934yFwqnL58=; Message-ID: <538522.48180.qm@web25001.mail.ukl.yahoo.com> X-YMail-OSG: U0vR.DgVM1lVqYPba1lpPOyGu3d41xbIS28.Y64lft3Ta2cqulPmbzroQho8uRuSzgnkk1yqOapJ.R_K.zlDlHDjSI5la0QPTngExRBzeWul4gYCSw8JVHjGbLyyIyBSdT6MGpvcLgmlEgj3hXONFKHCS3D8rRI4WjJ9kbQK2rmKw.kGLoNtiydNL6SX6Y0_iE34UD37g9BHlt5Aui1HsOPW7kRV8H5WjO3DxZ.j_oe7T9aOkvPX3Q._d9M2Ond2pT58OHrJxG4pPj42e50IgVCDB7KNyq1IPumiPSZaZKGuYa.z0rulZFAlrJ.Az1RwcKzMQhgVi79.9QsWt9tUJBTv.rcQGuks5PXC.4gqW4WH Received: from [87.126.120.179] by web25001.mail.ukl.yahoo.com via HTTP; Thu, 18 Jun 2009 12:45:47 GMT X-Mailer: YahooMailClassic/5.4.17 YahooMailWebService/0.7.289.15 Date: Thu, 18 Jun 2009 12:45:47 +0000 (GMT) From: Ivailo Bonev To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Thu, 18 Jun 2009 14:06:12 +0000 Subject: kernel with ndis support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 12:45:49 -0000 I want to compile kernel with ndis support to use it for wireless. I've ins= erted only these 2 lines in GENERIC: options NDISAPI device ndis but I see this error: :> hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c MAKE=3Dmake sh ../../../conf/newvers.sh GENERIC cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wst= rict-pr ototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wunde= f -Wn o-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../con= trib/ altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-comm= on -f inline-limit=3D8000 --param inline-unit-growth=3D100 --param large-function= -growth=3D1 000 -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-= 3dnow - mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror vers.= c linking kernel.debug if_ndis.o(.text+0x179f): In function `ndis_detach': ../../../dev/if_ndis/if_ndis.c:1080: undefined reference to `ndis_free_amem= ' if_ndis.o(.text+0x196c): In function `ndis_attach': ../../../dev/if_ndis/if_ndis.c:565: undefined reference to `ndis_alloc_amem= ' *** Error code 1 ibb# uname -a FreeBSD ibb.bsdsys-bg.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Jun 16 04= :54:1 8 EEST 2009 root@ibb.bsdsys-bg.com:/usr/obj/usr/src/sys/GENERIC i386= =0A=0A=0A