On Sat, 29 Jan 2005 00:10:13 +0000
Mauro Collin <[EMAIL PROTECTED]> wrote:

> ai galera ! estou com um probleminha na hora de compilar o driver para o
> meu modem. se alguem poder me ajudar agrade�o muito...
> se estiver fazendo alguma besteira favor relatar...
> abaixo � a saida da compila��o do driver do modem a compila��o vai bem,
> mas na hora de carregar o driver....veja abaixo:
> 
> 
> [EMAIL PROTECTED]:/usr/src/pctel-0.9.7-9# ./setup
> checking for running kernel version...2.4.22
> checking for ptserial...ptserial-2.4.7.c
> checking for gcc...3.3.5
> searching for kernel includes...found at /usr/src/linux-2.4.22/include/
> checking for
> modversions.h.../usr/src/linux-2.4.22/include//linux/modversions.h
> checking for kernel_version...UTS_RELEASE is 2.4.22
> detecting your modem..../configure: line 61: test: -eq: unary operator
> expected
> ./configure: line 61: test: -eq: unary operator expected
> ./configure: line 61: test: -eq: unary operator expected
> ./configure: line 61: test: -eq: unary operator expected
> ./configure: line 61: test: -eq: unary operator expected
> ./configure: line 61: test: -eq: unary operator expected
> ./configure: line 61: test: -eq: unary operator expected
> ./configure: line 61: test: -eq: unary operator expected
> ** error
> autodetection failed, your modem is not in the database of
> known modems. Try to guess the hal and report success, if
> the modem worked. Please read the FAQ about autodetection
> failed.
> 
> #TUDO BEM, COLOQUEI O NOME DO BENDITO NA M�O CM8738
> 
> please enter your hal type
> choose one of: pct789, cm8738, i8xx, sis, via686a
> hal type: cm8738
> installing device file...done
> installing driver...done
> 
> installation done
> 
> #AT� AQUI OK, MAS DAQUI PRA BAIXO ESTA AL�M DOS MEUS CONHECIMENTOS....
> 
> [EMAIL PROTECTED]:/usr/src/pctel-0.9.7-9# insmod pctel
> Using /lib/modules/2.4.22/misc/lib/pctel.o
> insmod: a module named pctel already exists
> [EMAIL PROTECTED]:/usr/src/pctel-0.9.7-9# insmod ptserial
> Using /lib/modules/2.4.22/misc/lib/ptserial.o
> /lib/modules/2.4.22/misc/lib/ptserial.o: The module you are trying to
> load (/lib/modules/2.4.22/misc/lib/ptserial.o) is compiled with a gcc
> version 2 compiler, while the kernel you are running is compiled with
> a gcc version 3 compiler. This is known to not work.
> [EMAIL PROTECTED]:/usr/src/pctel-0.9.7-9#
> 
> como fa�o para escolher a ver��o do gcc para a compila��o??? se for este
> o erro!!!!
> 

mude o link simbolico. no diretorio /usr/bin
[EMAIL PROTECTED]:/usr/bin$ ls -l gcc*
lrwxrwxrwx    1 root     root            8 Abr 29  2004 gcc -> gcc-2.95
-rwxr-xr-x    1 root     root        74088 Set 23  2002 gcc-2.95
-rwxr-xr-x    1 root     root        74056 Abr  7  2002 gcc-3.0
-rwxr-xr-x    1 root     root        15647 Abr  7  2002 gccbug-3.0
[EMAIL PROTECTED]:/usr/bin$ 

abracos.

-- 
Carlucio Lopes - Debian Gnu/Linux+Tinycobol+Tcl+Postgresql
Por que COBOL? http://www.clubecobol.com.br/cc_pq_cobol.asp
Pirataria!!??.. entenda o que e'.-> www.carlinux.hpg.com.br
Goiania-Goias-Brasil   62-526-8006  62-9946-3523
icq - 267274130  msn - [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Responder a