ndisgen on FreeBSD-9.0-CURRENT-201002-i386

Weongyo Jeong weongyo.jeong at gmail.com
Sat Mar 13 00:38:12 UTC 2010


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



More information about the freebsd-current mailing list