+ Responder ao Tópico



  1. #1
    sieber
    Visitante

    Padrão Problema na compilação do driver alsa

    Ola pessoal, procurei no search mas nao havia um problema especifico como o meu. Estou tentando compilar um driver do ALSA pra minha placa de som, uma VIA 8233.
    Vou colar o processo aqui pra voces analizarem, e se pudere, me ajudem.
    Agradeço desde ja
    ------
    sdab165:/usr/src/alsa/alsa-driver-1.0.9rc4a# ./configure --with-cards=via82xx --with-sequencer=yes;make;make install
    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 suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    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 egrep... grep -E
    checking for ANSI C header files... yes
    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-1.0.9rc4a
    checking cross compile...
    checking for directory with kernel source... /usr/src/linux
    checking for directory with kernel build...
    checking for kernel version... The file /usr/src/linux/include/linux/version.h does not exist.
    Please, install the package with full kernel sources for your distribution
    or use --with-kernel=dir option to specify another directory with kernel
    sources (default is /usr/src/linux).
    make all-deps
    make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.9rc4a'
    make[1]: Nada a ser feito para `all-deps'.
    make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9rc4a'

    Please, run the configure script as first...

    rm -f /snd*.*o /persist.o /isapnp.o
    make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.9rc4a/acore'
    Makefile:6: /usr/src/alsa/alsa-driver-1.0.9rc4a/Makefile.conf: Arquivo ou diretório não encontrado
    make[1]: *** Sem regra para processar o alvo `/usr/src/alsa/alsa-driver-1.0.9rc4a/Makefile.conf'. Pare.
    make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.9rc4a/acore'
    make: ** [install-modules] Erro 1

  2. #2

    Padrão Re: Problema na compilação do driver alsa

    Bem... não é a solução que você está procurando e tal... mas por que você não instala o kernel 2.6, onde o ALSA fica dentro do kernel e a maioria dos módulos já estão compilados? Muito menos dor de cabeça...


    Abraços!

  3. #3
    sieber
    Visitante

    Padrão Re: Problema na compilação do driver alsa

    Consegui
    eu peguei uma biblioteca via apt-get chamada libasound2
    ai rodei o alsaconf e ele detectou!
    Muito show!

    valeu!

  4. #4
    orion_171
    Visitante

    Padrão Re: Problema na compilação do driver alsa

    Cara olha só a versão do meu kernel é a
    Código :
    Server:/home/edivan# uname -r
    2.6.8-11-amd64-k8
    Server:/home/edivan# alsaconfig
    bash: alsaconfig: command not found
    Server:/home/edivan# alsaconf
    bash: alsaconf: command not found
    E o continuo sem som...
    por atp-get tb num rola, ele não acha os pacotes..... :mrgreen:


  5. #5

    Padrão Re: Problema na compilação do driver alsa

    orion!

    como está a configuração do seu apt?? tenta configurar com o base-config.. é tranquilo!

    depois pega os pacotes do alsa! qualquer duvida poste denovo..

    abraços..