Re: ndisgen on FreeBSD-9.0-CURRENT-201002-i386

From: Weongyo Jeong <weongyo.jeong_at_gmail.com>
Date: Fri, 12 Mar 2010 16:38:21 -0800
On Sat, Mar 06, 2010 at 08:59:01AM +0300, Azim wrote:
> I tried ndisgen to convert BCMWL564.SYS using FreeBSD-9.0-CURRENT
> FEB-2010(x86). 
> The files I had were  :
> It gave an error stating BCM43XX64.CAT(unrequired),
> BCM43XX.CAT(unrequired), bcmwl5.inf and BCMWL564.SYS
> 
> I had successfully compiled the 32-bit and 64-bit driver on FreeBSD 8.0
> (the 64-BIT couldn't be used on FreeBSD amd64 though)
> 
> This time on FreeBSD-9.0-CURRENT while trying ndisgen the following
> files got created:
> bus_if.h
> device_if.h
> windrv.h
> and windrv.o and ndisgen echoed an error
> 
> ==============
> Generating Makefile... done
> Building kernel module.. "/usr/share/mk/bsd.kmod.mk", line 12: "can't
> find kernel source tree"

It looks it failed to search kernel source in standard places, for
example:

	${.CURDIR}/../../kern
	${.CURDIR}/../../../kern
	${.CURDIR}/../../../../kern
	${.CURDIR}/../../../../../kern
	/sys/kern
	/usr/src/sys/kern

Could you please check that one of above directories exists?

regards,
Weongyo Jeong
Received on Fri Mar 12 2010 - 23:38:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:01 UTC