Index: [thread] [date] [subject] [author]
  From: teunis <teunis@computersupportcentre.com>
  To  : ggi-develop@eskimo.com
  Date: Thu, 20 Aug 1998 14:11:51 -0700 (MST)

Re: Kgicon & the sysctl stuff

On Thu, 20 Aug 1998, Marcus Sundberg wrote:

> > The new sysctl stuff in fbcon-kgi.c broke it.  There is this undefined
> > reference to "memset", and the thing won't insmod anymore.
> > 
> > ... 2 hours and much hair pulling later ...
> > 
> > Line 1587 where there is a "constructor expression", as follows :
> > 
> >         sysctl_subsys[idx] = (struct ctl_table)
> >                         {idx+1, name, NULL, 0, 0555, c_leafs};
> > 
> > Not only is that not ANSI, it causes the above problem.  ARGH !!!
> > Somebody please fix that.  I had hoped to get text modes working
> > tonight, grumble grumble...
> 
> ???
> You mean your compiler inserts a memset() at that point?
> I'd call that a severe bug... It surely works fine for me with 
> pgcc 1.0.3. Well, I'll just convert it to use memcpy instead of
> doing a direct assign then...

The only prob I had was a missing "kgim_monitor_get_sysctl" line in
.symbols in (degas/kgicon/kgi/monitor/.symbols)

Added that and everything worked here :)

G'day, eh? :)
	- Teunis

PS: if ya count a blank screen as working that is *sigh*.
Anyone know why I keep getting blank screens?  What FB-options are
supposed to be set?  I saw something about not enabling Amiga or Macintosh
FB stuff but am not sure?

Index: [thread] [date] [subject] [author]