From owner-freebsd-current@FreeBSD.ORG Mon May 24 23:06:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A8DC16A4CE for ; Mon, 24 May 2004 23:06:38 -0700 (PDT) Received: from corrupt.co.nz (222-152-15-178.jetstream.xtra.co.nz [222.152.15.178]) by mx1.FreeBSD.org (Postfix) with SMTP id 2BDF043D31 for ; Mon, 24 May 2004 23:06:37 -0700 (PDT) (envelope-from drew@corrupt.co.nz) Received: (qmail 82738 invoked by uid 1011); 25 May 2004 06:07:06 -0000 Received: from drew@corrupt.co.nz by mail.corrupt.co.nz by uid 1009 with qmail-scanner-1.20st Clear:RC:0(10.10.69.1):SA:0(0.0/3.8):. Processed in 1.261521 secs); 25 May 2004 06:07:06 -0000 X-Spam-Status: No, hits=0.0 required=3.8 Received: from unknown (HELO corrupt.co.nz) (drew@corrupt.co.nz@10.10.69.1) by corrupt.co.nz with SMTP; 25 May 2004 06:07:04 -0000 Message-ID: <40B2E244.1040305@corrupt.co.nz> Date: Tue, 25 May 2004 18:05:56 +1200 From: Drew Broadley User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040505 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Max Laier References: <40B2CB0A.9040007@corrupt.co.nz> <200405250639.40011.max@love2party.net> In-Reply-To: <200405250639.40011.max@love2party.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: NDIS build from latest cvsup - error with "make load" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 25 May 2004 06:06:38 -0000 Max Laier wrote: >On Tuesday 25 May 2004 06:26, Drew Broadley wrote: > > >>$ kldload ndis.ko >>kldload: can't load ndis.ko: No such file or directory >> >> > >Check $dmesg -a for more information. ENOENT == "No such file or directory" is >(miss-)used by kldload to indicate that there are missing symbols (in the >kernel). More information is print to the console. > > No problems there, also I am finding issues with building the kernel with NDIS built in with the latest build: >>>>>>>>>>>>>>>>>>> /usr/obj/usr/src/make.i386/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES -V GEN_M_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding /usr/src/sys/dev/if_ndis/if_ndis.c:83:30: ndis_driver_data.h: No such file or directory /usr/src/sys/dev/if_ndis/if_ndis_pccard.c:65:30: ndis_driver_data.h: No such file or directory /usr/src/sys/dev/if_ndis/if_ndis_pci.c:64:30: ndis_driver_data.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/obj/usr/src/sys/EVOn800v. *** Error code 1 Stop in /usr/obj/usr/src/sys/EVOn800v. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. <<<<<<<<<<<<<<<<<<<<< I then updated my locate database, and did a locate on "ndis_driver_data.h" and found it where it should be: >>>>>>>>>>>>>>>>>>>>> $ locate ndis_driver_data.h /usr/src/sys/modules/if_ndis/ndis_driver_data.h <<<<<<<<<<<<<<<<<<<<<