From owner-freebsd-ports Mon Oct 8 2:31:25 2001 Delivered-To: freebsd-ports@freebsd.org Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by hub.freebsd.org (Postfix) with ESMTP id 13A3A37B403 for ; Mon, 8 Oct 2001 02:31:19 -0700 (PDT) Received: from dsto-ms2.dsto.defence.gov.au (dsto-ms2.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au (8.10.1/8.10.1) with ESMTP id f989Ue818733 for ; Mon, 8 Oct 2001 19:00:40 +0930 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by dsto-ms2.dsto.defence.gov.au (Content Technologies SMTPRS 4.1.5) with ESMTP id ; Mon, 8 Oct 2001 18:59:09 +0930 Received: from salex001.dsto.defence.gov.au (salex001.dsto.defence.gov.au [131.185.2.9]) by muttley.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id SAA24936; Mon, 8 Oct 2001 18:59:37 +0930 (CST) Received: from fang.dsto.defence.gov.au ([131.185.2.5]) by salex001.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 4AVVTJ02; Mon, 8 Oct 2001 18:59:33 +0930 Received: from dsto.defence.gov.au (fuzz.dsto.defence.gov.au [131.185.75.229]) by fang.dsto.defence.gov.au (8.9.3/8.9.3/8.9.3.LMD.990513) with ESMTP id SAA16702; Mon, 8 Oct 2001 18:59:36 +0930 (CST) Message-ID: <3BC17202.5F7F577C@dsto.defence.gov.au> Date: Mon, 08 Oct 2001 18:59:38 +0930 From: "Thyer, Matthew" X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: vns@delta.odessa.ua Cc: ports@freebsd.org Subject: ports/emulators/vmware2 wont build on recent -CURRENT Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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