oncle_albert@caramail.com si le fichier est pqs trop gros (<1 Mo), sinon mini-message-moi.
Merci

TiMad a écrit :
bon alors faut nous aider avec thibeau, parce que pour le moment les seules fonctions que je connaise c'est:
cp mv make make install ./configure & startx
cd /tmp tar -zxvf linux-x.tar.gz bz2cat linux-x.tar.bz2 | tar xvf - make config make menuconfig make xconfig make dep clean make bzImage make modules make modules_install make zlilo
make config make menuconfig make xconfig
Comment on fait pour optimiser le noyau ? Par exemple,si je veux le compiler avec mon cher -O3 -march=i686 -fomit-frame-pointer -s habituel ?
gAndAlf a écrit :
moi je kiffe compiler un kernel ss debian
ca se rezume en 4 etapes![]()
make xconfig
make-kpg clean
make-kpg --revision=test.1.1 kernel_image
dpkg -i kernel-image-2.4.20_test.1.1_i386.deb
et vala, ya pu k'a reboouter :]
[root@localhost root]# cd /usr/s sbin share src [root@localhost root]# cd /usr/src/ [root@localhost src]# cd alsa/ [root@localhost alsa]# cd alsa-driver-0.9.2 alsa-lib-0.9.2.tar.bz2 alsa-utils-0.9.2.tar.bz2 alsa-driver-0.9.2.tar alsa-tools-0.9.1.tar.bz2 [root@localhost alsa]# cd alsa-d alsa-driver-0.9.2 alsa-driver-0.9.2.tar [root@localhost alsa]# cd alsa-driver-0.9.2 [root@localhost alsa-driver-0.9.2]# ./configure --with-cards=via8233 --with-sequ encer=yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/src/alsa/alsa-driver-0.9.2 checking cross compile... checking for directory with kernel source... /lib/modules/2.4.21-0.13mdk/build checking for kernel version... 2.4.21-0.13mdkcustom checking for kernel linux/pm.h... "yes" checking for kernel linux/spinlock.h... "yes" checking for kernel linux/irq.h... "yes" checking for kernel linux/threads.h... "yes" checking for kernel linux/rwsem.h... "yes" checking for kernel linux/gameport.h... "yes" checking for kernel linux/devfs_fs_kernel.h... "yes" checking for kernel linux/highmem.h... "yes" checking for kernel linux/workqueue.h... "no" checking for kernel module symbol versions... "no" checking for PCI support in kernel... "no" checking for SGI/MIPS (HAL2) architecture... "no" checking for directory to store kernel modules... /lib/modules/2.4.21-0.13mdkcus tom/misc checking for verbose printk... on checking for debug level... none checking for ISA support in kernel... "no" checking for processor type... "unknown" checking for SMP... "no" checking for ISA PnP driver in kernel... yes checking for ISA PnP support... yes checking for vmalloc_to_page... "yes" checking for driver version... 0.9.2 checking for sequencer support... yes checking for OSS/Free emulation... yes checking for RTC callback support in kernel... "no" checking for USB support... "no" checking for USB module support... "no" checking for kernel PCMCIA checking for PCMCIA support... "no" checking for PCMCIA module support... "no" checking for PC9800 support in kernel... "no" checking for which soundcards to compile driver for... Unknown soundcard via8233 , exiting! [root@localhost alsa-driver-0.9.2]# ./configure --with-cards=via82xx --with-sequ encer=yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/src/alsa/alsa-driver-0.9.2 checking cross compile... checking for directory with kernel source... /lib/modules/2.4.21-0.13mdk/build checking for kernel version... 2.4.21-0.13mdkcustom checking for kernel linux/pm.h... "yes" checking for kernel linux/spinlock.h... "yes" checking for kernel linux/irq.h... "yes" checking for kernel linux/threads.h... "yes" checking for kernel linux/rwsem.h... "yes" checking for kernel linux/gameport.h... "yes" checking for kernel linux/devfs_fs_kernel.h... "yes" checking for kernel linux/highmem.h... "yes" checking for kernel linux/workqueue.h... "no" checking for kernel module symbol versions... "no" checking for PCI support in kernel... "no" checking for SGI/MIPS (HAL2) architecture... "no" checking for directory to store kernel modules... /lib/modules/2.4.21-0.13mdkcus tom/misc checking for verbose printk... on checking for debug level... none checking for ISA support in kernel... "no" checking for processor type... "unknown" checking for SMP... "no" checking for ISA PnP driver in kernel... yes checking for ISA PnP support... yes checking for vmalloc_to_page... "yes" checking for driver version... 0.9.2 checking for sequencer support... yes checking for OSS/Free emulation... yes checking for RTC callback support in kernel... "no" checking for USB support... "no" checking for USB module support... "no" checking for kernel PCMCIA checking for PCMCIA support... "no" checking for PCMCIA module support... "no" checking for PC9800 support in kernel... "no" checking for which soundcards to compile driver for... via82xx configure: creating ./config.status config.status: creating version config.status: creating Makefile.conf config.status: creating snddevices config.status: creating utils/alsa-driver.spec config.status: creating utils/buildrpm config.status: creating toplevel.config config.status: creating include/config.h config.status: include/config.h is unchanged config.status: creating include/config1.h config.status: creating include/version.h config.status: include/version.h is unchanged [root@localhost alsa-driver-0.9.2]# make make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.2/acore' gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa/alsa-driver-0.9.2/include -I/lib/mo dules/2.4.21-0.13mdk/build/include -O2 -DLINUX -Wall -Wstrict-prototypes -fomit -frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_ BUILD -DEXPORT_SYMTAB -c memalloc.c In file included from /lib/modules/2.4.21-0.13mdk/build/include/linux/module.h:2 1, from /usr/src/alsa/alsa-driver-0.9.2/include/adriver.h:49, from memalloc.c:11: /usr/include/linux/modversions.h:1:2: #error "================================== =====================" /usr/include/linux/modversions.h:2:2: #error "You should not include /usr/includ e/{linux,asm}/ header" /usr/include/linux/modversions.h:3:2: #error "files directly for the compilation of kernel modules." /usr/include/linux/modversions.h:4:2: #error "" /usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header files from a well-defined" /usr/include/linux/modversions.h:6:2: #error "working kernel version (as recomme nded by Linus Torvalds)" /usr/include/linux/modversions.h:7:2: #error "These files are glibc internal and may not match the" /usr/include/linux/modversions.h:8:2: #error "currently running kernel. They sho uld only be" /usr/include/linux/modversions.h:9:2: #error "included via other system header f iles - user space" /usr/include/linux/modversions.h:10:2: #error "programs should not directly incl ude <linux/*.h> or" /usr/include/linux/modversions.h:11:2: #error "<asm/*.h> as well." /usr/include/linux/modversions.h:12:2: #error "" /usr/include/linux/modversions.h:13:2: #error "To build kernel modules please do the following:" /usr/include/linux/modversions.h:14:2: #error "" /usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources instal led" /usr/include/linux/modversions.h:16:2: #error "" /usr/include/linux/modversions.h:17:2: #error " o Make sure that the symbolic li nk" /usr/include/linux/modversions.h:18:2: #error " /lib/modules/`uname -r`/build exists and points to" /usr/include/linux/modversions.h:19:2: #error " the matching kernel source dir ectory" /usr/include/linux/modversions.h:20:2: #error "" /usr/include/linux/modversions.h:21:2: #error " o Now copy /boot/vmlinuz.version .h to" /usr/include/linux/modversions.h:22:2: #error " /lib/modules/`uname -r`/build/ include/linux/version.h" /usr/include/linux/modversions.h:23:2: #error "" /usr/include/linux/modversions.h:24:2: #error " o When compiling, make sure to u se the following" /usr/include/linux/modversions.h:25:2: #error " compiler option to use the cor rect include files:" /usr/include/linux/modversions.h:26:2: #error "" /usr/include/linux/modversions.h:27:2: #error " -I/lib/modules/`uname -r`/buil d/include" /usr/include/linux/modversions.h:28:2: #error "" /usr/include/linux/modversions.h:29:2: #error " instead of" /usr/include/linux/modversions.h:30:2: #error "" /usr/include/linux/modversions.h:31:2: #error " -I/usr/include/linux" /usr/include/linux/modversions.h:32:2: #error "" /usr/include/linux/modversions.h:33:2: #error " Please adjust the Makefile acc ordingly." /usr/include/linux/modversions.h:34:2: #error "================================= ======================" make[1]: *** [memalloc.o] Erreur 1 make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.2/acore' make: *** [compile] Erreur 1 [root@localhost alsa-driver-0.9.2]#Pourtant j'ai fait exactement ce que la doc disait!
TiMad
a écrit : Bon j'ai regarder dans la conf du noyau, mandrake gere le son par des modules.. quel est l'avantage d'utiliser des modules?