Hi all, I was trying to test the latest vga patches but i encountered several compile errors.
These are the errors i get when i compile vanilla SeaBIOS GIT:
Compiling whole program out/vgaccode.16.s vgasrc/clext.c: In function 'cirrus_extbios_80h': vgasrc/clext.c:438: error: dereferencing pointer to incomplete type vgasrc/clext.c:441: error: dereferencing pointer to incomplete type vgasrc/clext.c:443: error: dereferencing pointer to incomplete type vgasrc/clext.c:444: error: dereferencing pointer to incomplete type vgasrc/clext.c: In function 'cirrus_extbios_81h': vgasrc/clext.c:452: error: dereferencing pointer to incomplete type vgasrc/clext.c: In function 'cirrus_extbios_82h': vgasrc/clext.c:460: error: dereferencing pointer to incomplete type vgasrc/clext.c:461: error: dereferencing pointer to incomplete type vgasrc/clext.c: In function 'cirrus_extbios_85h': vgasrc/clext.c:467: error: dereferencing pointer to incomplete type vgasrc/clext.c: In function 'cirrus_extbios_9Ah': vgasrc/clext.c:473: error: dereferencing pointer to incomplete type vgasrc/clext.c:474: error: dereferencing pointer to incomplete type vgasrc/clext.c: In function 'cirrus_extbios_A0h': vgasrc/clext.c:488: error: dereferencing pointer to incomplete type vgasrc/clext.c:489: error: dereferencing pointer to incomplete type vgasrc/clext.c:490: error: dereferencing pointer to incomplete type vgasrc/clext.c:491: error: dereferencing pointer to incomplete type vgasrc/clext.c:491: error: dereferencing pointer to incomplete type vgasrc/clext.c:491: error: dereferencing pointer to incomplete type vgasrc/clext.c:491: error: dereferencing pointer to incomplete type vgasrc/clext.c: In function 'cirrus_extbios_A1h': vgasrc/clext.c:497: error: dereferencing pointer to incomplete type vgasrc/clext.c: In function 'cirrus_extbios_A2h': vgasrc/clext.c:503: error: dereferencing pointer to incomplete type vgasrc/clext.c: In function 'cirrus_extbios_AEh': vgasrc/clext.c:509: error: dereferencing pointer to incomplete type vgasrc/clext.c: In function 'cirrus_extbios': vgasrc/clext.c:516: error: dereferencing pointer to incomplete type vgasrc/clext.c: In function 'cirrus_vesa_not_handled': vgasrc/clext.c:638: error: dereferencing pointer to incomplete type vgasrc/clext.c: In function 'cirrus_vesa': vgasrc/clext.c:644: error: dereferencing pointer to incomplete type make: *** [out/vgaccode.16.s] Error 1
Thanks,Nils.
On Sat, Dec 24, 2011 at 11:57:42PM +0100, Nils wrote:
Hi all, I was trying to test the latest vga patches but i encountered several compile errors.
These are the errors i get when i compile vanilla SeaBIOS GIT:
Compiling whole program out/vgaccode.16.s
Depending on the compiler version SeaBIOS can compile differently, which complicates include file checks. At a brief look, it appears clext.c requires an #include "bregs.h" in it.
-Kevin
Op zaterdag 24-12-2011 om 18:28 uur [tijdzone -0500], schreef Kevin O'Connor:
On Sat, Dec 24, 2011 at 11:57:42PM +0100, Nils wrote:
Hi all, I was trying to test the latest vga patches but i encountered several compile errors.
These are the errors i get when i compile vanilla SeaBIOS GIT:
Compiling whole program out/vgaccode.16.s
Depending on the compiler version SeaBIOS can compile differently, which complicates include file checks. At a brief look, it appears clext.c requires an #include "bregs.h" in it.
That fixes the errors.
Thanks, Nils.