Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2005 19:14:10 +0300
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        Danny Puckett <dpuckett@comresource.com>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: vmware3 port works on FreeBSD 6
Message-ID:  <1131898450.2411.5.camel@localhost>
In-Reply-To: <43775845.4020802@comresource.com>
References:  <20051113041529.Y757@odysseus.silby.com> <43775845.4020802@comresource.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =D7=D3, 13/11/2005 =D7 10:14 -0500, Danny Puckett =D0=C9=DB=C5=D4:
> It wont l for me.  I receive the following
>=20
>=20
> intstal/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebs=
d/driver.c:172:error:unknown=20
> ield `d_maj' specified in initializer
> /usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd/drive=
r.c:181:=20
> warning: initialization makes pointer from integer without a cast

Actually build does not work for current with same diagnostic.
It is trivial to make it build-able, look example in emulators/rtc:

/usr/ports/emulators/rtc/files$ cvs -R diff -r1.14 -r1.15 rtc.c=20
Index: rtc.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /usr/ncvs/ports/emulators/rtc/files/rtc.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- rtc.c       10 Mar 2004 09:44:44 -0000      1.14
+++ rtc.c       13 Mar 2004 21:20:03 -0000      1.15
@@ -22,7 +22,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $FreeBSD: ports/emulators/rtc/files/rtc.c,v 1.14 2004/03/10 09:44:44 si=
lby Exp $
+ * $FreeBSD: ports/emulators/rtc/files/rtc.c,v 1.15 2004/03/13 21:20:03 si=
lby Exp $
  * $vmFreeBSD: vmware/vmnet-only/freebsd/vmnet.c,v 1.14 2000/01/23 22:29:5=
0 vsilyaev Exp $
  */
=20
@@ -96,6 +96,8 @@
 #if __FreeBSD_version >=3D 502103
        .d_version =3D    D_VERSION,
        .d_flags =3D      D_NEEDGIANT,
+#else=20
+       .d_maj =3D        CDEV_MAJOR,
 #endif
        .d_open =3D       rtc_open,
        .d_close =3D      rtc_close,
@@ -103,7 +105,6 @@
        .d_poll =3D       rtc_poll,
        .d_read =3D       rtc_read,
        .d_name =3D       DEVICE_NAME,
-       .d_maj =3D        CDEV_MAJOR,
 #else
        /* open */      rtc_open,
        /* close */     rtc_close,


But it crash system when starting vmware itself.

I do not dig more.

> Mike Silbersack wrote:
> >=20
> > The vmware3 port seems to work on FreeBSD 6 now, with the help of some=20
> > others I figured out why it wasn't working.
> >=20
> > I didn't test FreeBSD 7 (-current), but I assume that should be working=
=20
> > too.
> >=20
> > I won't have time to work on this further or import Orlando's VMware 4.=
x=20
> > patches anytime in the next month, so please don't start asking. :)
> >=20
> > Mike "Silby" Silbersack
> > _______________________________________________
> > freebsd-emulation@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> > To unsubscribe, send any mail to=20
> > "freebsd-emulation-unsubscribe@freebsd.org"
--=20
Vladimir B. Grebenschikov
vova@fbsd.ru



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