Subject: Re: vmware-module3 on NetBSD 1.6P: compile problem?
To: Florent Parent <Florent.Parent@hexago.com>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: port-i386
Date: 03/19/2003 16:38:18
You need uptodate kernel sources too, namely rev. 1.60 of src/sys/sys/buf.h
and rev. 1.106 of src/sys/sys/vnode.h

Jaromir

Florent Parent wrote:
> 
> 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
> 


-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-