Subject: emulators/plex86 does not compile with -current
To: None <tech-pkg@netbsd.org>
From: Joe Reed <jnr@po.cwru.edu>
List: tech-pkg
Date: 01/08/2003 09:16:26
hi, 

when i build plex86 on my netbsd-current machine
$ uname -a
NetBSD bork 1.6K NetBSD 1.6K (BORK) #0: Thu Dec 26 22:00:02 EST 2002     
root@bork:/usr/src/sys/arch/i386/compile/BORK i386 

i get the following errors 

ln -sf /usr/src/sys/arch/i386/include machine
cc -c -O2 -Wall -Wstrict-prototypes -fno-strength-reduce -nostdinc 
 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 
 -D_KERNEL -I/usr/src/sys -I/usr/src/sys/arch -I. -D_LKM -I./include -I./.. 
 -I.. host-netbsd.c
In file included from host-netbsd.c:59:
include/monitor.h:507: warning: `CR0_PE' redefined
machine/specialreg.h:41: warning: this is the location of the previous 
definition
include/monitor.h:508: warning: `CR0_MP' redefined
machine/specialreg.h:42: warning: this is the location of the previous 
definition
include/monitor.h:509: warning: `CR0_EM' redefined
machine/specialreg.h:43: warning: this is the location of the previous 
definition
include/monitor.h:510: warning: `CR0_TS' redefined
machine/specialreg.h:44: warning: this is the location of the previous 
definition
include/monitor.h:511: warning: `CR0_ET' redefined
machine/specialreg.h:45: warning: this is the location of the previous 
definition
include/monitor.h:512: warning: `CR0_NE' redefined
machine/specialreg.h:51: warning: this is the location of the previous 
definition
include/monitor.h:513: warning: `CR0_WP' redefined
machine/specialreg.h:52: warning: this is the location of the previous 
definition
include/monitor.h:514: warning: `CR0_AM' redefined
machine/specialreg.h:53: warning: this is the location of the previous 
definition
include/monitor.h:515: warning: `CR0_NW' redefined
machine/specialreg.h:54: warning: this is the location of the previous 
definition
include/monitor.h:516: warning: `CR0_CD' redefined
machine/specialreg.h:55: warning: this is the location of the previous 
definition
include/monitor.h:517: warning: `CR0_PG' redefined
machine/specialreg.h:46: warning: this is the location of the previous 
definition
host-netbsd.c:88: macro `MOD_DEV' used with only 4 args
host-netbsd.c:226: warning: #warning "kludge to mmap message buffer"
host-netbsd.c:347: warning: #warning "deal with LDT %gs and %fs that the 
NetBSD kernel uses"
gmake[1]: *** [host-netbsd.o] Error 1
gmake[1]: Leaving directory 
`/usr/pkgsrc/emulators/plex86/work.bork/plex86/kernel'
gmake: *** [all] Error 2
*** Error code 2 

is this a problem? or is there just some configuration error?
(this is pkgsrc from yesterday) 

 --joe