From owner-freebsd-current@FreeBSD.ORG Wed May 26 23:47:52 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 6DACB16A4CE for ; Wed, 26 May 2004 23:47:52 -0700 (PDT) Received: from dd2626.kasserver.com (dd2626.kasserver.com [81.209.184.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8CFE43D46 for ; Wed, 26 May 2004 23:47:51 -0700 (PDT) (envelope-from outi@bytephobia.de) Received: from dualistic.bytephobia.de (p50843DD1.dip.t-dialin.net [80.132.61.209]) by dd2626.kasserver.com (Postfix) with SMTP id 1829559CEB; Thu, 27 May 2004 08:47:21 +0200 (CEST) Date: Thu, 27 May 2004 08:48:00 +0200 From: Patrick Hurrelmann To: Drew Broadley Message-Id: <20040527084800.5efb56bc@dualistic.bytephobia.de> In-Reply-To: <40B51B4C.3020104@corrupt.co.nz> References: <40B51B4C.3020104@corrupt.co.nz> Organization: private X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: ndis: build error on make buildkernel + FIX X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: outi@bytephobia.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 06:47:52 -0000 On Thu, 27 May 2004 10:33:48 +1200 Drew Broadley wrote: > FreeBSD taz.lan.corrupt.co.nz 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #5: > Wed May 12 17:52:53 NZST 2004 > drew@taz.lan.corrupt.co.nz:/usr/obj/usr/src/sys/EVOn800v i386 > > > >>>>> SNIP <<<<<<< > if [ -f .olddep ]; then mv .olddep .depend; fi > rm -f .newdep > /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. > >>>>> SNIP <<<<<<< > > Fix: is just changing the include line from: > > #include "ndis_driver_data.h" > > to this: > > #include > Why should this be fixed? I mean it would still be the same. You will have to generate your ndis_driver_data.h and output it to /usr/src/sys. If you change the include you will have to output it to /usr/src/sys/modules/if_ndis. Patrick