Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Nov 2005 11:16:03 +0100
From:      Gregory Nou <gregorynou@altern.org>
To:        NBP <nbp1981@163.com>, freebsd-ports@freebsd.org
Subject:   Re: VMware3 build error on 6.0
Message-ID:  <436C8663.8010305@altern.org>
In-Reply-To: <1131182908.851.2.camel@notany.3322.org>
References:  <1131182908.851.2.camel@notany.3322.org>

next in thread | previous in thread | raw e-mail | index | archive | help
NBP wrote:
> The drive.c file can't be compiled .
> 
> How And Why ?
> 
> 
> 
> 
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
> 

http://bsdnews.com/view_story.php3?story_id=4938 could give you the 
beginning of an answer.

If you have a look at driver.c line 172, you see that it's looking for 
cdevsw.d_maj, and if you look at cdevsw struct definition, in 
/usr/include/sys/conf.h, line 189, you won't see any d_maj field.

if you read : 
http://lists.freebsd.org/pipermail/freebsd-current/2005-April/048898.html

Scottl says that "Major numbers are now dynamically assigned"

Try to comment the line, and say if it works.

-- 
Gregory



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?436C8663.8010305>