[Mplayer-felhasznalok] mga 2.6

Kosa Attila atkosa at chello.hu
Tue Mar 22 00:22:39 CET 2005


Hello!
Mai frissitesu CVS, kernel 2.6.12-rc1, hibauzenet a kovetkezo:

In file included from include/asm/processor.h:18,
                 from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /usr/local/src/CVS/main/drivers/mga_vid.c:38:
include/asm/system.h: In function `__set_64bit_var':
include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from include/asm/smp.h:18,
                 from include/linux/smp.h:19,
                 from include/linux/sched.h:26,
                 from include/linux/module.h:10,
                 from /usr/local/src/CVS/main/drivers/mga_vid.c:38:
include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from include/asm/smp.h:18,
                 from include/linux/smp.h:19,
                 from include/linux/sched.h:26,
                 from include/linux/module.h:10,
                 from /usr/local/src/CVS/main/drivers/mga_vid.c:38:
include/asm/mpspec.h: At top level:
include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
In file included from include/asm/smp.h:20,
                 from include/linux/smp.h:19,
                 from include/linux/sched.h:26,
                 from include/linux/module.h:10,
                 from /usr/local/src/CVS/main/drivers/mga_vid.c:38:
include/asm/io_apic.h:158: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
include/asm/io_apic.h:158: error: conflicting types for `mp_irqs'
include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from include/linux/smp.h:19,
                 from include/linux/sched.h:26,
                 from include/linux/module.h:10,
                 from /usr/local/src/CVS/main/drivers/mga_vid.c:38:
include/asm/smp.h:70:26: mach_apicdef.h: No such file or directory
In file included from include/linux/smp.h:19,
                 from include/linux/sched.h:26,
                 from include/linux/module.h:10,
                 from /usr/local/src/CVS/main/drivers/mga_vid.c:38:
include/asm/smp.h: In function `hard_smp_processor_id':
include/asm/smp.h:74: warning: implicit declaration of function `GET_APIC_ID'
/usr/local/src/CVS/main/drivers/mga_vid.c: At top level:
/usr/local/src/CVS/main/drivers/mga_vid.c:152: warning: static declaration for `simple_strtol' follows non-static
/usr/local/src/CVS/main/drivers/mga_vid.c: In function `mga_vid_find_card':
/usr/local/src/CVS/main/drivers/mga_vid.c:1350: error: structure has no member named `slot_name'
/usr/local/src/CVS/main/drivers/mga_vid.c:1350: error: structure has no member named `name'
/usr/local/src/CVS/main/drivers/mga_vid.c:1355: error: structure has no member named `slot_name'
/usr/local/src/CVS/main/drivers/mga_vid.c:1355: error: structure has no member named `name'
/usr/local/src/CVS/main/drivers/mga_vid.c:1360: error: structure has no member named `slot_name'
/usr/local/src/CVS/main/drivers/mga_vid.c:1360: error: structure has no member named `name'
/usr/local/src/CVS/main/drivers/mga_vid.c:1365: error: structure has no member named `slot_name'
/usr/local/src/CVS/main/drivers/mga_vid.c:1365: error: structure has no member named `name'
/usr/local/src/CVS/main/drivers/mga_vid.c:1370: error: structure has no member named `slot_name'
/usr/local/src/CVS/main/drivers/mga_vid.c:1370: error: structure has no member named `name'
/usr/local/src/CVS/main/drivers/mga_vid.c: In function `mga_vid_mmap':
/usr/local/src/CVS/main/drivers/mga_vid.c:1465: warning: implicit declaration of function `remap_page_range'
/usr/local/src/CVS/main/drivers/mga_vid.c: In function `mga_vid_release':
/usr/local/src/CVS/main/drivers/mga_vid.c:1497: error: `MOD_DEC_USE_COUNT' undeclared (first use in this function)
/usr/local/src/CVS/main/drivers/mga_vid.c:1497: error: (Each undeclared identifier is reported only once
/usr/local/src/CVS/main/drivers/mga_vid.c:1497: error: for each function it appears in.)
/usr/local/src/CVS/main/drivers/mga_vid.c: In function `mga_vid_open':
/usr/local/src/CVS/main/drivers/mga_vid.c:1511: error: request for member `value' in something not a structure or union
/usr/local/src/CVS/main/drivers/mga_vid.c:1542: error: `MOD_INC_USE_COUNT' undeclared (first use in this function)
make[3]: *** [/usr/local/src/CVS/main/drivers/mga_vid.o] Error 1
make[2]: *** [_module_/usr/local/src/CVS/main/drivers] Error 2
make[1]: *** [mga_vid.ko] Error 2
make: *** [all] Error 2

Probaltam letolteni a 2.6-os kernelhez valo drivert, de az sem fordult
le ( http://georgi.unixsol.org/programs/mga_vid/ ). Az a kovetkezot
uzeni:

# make
make mga_vid.ko mga_vid_test
make[1]: Entering directory `/usr/local/src/mga-vid-2.6.10-2'
make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/local/src/mga-vid-2.6.10-2 modules
make[2]: Entering directory `/usr/src/linux-2.6.12-rc1'
  CC [M]  /usr/local/src/mga-vid-2.6.10-2/mga_vid.o
/usr/local/src/mga-vid-2.6.10-2/mga_vid.c:87:1: warning: "Dprintk" redefined
In file included from include/asm/smp.h:22,
                 from include/linux/smp.h:19,
                 from include/linux/sched.h:26,
                 from include/linux/module.h:10,
                 from /usr/local/src/mga-vid-2.6.10-2/mga_vid.c:48:
include/asm/apic.h:10:1: warning: this is the location of the previous definition
/usr/local/src/mga-vid-2.6.10-2/mga_vid.c: In function `mga_vid_find_card':
/usr/local/src/mga-vid-2.6.10-2/mga_vid.c:761: error: structure has no member named `slot_name'
/usr/local/src/mga-vid-2.6.10-2/mga_vid.c:767: error: structure has no member named `slot_name'
/usr/local/src/mga-vid-2.6.10-2/mga_vid.c:773: error: structure has no member named `slot_name'
/usr/local/src/mga-vid-2.6.10-2/mga_vid.c:779: error: structure has no member named `slot_name'
/usr/local/src/mga-vid-2.6.10-2/mga_vid.c:785: error: structure has no member named `slot_name'
make[3]: *** [/usr/local/src/mga-vid-2.6.10-2/mga_vid.o] Error 1
make[2]: *** [_module_/usr/local/src/mga-vid-2.6.10-2] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.12-rc1'
make[1]: *** [mga_vid.ko] Error 2
make[1]: Leaving directory `/usr/local/src/mga-vid-2.6.10-2'
make: *** [all] Error 2

Nincs valami megoldas, hogy 2.6-os kernel alatt is hasznalhassam a
G450-es Matrox kartyamat?

-- 
		Udvozlettel
				    Zsiga




More information about the MPlayer-felhasznalok mailing list