Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Oct 2001 18:59:38 +0930
From:      "Thyer, Matthew" <Matthew.Thyer@dsto.defence.gov.au>
To:        vns@delta.odessa.ua
Cc:        ports@freebsd.org
Subject:   ports/emulators/vmware2 wont build on recent -CURRENT
Message-ID:  <3BC17202.5F7F577C@dsto.defence.gov.au>

next in thread | raw e-mail | index | archive | help
It fails regardless of whether I choose to use netgraph bridging
or not.

ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:165
is at the end of the following structure:

static struct cdevsw vmmon_cdevsw = {
        /* open */      FreeBSD_Driver_Open, 
        /* close */     FreeBSD_Driver_Close,
        /* read */      noread,
        /* write */     nowrite,
        /* ioctl */     FreeBSD_Driver_Ioctl,
        /* poll */      FreeBSD_Driver_Poll,
        /* mmap */      nommap,
        /* strategy */  nostrategy,
        /* name */      DEVICE_NAME,
        /* maj */       CDEV_MAJOR,
        /* dump */      nodump,
        /* psize */     nopsize,
        /* flags */     0,
        /* bmaj */      -1               XXXX
};

/usr/include/sys/conf.h shows me that where driver.c thinks it is
setting the "bmaj" member of the "Character device switch table"
structure it is actually setting the d_kqfilter member which is
defined as "d_kqfilter_t    *d_kqfilter".

The "int d_XXXbmaj" member was removed in PHK's commit of version 1.126,
2001/03/26 12:41:26  because it is deprecated.

That member used to be "d_bmaj" but was renamed to "d_XXXbmaj" in PHK's
commit of version 1.122, 2000/10/31 10:58:14.


Hope this helps.


/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common/vmx86.c:487: warning: no previous prototype for `Vmx86_CurrentVM'
cc -O -pipe  -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -DCDEV_MAJOR_=200 -DSMP -DAPIC_IO  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ !
-I!
!
. -I@ -I@/dev -I@/../include -I/usr/include  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -c /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:165: warning: initialization makes pointer from integer without a cast
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:333: conflicting types for `FreeBSD_Driver_Open'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:137: previous declaration of `FreeBSD_Driver_Open'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:413: conflicting types for `FreeBSD_Driver_Close'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:138: previous declaration of `FreeBSD_Driver_Close'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:465: conflicting types for `FreeBSD_Driver_Poll'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:140: previous declaration of `FreeBSD_Driver_Poll'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c: In function `FreeBSD_Driver_Poll':
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:495: warning: passing arg 1 of `selrecord' from incompatible pointer type
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c: At top level:
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:548: conflicting types for `FreeBSD_Driver_Ioctl'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:139: previous declaration of `FreeBSD_Driver_Ioctl'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c: In function `FreeBSD_Driver_Ioctl':
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:578: structure has no member named `p_retval'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:594: structure has no member named `p_retval'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:628: structure has no member named `p_retval'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:636: structure has no member named `p_retval'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:642: structure has no member named `p_retval'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:647: structure has no member named `p_retval'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:663: structure has no member named `p_retval'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:765: structure has no member named `p_retval'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:775: structure has no member named `p_retval'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:782: structure has no member named `p_retval'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:788: structure has no member named `p_retval'
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c: In function `Panic':
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:1038: warning: passing arg 1 of `exit1' from incompatible pointer type
*** Error code 1

Stop in /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only.
*** Error code 1

-- 
 Matthew Thyer                                 Phone:  +61 8 8259 7249
 Science Corporate Information Systems         Fax:    +61 8 8259 5537
 Defence Science and Technology Organisation, Edinburgh
 PO Box 1500 Edinburgh South Australia 5111

 IMPORTANT: This email remains the property of the Australian Defence
 Organisation and is subject to the jurisdiction of section 70 of the
 CRIMES ACT 1914.  If you have received this email in error, you are
 requested to contact the sender and delete the email.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BC17202.5F7F577C>