Subject: vmware-module3 on NetBSD 1.6P: compile problem?
To: None <port-i386@netbsd.org>
From: Florent Parent <Florent.Parent@hexago.com>
List: port-i386
Date: 03/19/2003 10:19:44
I'm observing a problem when compiling vmware-module3
(vmware-netbsd-3.2.1.tgz) on Netbsd-current (1.6P). A recent message
(http://mail-index.netbsd.org/port-i386/2003/03/18/0002.html) from Miguel
Mendez has vmware3 running on 1.6P, so I suspect that the problem is in my
config (?).
vmware-module3 is latest from cvs:
# $NetBSD: Makefile,v 1.3 2003/03/16 22:56:54 jdolecek Exp $
...
cd /usr/pkgsrc/emulators/vmware-module3/work/source/vmmon && make
cc -O2 -nostdinc -I/usr/pkgsrc/emulators/vmware-module3/work/source/vmmon
-I/usr/pkgsrc/emulators/vmware-module3/work/source/vmmon/include
-I/usr/pkgsrc/emulators/vmware-module3/work/source/vmmon/common
-I/usr/pkgsrc/emulators/vmware-module3/work/source/vmmon/netbsd -DDDB
-DVMX86_DEBUG -DMODULE -ffreestanding -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-uninitialized
-Wreturn-type -Wswitch -Wshadow -Werror -nostdinc -I.
-I/usr/pkgsrc/emulators/vmware-module3/work/source/vmmon -isystem
/usr/src/sys -isystem /usr/src/sys/arch -D_KERNEL -D_LKM -c
/usr/pkgsrc/emulators/vmware-module3/work/source/vmmon/netbsd/drv.c
cc1: warnings being treated as errors
In file included from /usr/src/sys/sys/vnode_if.h:1590,
from /usr/src/sys/sys/vnode.h:506,
from
/usr/pkgsrc/emulators/vmware-module3/work/source/vmmon/netbsd/drv.c:53:
/usr/src/sys/sys/buf.h:298: warning: declaration of `minphys' shadows
global declaration
In file included from
/usr/pkgsrc/emulators/vmware-module3/work/source/vmmon/netbsd/drv.c:53:
/usr/src/sys/sys/vnode.h:564: warning: declaration of `buf' shadows global
declaration
*** Error code 1
Florent