Subject: port-i386/4317: pcvt can't be compiled after version number change
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 10/22/1997 18:10:57
>Number: 4317
>Category: port-i386
>Synopsis: pcvt can't be compiled after version number change
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 22 09:20:07 1997
>Last-Modified:
>Originator: Matthias Scheler
>Organization:
Matthias Scheler http://home.owl.de/~tron/
>Release: 971021
>Environment:
System: NetBSD lyssa 1.3_ALPHA NetBSD 1.3_ALPHA (LYSSA) #0: Wed Oct 22 17:53:57 MEST 1997 tron@lyssa:/src/src/sys/arch/i386/compile/LYSSA i386
>Description:
Due to the recent version change from 1.2G to 1.3 one can't compile a kernel
with pcvt as console:
tron@lyssa:/usr/src/sys/arch/i386/compile/LYSSA>make pcvt_drv.o
cc -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -I. -I../../../../arch -I../../../.. -nostdinc -DEXEC_AOUT -DEXEC_SCRIPT -DI586_CPU -DUSER_LDT -DDUMMY_NOPS -DXSERVER -DUCONSOLE -DNTP -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DDIAGNOSTIC -DDDB -DCOMPAT_NOMID -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_43 -DCOMPAT_SVR4 -DCOMPAT_IBCS2 -DCOMPAT_LINUX -DCOMPAT_FREEBSD -DEXEC_ELF32 -DFFS -DEXT2FS -DLFS -DNFS -DUNION -DQUOTA -DNFSSERVER -DFIFO -DGATEWAY -DINET -DNETATALK -DPFIL_HOOKS -DNMBCLUSTERS="0x800" -DPCVT_NSCREENS="6" -DCOLOR_KERNEL_BG="BG_BLACK" -DMAXUSERS=32 -D_KERNEL -Di386 -c ../../../../arch/i386/isa/pcvt/pcvt_drv.c
In file included from ../../../../arch/i386/isa/pcvt/pcvt_drv.c:91:
../../../../arch/i386/isa/pcvt/pcvt_hdr.h:105: i386/isa/isa_device.h: No such file or directory
In file included from ../../../../arch/i386/isa/pcvt/pcvt_drv.c:91:
../../../../arch/i386/isa/pcvt/pcvt_hdr.h:117: i386/isa/isa.h: No such file or directory
../../../../arch/i386/isa/pcvt/pcvt_hdr.h:127: i386/i386/cons.h: No such file or directory
In file included from ../../../../arch/i386/isa/pcvt/pcvt_drv.c:91:
../../../../arch/i386/isa/pcvt/pcvt_hdr.h:140: machine/pcvt_ioctl.h: No such file or directory
In file included from ../../../../arch/i386/isa/pcvt/pcvt_drv.c:91:
../../../../arch/i386/isa/pcvt/pcvt_hdr.h:169: #error "pcvt_hdr.h: You MUST define one of PCVT_{NET,FREE}BSD in the config file"
../../../../arch/i386/isa/pcvt/pcvt_drv.c:92: pcvt_cons.h: No such file or directory
*** Error code 1
Stop.
>How-To-Repeat:
Configure and compile kernel with pcvt as console.
>Fix:
*** src/sys/arch/i386/isa/pcvt/pcvt_conf.h.orig Mon Oct 14 18:09:19 1996
--- src/sys/arch/i386/isa/pcvt/pcvt_conf.h Wed Oct 22 17:50:47 1997
***************
*** 91,96 ****
--- 91,100 ----
#define PCVT_NETBSD (120 + (NetBSD1_2 - 1))
#endif
+ #ifdef NetBSD1_3
+ #define PCVT_NETBSD (130 + (NetBSD1_3 - 1))
+ #endif
+
#endif
>Audit-Trail:
>Unformatted: