[MPlayer-matrox] compilation of mga_vid fails on 2.6.x/Debian

Stefan Ehlen se-mplayer at gmx.de
Sat Apr 9 18:05:43 CEST 2005


Hi,

I'm trying to compile mga_vid on my debian "testing"-machine using the latest 
"mga-vid-source"-package provided by Christian Marillat . Compilation fails 
with these messages:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/usr/src/modules/mga-vid/mga_vid.c:370: error: Fehler beim Parsen before 
"devfs_handle_t" 
mga_vid.c:370: Warnung: kein Semikolon am Ende von »struct« oder »union« 
mga_vid.c:406: error: Fehler beim Parsen before '}' token
mga_vid.c:406: Warnung: type defaults to `int' in declaration of `mga_card_t'
mga_vid.c:406: Warnung: data definition has no type or storage class
mga_vid.c:413: error: Fehler beim Parsen before '*' token
mga_vid.c:413: Warnung: type defaults to `int' in declaration of `mga_cards'
mga_vid.c:413: Warnung: data definition has no type or storage class
mga_vid.c:459: error: Fehler beim Parsen before '*' token
mga_vid.c:460: Warnung: function declaration isn't a prototype
mga_vid.c: In Funktion »mga_vid_frame_sel«:
mga_vid.c:461: error: `card' undeclared (first use in this function)
mga_vid.c:461: error: (Each undeclared identifier is reported only once
mga_vid.c:461: error: for each function it appears in.)
mga_vid.c:462: error: `frame' undeclared (first use in this function)
mga_vid.c: Auf höchster Ebene:
mga_vid.c:481: error: Fehler beim Parsen before '*' token
mga_vid.c:482: Warnung: function declaration isn't a prototype
mga_vid.c: In Funktion »mga_vid_write_regs«:
mga_vid.c:484: error: `card' undeclared (first use in this function)
mga_vid.c:489: error: `restore' undeclared (first use in this function)
mga_vid.c: Auf höchster Ebene:
mga_vid.c:707: error: Fehler beim Parsen before '*' token
mga_vid.c:708: Warnung: function declaration isn't a prototype
mga_vid.c: In Funktion »mga_vid_set_config«:
mga_vid.c:711: error: `card' undeclared (first use in this function)
mga_vid.c: In Funktion »mga_vid_ioctl«:
mga_vid.c:1194: error: `card' undeclared (first use in this function)
mga_vid.c:1194: error: Fehler beim Parsen before ')' token
mga_vid.c: Auf höchster Ebene:
mga_vid.c:1325: error: Fehler beim Parsen before '*' token
mga_vid.c:1325: Warnung: function declaration isn't a prototype
mga_vid.c: In Funktion »mga_vid_find_card«:
mga_vid.c:1332: error: `card' undeclared (first use in this function)
mga_vid.c: Auf höchster Ebene:
mga_vid.c:1393: error: Fehler beim Parsen before '*' token
mga_vid.c:1394: Warnung: function declaration isn't a prototype
mga_vid.c: In Funktion »mga_param_buff_fill«:
mga_vid.c:1396: error: `card' undeclared (first use in this function)
mga_vid.c: In Funktion »mga_vid_read«:
mga_vid.c:1415: error: `card' undeclared (first use in this function)
mga_vid.c:1415: error: Fehler beim Parsen before ')' token
mga_vid.c:1420: Warnung: type defaults to `int' in declaration of `_y'
mga_vid.c:1420: Warnung: in Vergleich verschiedener Zeigertypen fehlt 
Typkonvertierung
mga_vid.c: In Funktion »mga_vid_write«:
mga_vid.c:1428: error: `card' undeclared (first use in this function)
mga_vid.c:1428: error: Fehler beim Parsen before ')' token
mga_vid.c: In Funktion »mga_vid_mmap«:
mga_vid.c:1460: error: `card' undeclared (first use in this function)
mga_vid.c:1460: error: Fehler beim Parsen before ')' token
mga_vid.c:1473: Warnung: implicit declaration of function `remap_page_range'
mga_vid.c: In Funktion »mga_vid_release«:
mga_vid.c:1489: error: `card' undeclared (first use in this function)
mga_vid.c:1496: error: Fehler beim Parsen before ')' token
mga_vid.c: In Funktion »mga_vid_open«:
mga_vid.c:1518: error: `card' undeclared (first use in this function)
mga_vid.c:1546: error: Fehler beim Parsen before ')' token
mga_vid.c: Auf höchster Ebene:
mga_vid.c:1585: error: Fehler beim Parsen before '*' token
mga_vid.c:1586: Warnung: function declaration isn't a prototype
mga_vid.c: In Funktion »cards_init«:
mga_vid.c:1593: error: `card' undeclared (first use in this function)
mga_vid.c:1596: error: `dev' undeclared (first use in this function)
mga_vid.c:1603: error: `card_number' undeclared (first use in this function)
mga_vid.c: In Funktion »cleanup_module«:
mga_vid.c:1786: error: `card' undeclared (first use in this function)
make[2]: *** [mga_vid.o] Fehler 1
make[1]: *** [_module_/usr/src/modules/mga-vid] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.11.4'
make: *** [build-stamp] Fehler 2
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

If you dislike this language-mix, you can find the same output all in english 
at http://www.unixboard.de/vb3/showthread.php?t=12620
Please note that I'm using 2.6.11, while the report mentioned above refers to 
2.6.8.

Please, can anybody give me a hint?

Cu
Stefan 




More information about the MPlayer-matrox mailing list