Recompiler le KERNEL ?

Recompiler le KERNEL ? - Logiciels - Linux et OS Alternatifs

Marsh Posté le 15-05-2003 à 19:54:05    

Je ne comprend pas comment faire pour installer un périphérique !
 
J'ai téléchargé les drivers correspondants à mon matos (il s'agit de la H+, donc les drivers sont les em8300) et il y a un dossier modules.
 
Je fais $ make, mais ça ne fonctionne pas...
 
Quel est la méthode la plus simple pour installer un périphérique ???
 
MERCI D'AVANCE :jap:


Message édité par drvins le 15-05-2003 à 19:54:47

---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 15-05-2003 à 19:54:05   

Reply

Marsh Posté le 15-05-2003 à 20:06:28    

lire la procedure sur le site du driver.

Reply

Marsh Posté le 15-05-2003 à 20:09:24    

Oui, et bien dans le README, y'a simplement les commandes
$ make
et
$ make install
 
...


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 15-05-2003 à 20:18:46    

Tu veux bien parler d'une carte Hollywood Plus non ? Si tele est le cas, procures-toi la dernière version du paquet ici :
http://dxr3.sourceforge.net/download.html
 
... et précises un peu plus sur ton système, sinon on n'arrivera pas vraiment à t'aider ;)

Reply

Marsh Posté le 15-05-2003 à 20:21:24    

Au fait, le message d'erreur c'est : (je met tout...)
 

Citation :


cat: /lib/modules/2.4.21-0.13mdk/build/include/linux/autoconf.h: No such file or directory
cat: /lib/modules/2.4.21-0.13mdk/build/include/linux/version.h: No such file or directory
cc -D__KERNEL__ -DMODULE  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -g -I ../include -I /lib/modules/2.4.21-0.13mdk/build/include/ -O2 -fomit-frame-pointer -Wall -DEM8300_VIDEOMODE_DEFAULT=EM8300_VIDEOMODE_PAL -DEM8300_AUDIOMODE_DEFAULT=EM8300_AUDIOMODE_ANALOG   -c -o em8300_main.o em8300_main.c
In file included from /usr/include/linux/prefetch.h:13,
                 from /usr/include/linux/list.h:6,
                 from /usr/include/linux/module.h:11,
                 from em8300_main.c:21:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
In file included from /usr/include/linux/module.h:297,
                 from em8300_main.c:21:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from em8300_main.c:21:
/usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
/usr/include/linux/module.h: In function `print_symbol':
/usr/include/linux/module.h:433: `ESRCH' undeclared (first use in this function)
/usr/include/linux/module.h:433: (Each undeclared identifier is reported only once
/usr/include/linux/module.h:433: for each function it appears in.)
In file included from em8300_main.c:52:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /usr/include/linux/i2c.h:45,
                 from /usr/include/linux/i2c-algo-bit.h:29,
                 from em8300_main.c:54:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from em8300_main.c:56:
