Subject: pkg/18540: vmware-module doesn't compile
To: None <gnats-bugs@gnats.netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: netbsd-bugs
Date: 10/05/2002 16:02:09
>Number: 18540
>Category: pkg
>Synopsis: vmware-module doesn't compile
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 05 07:03:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Juergen Hannken-Illjes
>Release: NetBSD 1.6I (Fri Oct 4, 2002)
>Organization:
>Environment:
System: NetBSD dancer 1.6I NetBSD 1.6I (CUSTOM) #152: Fri Oct 4 12:52:07 MEST 2002 hannken@dancer:/usr/obj/kern.i386/CUSTOM i386
Architecture: i386
Machine: i386
>Description:
===> Building for vmware-module-1.0nb1
...
/usr/obj/tools.i386/bin/i386--netbsdelf-gcc -O2 -nostdinc -I/tmp/emulators/vmware-module/work/source/vmmon -I/tmp/emulators/vmware-module/work/source/vmmon/include -I/tmp/emulators/vmware-module/work/source/vmmon/common -I/tmp/emulators/vmware-module/work/source/vmmon/netbsd -I/tmp/emulators/vmware-module/work/source/vmmon/netbsd -DDDB -DVMX86_DEBUG -ffreestanding -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -nostdinc -I. -I/tmp/emulators/vmware-module/work/source/vmmon -isystem /usr/src/sys -isystem /usr/src/sys/arch -D_KERNEL -D_LKM -c /tmp/emulators/vmware-module/work/source/vmmon/netbsd/drv.c
In file included from /tmp/emulators/vmware-module/work/source/vmmon/netbsd/drv.c:73:
/tmp/emulators/vmware-module/work/source/vmmon/include/x86.h:179: warning: `MSR_TSC' redefined
/tmp/emulators/vmware-module/work/source/vmmon/machine/specialreg.h:141: warning: this is the location of the previous definition
Is a result of the mp-merge (rev 1.22 of sys/arch/i386/include/cpufunc.h)
>How-To-Repeat:
cd /usr/pkgsrc/emulators/vmware-module && make
>Fix:
Not sure, maybe something like
vmmon/include/x86.h::
#ifndef MSR_TSC
#define MSR_TSC 0x00000010
#endif
>Release-Note:
>Audit-Trail:
>Unformatted: