ndis: build error on make buildkernel + FIX

From: Drew Broadley <drew_at_corrupt.co.nz>
Date: Thu, 27 May 2004 10:33:48 +1200
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_at_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 <modules/if_ndis/ndis_driver_data.h>
Received on Wed May 26 2004 - 13:34:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:55 UTC