encoder.h:4:26: linux/em8300.h: No such file or directory
em8300_main.c:59:26: linux/em8300.h: No such file or directory
em8300_main.c:75:2: #error "This needs the I2C Bit Banging Interface in your Kernel"
em8300_main.c: At top level:
em8300_main.c:92: `EM8300_MAX' undeclared here (not in a function)
em8300_main.c:92: empty scalar initializer
em8300_main.c:92: (near initialization for `use_bt865';)
em8300_main.c:122: `EM8300_MAX' undeclared here (not in a function)
em8300_main.c:122: empty scalar initializer
em8300_main.c:122: (near initialization for `remap';)
em8300_main.c:124: `EM8300_MAX' undeclared here (not in a function)
em8300_main.c: In function `em8300_irq':
em8300_main.c:141: dereferencing pointer to incomplete type
em8300_main.c:141: dereferencing pointer to incomplete type
em8300_main.c:144: dereferencing pointer to incomplete type
em8300_main.c:144: dereferencing pointer to incomplete type
em8300_main.c:145: dereferencing pointer to incomplete type
em8300_main.c:147: dereferencing pointer to incomplete type
em8300_main.c:147: dereferencing pointer to incomplete type
em8300_main.c:149: `IRQSTATUS_VIDEO_FIFO' undeclared (first use in this function)
em8300_main.c:150: dereferencing pointer to incomplete type
em8300_main.c:153: `IRQSTATUS_AUDIO_FIFO' undeclared (first use in this function)
em8300_main.c:154: dereferencing pointer to incomplete type
em8300_main.c:157: `IRQSTATUS_VIDEO_VBL' undeclared (first use in this function)
em8300_main.c:158: warning: implicit declaration of function `em8300_video_check_ptsfifo'
em8300_main.c:159: warning: implicit declaration of function `em8300_spu_check_ptsfifo'
em8300_main.c:162: dereferencing pointer to incomplete type
em8300_main.c:162: warning: implicit declaration of function `TIMEDIFF'
em8300_main.c:162: dereferencing pointer to incomplete type
em8300_main.c:163: dereferencing pointer to incomplete type
em8300_main.c:164: dereferencing pointer to incomplete type
em8300_main.c:167: dereferencing pointer to incomplete type
em8300_main.c:167: dereferencing pointer to incomplete type
em8300_main.c:167: dereferencing pointer to incomplete type
em8300_main.c:168: dereferencing pointer to incomplete type
em8300_main.c:168: dereferencing pointer to incomplete type
em8300_main.c: In function `release_em8300':
em8300_main.c:180: dereferencing pointer to incomplete type
em8300_main.c:181: dereferencing pointer to incomplete type
em8300_main.c:181: dereferencing pointer to incomplete type
em8300_main.c:190: warning: implicit declaration of function `em8300_i2c_exit'
em8300_main.c:192: dereferencing pointer to incomplete type
em8300_main.c:192: dereferencing pointer to incomplete type
em8300_main.c:193: dereferencing pointer to incomplete type
em8300_main.c:193: dereferencing pointer to incomplete type
em8300_main.c:194: dereferencing pointer to incomplete type
em8300_main.c:196: dereferencing pointer to incomplete type
em8300_main.c:197: dereferencing pointer to incomplete type
em8300_main.c:198: dereferencing pointer to incomplete type
em8300_main.c:201: dereferencing pointer to incomplete type
em8300_main.c:204: dereferencing pointer to incomplete type
em8300_main.c:205: dereferencing pointer to incomplete type
em8300_main.c: In function `find_em8300':
em8300_main.c:223: `PCI_VENDOR_ID_SIGMADESIGNS' undeclared (first use in this function)
em8300_main.c:223: `PCI_DEVICE_ID_SIGMADESIGNS_EM8300' undeclared (first use in this function)
em8300_main.c:225: dereferencing pointer to incomplete type
em8300_main.c:228: dereferencing pointer to incomplete type
em8300_main.c:228: structure has no member named `base_address'
em8300_main.c:237: dereferencing pointer to incomplete type
em8300_main.c:241: structure has no member named `base_address'
em8300_main.c:241: dereferencing pointer to incomplete type
em8300_main.c:243: dereferencing pointer to incomplete type
em8300_main.c:247: dereferencing pointer to incomplete type
em8300_main.c:253: dereferencing pointer to incomplete type
em8300_main.c:256: dereferencing pointer to incomplete type
em8300_main.c:258: dereferencing pointer to incomplete type
em8300_main.c:258: dereferencing pointer to incomplete type
em8300_main.c:258: dereferencing pointer to incomplete type
em8300_main.c:259: dereferencing pointer to incomplete type
em8300_main.c: In function `em8300_io_ioctl':
em8300_main.c:290: `EM8300_SUBDEVICE_AUDIO' undeclared (first use in this function)
em8300_main.c:291: warning: implicit declaration of function `em8300_audio_ioctl'
em8300_main.c:292: `EM8300_SUBDEVICE_VIDEO' undeclared (first use in this function)
em8300_main.c:293: warning: implicit declaration of function `em8300_video_ioctl'
em8300_main.c:294: `EM8300_SUBDEVICE_SUBPICTURE' undeclared (first use in this function)
em8300_main.c:295: warning: implicit declaration of function `em8300_spu_ioctl'
em8300_main.c:296: `EM8300_SUBDEVICE_CONTROL' undeclared (first use in this function)
em8300_main.c:297: warning: implicit declaration of function `em8300_control_ioctl'
em8300_main.c: In function `em8300_io_open':
em8300_main.c:314: `EM8300_SUBDEVICE_CONTROL' undeclared (first use in this function)
em8300_main.c:326: `EM8300_SUBDEVICE_AUDIO' undeclared (first use in this function)
em8300_main.c:328: warning: implicit declaration of function `em8300_audio_open'
em8300_main.c:330: `EM8300_SUBDEVICE_VIDEO' undeclared (first use in this function)
em8300_main.c:332: dereferencing pointer to incomplete type
em8300_main.c:335: warning: implicit declaration of function `em8300_video_open'
em8300_main.c:337: warning: implicit declaration of function `em8300_ioctl_enable_videoout'
em8300_main.c:339: warning: implicit declaration of function `em8300_video_setplaymode'
em8300_main.c:339: `EM8300_PLAYMODE_PLAY' undeclared (first use in this function)
em8300_main.c:341: `EM8300_SUBDEVICE_SUBPICTURE' undeclared (first use in this function)
em8300_main.c:343: dereferencing pointer to incomplete type
em8300_main.c:346: warning: implicit declaration of function `em8300_spu_open'
em8300_main.c: In function `em8300_io_write':
em8300_main.c:372: `EM8300_SUBDEVICE_VIDEO' undeclared (first use in this function)
em8300_main.c:373: warning: implicit declaration of function `em8300_video_write'
em8300_main.c:375: `EM8300_SUBDEVICE_AUDIO' undeclared (first use in this function)
em8300_main.c:376: warning: implicit declaration of function `em8300_audio_write'
em8300_main.c:378: `EM8300_SUBDEVICE_SUBPICTURE' undeclared (first use in this function)
em8300_main.c:379: warning: implicit declaration of function `em8300_spu_write'
em8300_main.c: In function `em8300_io_mmap':
em8300_main.c:392: `EM8300_SUBDEVICE_CONTROL' undeclared (first use in this function)
em8300_main.c:397: structure has no member named `vm_offset'
em8300_main.c:402: dereferencing pointer to incomplete type
em8300_main.c:407: dereferencing pointer to incomplete type
em8300_main.c:414: wrong type argument to increment
em8300_main.c: In function `em8300_poll':
em8300_main.c:433: `EM8300_SUBDEVICE_AUDIO' undeclared (first use in this function)
em8300_main.c:434: dereferencing pointer to incomplete type
em8300_main.c:436: dereferencing pointer to incomplete type
em8300_main.c:442: `EM8300_SUBDEVICE_VIDEO' undeclared (first use in this function)
em8300_main.c:443: dereferencing pointer to incomplete type
em8300_main.c:445: dereferencing pointer to incomplete type
em8300_main.c:451: `EM8300_SUBDEVICE_SUBPICTURE' undeclared (first use in this function)
em8300_main.c:452: dereferencing pointer to incomplete type
em8300_main.c:454: dereferencing pointer to incomplete type
em8300_main.c: In function `em8300_io_release':
em8300_main.c:470: `EM8300_SUBDEVICE_AUDIO' undeclared (first use in this function)
em8300_main.c:471: warning: implicit declaration of function `em8300_audio_release'
em8300_main.c:473: `EM8300_SUBDEVICE_VIDEO' undeclared (first use in this function)
em8300_main.c:474: warning: implicit declaration of function `em8300_video_release'
em8300_main.c:477: `EM8300_SUBDEVICE_SUBPICTURE' undeclared (first use in this function)
em8300_main.c:481: dereferencing pointer to incomplete type
em8300_main.c: In function `init_em8300':
em8300_main.c:630: dereferencing pointer to incomplete type
em8300_main.c:630: dereferencing pointer to incomplete type
em8300_main.c:632: dereferencing pointer to incomplete type
em8300_main.c:634: dereferencing pointer to incomplete type
em8300_main.c:635: dereferencing pointer to incomplete type
em8300_main.c:636: dereferencing pointer to incomplete type
em8300_main.c:637: dereferencing pointer to incomplete type
em8300_main.c:638: dereferencing pointer to incomplete type
em8300_main.c:639: dereferencing pointer to incomplete type
em8300_main.c:640: dereferencing pointer to incomplete type
em8300_main.c:641: dereferencing pointer to incomplete type
em8300_main.c:643: dereferencing pointer to incomplete type
em8300_main.c:645: dereferencing pointer to incomplete type
em8300_main.c:649: dereferencing pointer to incomplete type
em8300_main.c:650: dereferencing pointer to incomplete type
em8300_main.c:651: dereferencing pointer to incomplete type
em8300_main.c:652: dereferencing pointer to incomplete type
em8300_main.c:655: dereferencing pointer to incomplete type
em8300_main.c:656: dereferencing pointer to incomplete type
em8300_main.c:657: dereferencing pointer to incomplete type
em8300_main.c:658: dereferencing pointer to incomplete type
em8300_main.c:659: dereferencing pointer to incomplete type
em8300_main.c:660: dereferencing pointer to incomplete type
em8300_main.c:663: dereferencing pointer to incomplete type
em8300_main.c:665: warning: implicit declaration of function `em8300_i2c_init'
em8300_main.c:670: dereferencing pointer to incomplete type
em8300_main.c:670: `CLOCKGEN_TVMODE_1' undeclared (first use in this function)
em8300_main.c:671: dereferencing pointer to incomplete type
em8300_main.c:671: `CLOCKGEN_OVERLAYMODE_1' undeclared (first use in this function)
em8300_main.c:673: dereferencing pointer to incomplete type
em8300_main.c:673: `CLOCKGEN_TVMODE_2' undeclared (first use in this function)
em8300_main.c:674: dereferencing pointer to incomplete type
em8300_main.c:674: `CLOCKGEN_OVERLAYMODE_2' undeclared (first use in this function)
em8300_main.c: In function `em8300_exit':
em8300_main.c:709: `EM8300_MAJOR' undeclared (first use in this function)
em8300_main.c:709: `EM8300_LOGNAME' undeclared (first use in this function)
em8300_main.c:688: warning: unused variable `devname'
em8300_main.c: In function `em8300_init':
em8300_main.c:750: dereferencing pointer to incomplete type
em8300_main.c:752: dereferencing pointer to incomplete type
em8300_main.c:754: dereferencing pointer to incomplete type
em8300_main.c:791: `EM8300_MAJOR' undeclared (first use in this function)
em8300_main.c:791: `EM8300_LOGNAME' undeclared (first use in this function)
em8300_main.c:719: warning: unused variable `devname'
em8300_main.c: At top level:
em8300_main.c:92: storage size of `use_bt865' isn't known
em8300_main.c:122: storage size of `remap' isn't known
em8300_main.c:124: storage size of `em8300' isn't known
em8300_main.c:92: warning: `use_bt865' defined but not used
em8300_main.c:122: warning: `remap' defined but not used
em8300_main.c:124: warning: `em8300' defined but not used
make: *** [em8300_main.o] Erreur 1


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 15-05-2003 à 20:37:36    

Faut installer les headers du noyal ...

Reply

Marsh Posté le 15-05-2003 à 20:40:02    

- Fred - a écrit :

Faut installer les headers du noyal ...


Cool mais... comment fait-on :??:


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 15-05-2003 à 20:45:35    

Bah, avec ton package manager dans la Mandrake, ou urpmi ... je n'utilise pas la Mandrake, mais en cherchant un peu tu vas certainement trouver ;)

Reply

Marsh Posté le 15-05-2003 à 21:15:18    

- Fred - a écrit :

Bah, avec ton package manager dans la Mandrake, ou urpmi ... je n'utilise pas la Mandrake, mais en cherchant un peu tu vas certainement trouver ;)


 :non: y'avait bien un rpm mais y'avait que le dossier modules avec le Makefile.


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 15-05-2003 à 22:45:37    

ce qu'il veut dire c'est que pour que les modules compilent, faut installer les sources de ton noyau.

Reply

Marsh Posté le 15-05-2003 à 22:45:37   

Reply

Marsh Posté le 15-05-2003 à 23:09:26    

Moi j'appelle ca les headers parce que sous Debian tu peux n'installer que les headers, si ca se trouve sous Mandrake tu dois installer toutes les sources du noyau ... essayes un peu tout :D
 
D'ailleurs, tu devrais pouvoir faire une recherche dans ta base de package pour trouver tout ca non ... ?

Reply

Marsh Posté le 15-05-2003 à 23:12:31    

- Fred - a écrit :

Moi j'appelle ca les headers parce que sous Debian tu peux n'installer que les headers, si ca se trouve sous Mandrake tu dois installer toutes les sources du noyau ... essayes un peu tout :D
 
D'ailleurs, tu devrais pouvoir faire une recherche dans ta base de package pour trouver tout ca non ... ?


Oui, y'a les sources avec URPM. Faut juste les installer ?


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 15-05-2003 à 23:14:32    

Bon, voilà, c'est installé mais après, je dois faire quoi pour mettre ma H+ :??:


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 15-05-2003 à 23:20:33    

Relances la compil' en ayant fait un "make clean" avant, et lis bien les messages d'erreur s'il y en a ;)

Reply

Marsh Posté le 15-05-2003 à 23:36:49    

- Fred - a écrit :

Relances la compil' en ayant fait un "make clean" avant, et lis bien les messages d'erreur s'il y en a ;)


Pareil, même erreur :cry:


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 16-05-2003 à 07:10:59    

Qu'est-ce que tu as dans ton /usr/src/linux/include et quel est exactement le nom du package que tu as installé (pour les headers) ?
Tu n'aurais pas un guide kernel dans la doc de Mandrake :whistle: ?

Reply

Marsh Posté le 16-05-2003 à 20:00:54    

connais pas trop mandrake mais la marche a suivre doit etre :
 
1. install des sources du kernel
2. install de tes drivers
3. "cd /usr/src/linux"
4. "make menuconfig" voire un "make xconfig"
5. activer les bonnes options dans ton kernel (lit la doc des drivers de ton periph)
6. "make dep && make clean bzImage modules modules_install"
7. "cp /usr/src/linux/arch/i386/boot/bzImage /boot" oublit pas monter /boot avant
 
le tout en root ;)

Reply

Marsh Posté le 16-05-2003 à 23:02:16    

Mwef, pour compiler un pauvre module c'est peut-être pas la peine de recompiler tout le kernel, d'autant que la configuration kernel de Mandrake n'est pas totalement à jeter ;)
 
Je pense qu'installer correctement les headers devrait résoudre ton problème, mais essayes de chercher un peu de ton côté ;)

Reply

Marsh Posté le 17-05-2003 à 03:38:50    

pourquoi tu recompiles alors qu c est DEJA dans la mandrake ??
rajoutes em8300 dans /etc/modules et profites en pour installer le paquet em8300 ( urpmi em8300 )

Reply

Marsh Posté le 17-05-2003 à 13:35:06    

- Fred - a écrit :

Mwef, pour compiler un pauvre module c'est peut-être pas la peine de recompiler tout le kernel, d'autant que la configuration kernel de Mandrake n'est pas totalement à jeter ;)
 
Je pense qu'installer correctement les headers devrait résoudre ton problème, mais essayes de chercher un peu de ton côté ;)


 
c'est bien preciser je ne connais pas mdk :p

Reply

Marsh Posté le 17-05-2003 à 22:01:29    

houplaboom42 a écrit :

pourquoi tu recompiles alors qu c est DEJA dans la mandrake ??
rajoutes em8300 dans /etc/modules et profites en pour installer le paquet em8300 ( urpmi em8300 )


ça marche pas, dans MPlayer, je choisi dxr3 dans la configuration video, je met /dev/em8300 dans Device, mais j'ai ça que je lance un fichier :
 

Citation :


Error opening/initializing the selected video_out (-co) device.


 
:cry:


Message édité par drvins le 17-05-2003 à 22:02:07

---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le 17-05-2003 à 22:05:20    

peut-etre qu'il te faut les droits root pour y accéder : essaye de lancer mplayer en root pour voir ce que ca fait.

Reply

Marsh Posté le 17-05-2003 à 22:11:29    

kjus a écrit :

peut-etre qu'il te faut les droits root pour y accéder : essaye de lancer mplayer en root pour voir ce que ca fait.


 :non:


---------------
http://www.musique-libre.tk/
Reply

Marsh Posté le    

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed