|
From: Adam H. <sv...@ea...> - 2001-01-11 11:50:03
|
James Simmons wrote:
>
> Try the lastest CVS. It is fixed.
OK. It is. Now I have this instead:
gcc -D__KERNEL__ -I/SDA3/usr/src/linux_patched/include -Wall
-Wstrict-prototypes -O2 -fomit-frame
-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i686 -c -o dummycon.o
dummycon.c
In file included from
/SDA3/usr/src/linux_patched/include/linux/irq.h:57,
from
/SDA3/usr/src/linux_patched/include/asm/hardirq.h:6,
from
/SDA3/usr/src/linux_patched/include/linux/interrupt.h:45,
from
/SDA3/usr/src/linux_patched/include/linux/kbd_kern.h:4,
from
/SDA3/usr/src/linux_patched/include/linux/vt_kern.h:12,
from dummycon.c:11:
/SDA3/usr/src/linux_patched/include/asm/hw_irq.h: In function
`x86_do_profile':
/SDA3/usr/src/linux_patched/include/asm/hw_irq.h:198: `current'
undeclared (first use in this fun
ction)
/SDA3/usr/src/linux_patched/include/asm/hw_irq.h:198: (Each undeclared
identifier is reported onl
y once
/SDA3/usr/src/linux_patched/include/asm/hw_irq.h:198: for each function
it appears in.)
In file included from
/SDA3/usr/src/linux_patched/include/linux/kbd_kern.h:4,
from
/SDA3/usr/src/linux_patched/include/linux/vt_kern.h:12,
from dummycon.c:11:
/SDA3/usr/src/linux_patched/include/linux/interrupt.h: In function
`raise_softirq':
/SDA3/usr/src/linux_patched/include/linux/interrupt.h:89: `current'
undeclared (first use in this
function)
/SDA3/usr/src/linux_patched/include/linux/interrupt.h: In function
`tasklet_schedule':
/SDA3/usr/src/linux_patched/include/linux/interrupt.h:160: `current'
undeclared (first use in thi
s function)
/SDA3/usr/src/linux_patched/include/linux/interrupt.h: In function
`tasklet_hi_schedule':
/SDA3/usr/src/linux_patched/include/linux/interrupt.h:174: `current'
undeclared (first use in thi
s function)
dummycon.c: At top level:
dummycon.c:64: unknown field `con_switch' specified in initializer
dummycon.c:65: duplicate initializer
dummycon.c:65: (near initialization for `dummy_con.con_blank')
dummycon.c:69: unknown field `con_scrolldelta' specified in initializer
dummycon.c:69: duplicate initializer
dummycon.c:69: (near initialization for `dummy_con.con_scroll')
make[4]: *** [dummycon.o] Error 1
make[4]: Leaving directory `/SDA3/usr/src/linux_patched/drivers/video'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/SDA3/usr/src/linux_patched/drivers/video'
make[2]: *** [_subdir_video] Error 2
make[2]: Leaving directory `/SDA3/usr/src/linux_patched/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/SDA3/usr/src/linux_patched'
make: *** [stamp-build] Error 2
> You can send mne your .config file.
>
OK. Thanks. It is attached.
> > Can I have a go on multiple consoles with cirrus logic (gd5480)
> > hardware?
>
> Not yet. This requires rewriting the fbcon layer which I'm about to do.
So I can't run several vgacons on different graphics cards/chips yet
either?
Due to the bios restriction?
> > I have a hunch that multiple X sessions are a bit pre-mature
> > at the moment, but that's what I'm after in the long run.
>
> It can be done with XFree86. You have to do a
>
> start -vt 0
> start -vt 16
>
> This tells it which vc to run on. For the ruby tree 16 VCs belong to one
> VT. Unfortunely I haven't got the fbcon layer going yet. Also for each
> fbdev driver we have to make them firmware independent as well. Since most
> video cards depend on the BIOS to intialize them. Unfortunely PC BIOS
> don't see multiple video cards so only the first one on the PCI bus gets
> intialized :-(
So not yet. But would the bios still initialize all heads on a multihead
card? No, I guess not, just the first. A job for linuxbios? :)
Cheers,
--
Adam Huuva / Easter-eggs Spécialiste GNU/Linux
44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 41 35 00 76
mailto:sv...@ea... - http://www.easter-eggs.com |