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
> 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.
-----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-----