Autor Tópico: Modem, ajudem-me!!!  (Lida 4118 vezes)

Elias10

  • Visitante
Modem, ajudem-me!!!
« Online: 08 de Abril de 2006, 02:22 »
Olá pessoal!!!
Eu baixei o drive do modem pctel e fiz o procedimento: instalar o drive e depois exicutar o setup. A operação não foi concluída indicando um erro na compilação. Abaixo está o resultado do scanModem e do ./setup. Se alguém tiver alguma ideia para resolver esse problema pf me diga, estou querendo muito usar de vez o linux!

./scanModem

UPDATE=2006_March_29
ONLY use scanModem downloaded as: http://linmodems.technion.ac.il/packages/scanModem.gz

./scanModem should ONLY be run within a Linux/UNIX partition.
If within a MicroSoft/DOS partition, abort with Ctrl-C now !!!
Copy scanModem.gz to your Linux partition and restart.


PCIBUS= 0000:00:0d.1

Providing detail for device at  0000:00:0d.1
  with vendor-ID:device-ID
            ----:----
Class 0780: 13f6:0211   Communication controller: C-Media Electronics Inc CM8738 (rev 10)
  SubSystem 1019:0970  Elitegroup Computer Systems: Unknown device 0970
        Flags: medium devsel, IRQ 10


                  -----PCI_IDs-------                    --CompilerVer-
    Feature List:  Primary  Subsystem Distr  KernelVer   kernel default  CPU
 ./scanModem test 13f6:0211 1019:0970 debian_version 2.6.12-9-386  3.4.5 4.0.2   i686


   A subfolder Modem/  has been written,  containing these files with more detailed Information:
 ------------------------------------------------------------------------------------------
 1stRead.txt DriverCompiling.txt InfoGeneral.txt ModemData.txt Pctel.txt Rational.txt Slmodem-ALSA.txt Slmodem.txt SoftModem.txt Testing.txt UNSUBSCRIBE.txt YourSystem.txt
-------------------------------------------------------------------------------------------
       Please read 1stRead.txt first for Guidance.


./setup
checking for running kernel version...2.6.12
checking for ptserial...ptserial-2.6.c
checking for gcc...4.0.2
searching for kernel includes...found at /lib/modules/2.6.12-9-386/build/includechecking for autoconf.h.../lib/modules/2.6.12-9-386/build/include/linux/autoconf.h
checking for asm/mach-default...yes
checking for kernel version in version.h...UTS_RELEASE is 2.6.12-9-386
checking type of tty_struct.count...int
detecting your modem...found. Your modem is a cm8738 type modem.
** compilation error
please read the FAQ about reporting compilation problems
and report this problem.  A transcript of the build process
has been saved in src/make.log.  When reporting problems to
the development team, please send us this file.


Desde já agradeço a ajuda!!!

Offline KubLin

  • Usuário Ubuntu
  • *
  • Mensagens: 428
    • Ver perfil
Modem, ajudem-me!!!
« Resposta #1 Online: 08 de Abril de 2006, 10:04 »
Elias10

leia este tutorial do Morimoto: http://www.guiadohardware.net/guias/05/index2.php

falou

Elias10

  • Visitante
Modem, ajudem-me!!!
« Resposta #2 Online: 14 de Abril de 2006, 01:04 »
Olah KubLin
Obrigado pela dica!
Meu modem eh um CM8738 e segungo o tutorial q tu me passaste vou ter que esperar um pouco, pois o drive ainda não abrange esse tipo.

Mas msm assim eu tentei e deu um problema, dah uma olhada:

:~/Desktop/pctel-0.9.7-9-rht-4c/src$ sudo make
  LD    binary.a
make -C /lib/modules/2.6.12-9-386/build M=/home/casa/Desktop/pctel-0.9.7-9-rht-4c/src
/usr/src/linux-headers-2.6.12-9-386/scripts/gcc-version.sh: line 11: gcc-3.4: command not found
/usr/src/linux-headers-2.6.12-9-386/scripts/gcc-version.sh: line 12: gcc-3.4: command not found
make[1]: gcc-3.4: Comando não encontrado
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.12-9-386'
  LD      /home/casa/Desktop/pctel-0.9.7-9-rht-4c/src/built-in.o
  CC [M]  /home/casa/Desktop/pctel-0.9.7-9-rht-4c/src/linmodem-2.6.o
/bin/sh: gcc-3.4: command not found
make[2]: ** [/home/casa/Desktop/pctel-0.9.7-9-rht-4c/src/linmodem-2.6.o] Erro 127
make[1]: ** [_module_/home/casa/Desktop/pctel-0.9.7-9-rht-4c/src] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.12-9-386'
make: ** [all] Erro 2


Eu gostaria de saber pq esses erros ou falhas (destaque em vermelho) estão ocorrendono gcc. Eu executei no inicio, qndo eu peguei esse drive, o ./setup e também ele dah errro de compilação, como pode ser visto lah no primeiro post. serah que eh falha no gcc? Me diz algo pra eu usar o gcc e verificar a funcionalidade dele pf.

Vlw msm KubLin!!!

Offline KubLin

  • Usuário Ubuntu
  • *
  • Mensagens: 428
    • Ver perfil
Modem, ajudem-me!!!
« Resposta #3 Online: 14 de Abril de 2006, 01:16 »
erro de compilador, talvez não esteja instalado ou tem uma versão diferente

deixe o CD de instalação no drive e digite no terminal:

sudo apt-get install gcc-3.4 g++-3.4

se der erro faça uma busca no Google Linux: http://www.google.com.br/linux

falou

alarcon

  • Visitante
Re: Modem, ajudem-me!!!
« Resposta #4 Online: 14 de Abril de 2006, 17:50 »
« Última modificação: 01 de Julho de 2006, 22:10 por Perícope »