2002-02-27 19:06:21

by Svetoslav Slavtchev

[permalink] [raw]
Subject: compiling Linux 2.5.5-dj2 + console_8.diff

BUILD_BASENAME=dummycon -c -o dummycon.o dummycon.c
gcc -D__KERNEL__ -I/usr/src/linux-2.5.5-xfs-dj2/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-DKBUILD_BASENAME=vgacon -c -o vgacon.o vgacon.c
vgacon.c: In function `vgacon_do_font_op':
vgacon.c:816: structure has no member named `vc_sw'
make[3]: *** [vgacon.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5.5-xfs-dj2/drivers/video'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.5-xfs-dj2/drivers/video


2002-02-27 19:15:19

by James Simmons

[permalink] [raw]
Subject: Re: compiling Linux 2.5.5-dj2 + console_8.diff


> BUILD_BASENAME=dummycon -c -o dummycon.o dummycon.c
> gcc -D__KERNEL__ -I/usr/src/linux-2.5.5-xfs-dj2/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
> -DKBUILD_BASENAME=vgacon -c -o vgacon.o vgacon.c
> vgacon.c: In function `vgacon_do_font_op':
> vgacon.c:816: structure has no member named `vc_sw'
> make[3]: *** [vgacon.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.5.5-xfs-dj2/drivers/video'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.5.5-xfs-dj2/drivers/video

Sorry. I posted a incomplete patch that I haven't finished yet. I'm
working on it.


2002-02-27 19:31:14

by Ben Clifford

[permalink] [raw]
Subject: Re: compiling Linux 2.5.5-dj2 + console_8.diff

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 27 Feb 2002, svetljo wrote:

> vgacon.c: In function `vgacon_do_font_op':
> vgacon.c:816: structure has no member named `vc_sw'
> make[3]: *** [vgacon.o] Error 1

That struct (vc_data) is defined twice, once in linux/vt_kern.h and once
in linux/console_struct.h.

They differ (at least in my tree here).

- --
Ben Clifford [email protected] GPG: 30F06950
Live Ben-cam: http://barbarella.hawaga.org.uk/benc-cgi/watchers.cgi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8fTNPsYXoezDwaVARAjLoAJ0a5T0HBoq3JrtGkLBcGFh03UB4OACfZ0T+
EUO+CThKcRC/x2rj0iwJYxQ=
=/zar
-----END PGP SIGNATURE-----