From owner-freebsd-current@FreeBSD.ORG Tue Dec 23 14:39:07 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53DC316A4CE for ; Tue, 23 Dec 2003 14:39:07 -0800 (PST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A98B43D1D for ; Tue, 23 Dec 2003 14:39:05 -0800 (PST) (envelope-from gwk@rahn-koltermann.de) Received: from [212.227.126.209] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AYvBA-00069r-00 for freebsd-current@freebsd.org; Tue, 23 Dec 2003 23:39:04 +0100 Received: from [217.232.136.85] (helo=rahn-koltermann.de) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1AYvB9-0006XF-00; Tue, 23 Dec 2003 23:39:04 +0100 Message-ID: <3FE8C3F6.7060804@rahn-koltermann.de> Date: Tue, 23 Dec 2003 23:38:46 +0100 From: "Georg-W. Koltermann" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031021 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:90bcaad5e51ecc993b2919ba4b74e6dc Subject: vmware2 doesn't build X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2003 22:39:07 -0000 Hi, when trying to build vmware2, I get /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:301:35: i386/isa/intr_machdep.h: No such file or directory *** Error code 1 After fixing the include path to i386/include/intr_machdep.h, the next error is: cc -O -pipe -mcpu=pentiumpro -mcpu=pentiumpro -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 -std=c99 -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@/../include -I/usr/include -finline-limit=15000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: In function `HostIF_InitFP': /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:340: warning: comparison is always true due to limited range of data type /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:340: warning: comparison is always true due to limited range of data type /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: In function `HostIF_APIC_Base': /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:1043: error: `cpu_apic_address' undeclared (first use in this function) /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:1043: error: (Each undeclared identifier is reported only once /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:1043: error: for each function it appears in.) /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c: In function `HostIF_IOAPIC_Base': /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/hostif.c:1072: error: `io_apic_address' undeclared (first use in this function) *** Error code 1 Stop in /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only. *** Error code 1 It seems io_apic_address has vanished from the kernel. The next problem is the cpu apic address. If I hack around these two by just using the non-SMP code even in #if SMP, it compiles. I didn't try to run it yet, but I think I might have a good chance it runs since I'm not on an SMP machine. Anyways, does someone have a proper fix? -- Regards, Georg.