mga_vid modul macht Aerger

Q

quarf

Jungspund
mga_vid modul macht Aerger [geloest]

Moin,

ich moechte an meiner Matrox Millennium G400 DH ein TV-Out Signal haben.
Im Netz hab ich bisher gefunden, dass das mit MPlayer und dem mga_vid-Modul problemlos gehen soll.
Bei mir laesst sich das Modul aber nicht kompilieren.

System: Debian Sarge, Kernel 2.6.8-2-386

und so sieht die Fehlermeldung aus:

Code:
pc01:/usr/src/modules/mga-vid# make -C /usr/src/kernel-source-2.6.8 SUBDIRS=$PWD
make: Entering directory `/usr/src/kernel-source-2.6.8'
  LD      /usr/src/modules/mga-vid/built-in.o
  CC [M]  /usr/src/modules/mga-vid/mga_vid.o
/usr/src/modules/mga-vid/mga_vid.c:370: error: parse error before "devfs_handle_t"
/usr/src/modules/mga-vid/mga_vid.c:370: warning: no semicolon at end of struct or union
/usr/src/modules/mga-vid/mga_vid.c:406: error: parse error before '}' token
/usr/src/modules/mga-vid/mga_vid.c:406: warning: type defaults to `int' in declaration of `mga_card_t'
/usr/src/modules/mga-vid/mga_vid.c:406: warning: data definition has no type orstorage class
/usr/src/modules/mga-vid/mga_vid.c:413: error: parse error before '*' token
/usr/src/modules/mga-vid/mga_vid.c:413: warning: type defaults to `int' in declaration of `mga_cards'
/usr/src/modules/mga-vid/mga_vid.c:413: warning: data definition has no type orstorage class
/usr/src/modules/mga-vid/mga_vid.c:459: error: parse error before '*' token
/usr/src/modules/mga-vid/mga_vid.c:460: warning: function declaration isn't a prototype
/usr/src/modules/mga-vid/mga_vid.c: In function `mga_vid_frame_sel':
/usr/src/modules/mga-vid/mga_vid.c:461: error: `card' undeclared (first use in this function)
/usr/src/modules/mga-vid/mga_vid.c:461: error: (Each undeclared identifier is reported only once
/usr/src/modules/mga-vid/mga_vid.c:461: error: for each function it appears in.)
/usr/src/modules/mga-vid/mga_vid.c:462: error: `frame' undeclared (first use inthis function)
/usr/src/modules/mga-vid/mga_vid.c: At top level:
/usr/src/modules/mga-vid/mga_vid.c:481: error: parse error before '*' token
/usr/src/modules/mga-vid/mga_vid.c:482: warning: function declaration isn't a prototype
/usr/src/modules/mga-vid/mga_vid.c: In function `mga_vid_write_regs':
/usr/src/modules/mga-vid/mga_vid.c:484: error: `card' undeclared (first use in this function)
/usr/src/modules/mga-vid/mga_vid.c:489: error: `restore' undeclared (first use in this function)
/usr/src/modules/mga-vid/mga_vid.c: At top level:
/usr/src/modules/mga-vid/mga_vid.c:707: error: parse error before '*' token
/usr/src/modules/mga-vid/mga_vid.c:708: warning: function declaration isn't a prototype
/usr/src/modules/mga-vid/mga_vid.c: In function `mga_vid_set_config':
/usr/src/modules/mga-vid/mga_vid.c:711: error: `card' undeclared (first use in this function)
/usr/src/modules/mga-vid/mga_vid.c: In function `mga_vid_ioctl':
/usr/src/modules/mga-vid/mga_vid.c:1194: error: `card' undeclared (first use inthis function)
/usr/src/modules/mga-vid/mga_vid.c:1194: error: parse error before ')' token
/usr/src/modules/mga-vid/mga_vid.c: At top level:
/usr/src/modules/mga-vid/mga_vid.c:1325: error: parse error before '*' token
/usr/src/modules/mga-vid/mga_vid.c:1325: warning: function declaration isn't a prototype
/usr/src/modules/mga-vid/mga_vid.c: In function `mga_vid_find_card':
/usr/src/modules/mga-vid/mga_vid.c:1332: error: `card' undeclared (first use inthis function)
/usr/src/modules/mga-vid/mga_vid.c: At top level:
/usr/src/modules/mga-vid/mga_vid.c:1393: error: parse error before '*' token
/usr/src/modules/mga-vid/mga_vid.c:1394: warning: function declaration isn't a prototype
/usr/src/modules/mga-vid/mga_vid.c: In function `mga_param_buff_fill':
/usr/src/modules/mga-vid/mga_vid.c:1396: error: `card' undeclared (first use inthis function)
/usr/src/modules/mga-vid/mga_vid.c: In function `mga_vid_read':
/usr/src/modules/mga-vid/mga_vid.c:1415: error: `card' undeclared (first use inthis function)
/usr/src/modules/mga-vid/mga_vid.c:1415: error: parse error before ')' token
/usr/src/modules/mga-vid/mga_vid.c:1420: warning: type defaults to `int' in declaration of `_y'
/usr/src/modules/mga-vid/mga_vid.c:1420: warning: comparison of distinct pointer types lacks a cast
/usr/src/modules/mga-vid/mga_vid.c: In function `mga_vid_write':
/usr/src/modules/mga-vid/mga_vid.c:1428: error: `card' undeclared (first use inthis function)
/usr/src/modules/mga-vid/mga_vid.c:1428: error: parse error before ')' token
/usr/src/modules/mga-vid/mga_vid.c: In function `mga_vid_mmap':
/usr/src/modules/mga-vid/mga_vid.c:1460: error: `card' undeclared (first use inthis function)
/usr/src/modules/mga-vid/mga_vid.c:1460: error: parse error before ')' token
/usr/src/modules/mga-vid/mga_vid.c: In function `mga_vid_release':
/usr/src/modules/mga-vid/mga_vid.c:1489: error: `card' undeclared (first use inthis function)
/usr/src/modules/mga-vid/mga_vid.c:1496: error: parse error before ')' token
/usr/src/modules/mga-vid/mga_vid.c: In function `mga_vid_open':
/usr/src/modules/mga-vid/mga_vid.c:1518: error: `card' undeclared (first use inthis function)
/usr/src/modules/mga-vid/mga_vid.c:1546: error: parse error before ')' token
/usr/src/modules/mga-vid/mga_vid.c: At top level:
/usr/src/modules/mga-vid/mga_vid.c:1585: error: parse error before '*' token
/usr/src/modules/mga-vid/mga_vid.c:1586: warning: function declaration isn't a prototype
/usr/src/modules/mga-vid/mga_vid.c: In function `cards_init':
/usr/src/modules/mga-vid/mga_vid.c:1593: error: `card' undeclared (first use inthis function)
/usr/src/modules/mga-vid/mga_vid.c:1596: error: `dev' undeclared (first use in this function)
/usr/src/modules/mga-vid/mga_vid.c:1603: error: `card_number' undeclared (firstuse in this function)
/usr/src/modules/mga-vid/mga_vid.c: In function `cleanup_module':
/usr/src/modules/mga-vid/mga_vid.c:1786: error: `card' undeclared (first use inthis function)
make[1]: *** [/usr/src/modules/mga-vid/mga_vid.o] Error 1
make: *** [_module_/usr/src/modules/mga-vid] Error 2
make: Leaving directory `/usr/src/kernel-source-2.6.8'

was kann ich da machen? Fehlen mir irgendwelche Packages? Ich blick ueberhaupt nicht durch :hilfe2:

Gruß
Stephan
 
Zuletzt bearbeitet:
falls es jemanden interessiert:
Es half, den Kernel neu zu kompilieren und dabei die devfs-Unterstuetzung zu deaktivieren.

Gruß
Stephan
 

Ähnliche Themen

Nginx als Reverse Proxy für Nextcloud und Emby

X startet nichtmehr

CUPS Godex Filter kompilieren

xrandr: cant open display

Akonadi startet nicht mehr

Zurück
Oben