Return to BSD News archive
Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!convex!convex!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!Germany.EU.net!gmd.de!mururoa!veit
From: veit@mururoa.gmd.de (Holger Veit)
Subject: Re: Note for syscons users with patchkit 0.2.2
Message-ID: <1993Mar24.100324.21660@gmd.de>
Sender: veit@mururoa (Holger Veit)
Nntp-Posting-Host: mururoa.gmd.de
Organization: GMD - German National Research Center for Computer Science
References: <1993Mar24.090026@axion.bt.co.uk>
Date: Wed, 24 Mar 1993 10:03:24 GMT
Lines: 54
In article <1993Mar24.090026@axion.bt.co.uk>, lessen@axion.bt.co.uk (Lee Essen) writes:
|>
|>
|> Anyone using syscons with patchkit 0.2.2 (or recent patches) will have a problem...
|>
|> I don't know what patch it is off hand, but one of them moves the pg()
|> function out of pccons.c and into cons.c for use by some other routines.
|>
|> There is also a pg() routine in syscons.c, so, if you build a kernel you'll
|> get a duplicate error message.
|>
|> Solution: just comment out the pg() in syscons.c (the function not the prototype)
|>
|> Hope thats useful!
|>
|> Lee.
I think this will be necessary for all alternative console drivers, including
codrv and pcvt, as well.
Holger
*** P.S.: ->Nate, Jordan:
Is it possible to have a mechanism in the next patchkit version which reports
the current patch level by a version string and a defined symbol?
Something like the following:
/sys/sys/patchlevel.h:
/* This is automagically generated by the patchkit */
#define PATCHKITLEVEL "0.2.2"
#define PATCHID 0x0202
/*end of file*/
This file, to be included by several applications or packages influenced by
the patchkit, makes it easier to write code for different releases,
for example for the above problem:
#if PATCHID < 0x0202
pg(a,b,c,d,e,f...) { ... }
#else
/*nothing*/
#endif
--
Dr. Holger Veit | INTERNET: Holger.Veit@gmd.de
| | / GMD-SET German National Research | Phone: (+49) 2241 14 2448
|__| / Center for Computer Science | Fax: (+49) 2241 14 2342
| | / P.O. Box 13 16 | Three lines Signature space
| |/ Schloss Birlinghoven | available for rent. Nearly
DW-5205 St. Augustin, Germany | unused, good conditions