Genel

Linux | Building sound support

Building sound support

I have Mandrake 7.2 power pack deluxe, which doesn’t support my soundcard. Having downloaded the alsa-driver-0.5.11 file, I have been attempting to make the alsa-driver for an als4000 card. I have found that when I try the following: ./configure ~-wittvcards=als40Q0~-with-kernel=/usr/src/linux-2.2.17 No obvious error message is displayed when I run make install. At the end of the output display the following is displayed. make [ 1 ]: *** [sound.ol Error 1 make [1J: leaving directory -/usr/src/alsa-driver-(X5.il/kernei

make: *** leompilel Error 1 Examining the config.log reveals:

Configure; failed program was:

#fine 1773 ‘configure’

#inciude ‘confdefs.h’

#indude/usr/src/linux-2.2.17/inc}ude/linux/

autoconth

înt main(void) {

#rfndtef CONFIG^SMP exit( 1);

#else

exit(0);

#endif

}

When I run ‘make install’ I get the follovving at the end of the output display:

make 11 ]: [soundol Error 1 make [\\: leavîng
directory A/usr/src/alsa-driver-0.5.11 /kerneİAmake: *** {compilej Error 1

I suspect I am missing something obvious. lan Topp

r lj| The config.log file is produced by the j| I ‘configure’ script, so as long as that works ***, 1 properly, then you can completely ignore any errors within that file. The error you have given us from make doesn’t teli us anything, other than that it failed while building kernel/sound.o, so you will need to investigate any errors right before that that it produces, specifidy from gcc, to see what has caused the problem. First, you might want to check that there is a functional kernel source in /usr/src/linux-2.2.17, and that your machine is running 2.2.17, as Alsa needs to be compiled against the kernel version you are going to use it with. You may also want to investigate the support for your sound card in later 2.2 releases, the latest of which is 2.2.20, or in the 2.4.x kernel tree.

You really don’t want to run ‘make install’ before running ‘make; as it will install things as it goes along, which often means that when it breaks, you end up with half an installation which, no doubt, will actually break the original version of it installed. The error you sent us is actually the error from ‘make’ saying that the execution of something in the makefile, in this case probably gcc, failed, so it is just going to stop. You didn’t say what the error from gcc was, so it’s somevvhat difficult to diagnose the problem any further.

Bir yanıt yazın

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir