Logo Hardware.com.br
_Oliver_
_Oliver_ Veterano Registrado
1.7K Mensagens 0 Curtidas

O Linux não consegue gerar arquivos para instalar driver

#1 Por _Oliver_ 06/11/2002 - 09:13
Baixei os arquivos para a instalação do meu modem, que é um IntelHam, porém quando exucuto o arquivo instalador, ".\haminst", pelo terminal, ele me diz que não foi possível gerar dois arquivos, o "ham.o" e o "hamdata.o" (se não me engano), o fato é que não consigo instalar, arrrggghhhhhh!!!! Socorro!!!!
_Oliver_
_Oliver_ Veterano Registrado
1.7K Mensagens 0 Curtidas
#3 Por _Oliver_
06/11/2002 - 09:47
BlackCatDbflush
faz assim o

\haminst >/home/erro

ai ctrl c no arquivo erro e ctrl v aki prá sabermos qual é exatamente o er...


Vou fazer isso Gato preto, o problema é que eu estou no trampo, vou poder ver isso só à noite, amanhã posto aqui, ok? Valeu!

ps.: apesar dos trancos e barrancos, tá muito divertido fuçar no Linux.
[Linux User #296645]
[ Athlon XP 2000+ / Kuruma 5.1 / Ubuntu 5.1 ]|[ 512MB DDR ]|[ Radeon 9600PRO 256MB/128Bits ]|[ ASUS A7S333 ]|[ SONY Trinitron Multiscan210sf 17" ]
_Oliver_
_Oliver_ Veterano Registrado
1.7K Mensagens 0 Curtidas
#5 Por _Oliver_
06/11/2002 - 10:17
BlackCatDbflush
Esqueceu do daemon que comanda o buffer de disco (Dbflush Bd Flush)
huaaaaaaaa :lol:


É que meu inglês foi suficiente só pra metade do seu nick, huahuahuahua.

Aproveitando a resposta, me diz uma coisa, nesse caso:

\haminst>/home/erro

duas dúvidas:

1 - A primeira barra é invertida mesmo?

2 - É só abrir o terminal e digitar? Ou preciso estar dentro do diretório onde se encontra este arquivo?
[Linux User #296645]
[ Athlon XP 2000+ / Kuruma 5.1 / Ubuntu 5.1 ]|[ 512MB DDR ]|[ Radeon 9600PRO 256MB/128Bits ]|[ ASUS A7S333 ]|[ SONY Trinitron Multiscan210sf 17" ]
_Oliver_
_Oliver_ Veterano Registrado
1.7K Mensagens 0 Curtidas
#6 Por _Oliver_
07/11/2002 - 09:34
BlackCatDbflush
faz assim o

\haminst >/home/erro

ai ctrl c no arquivo erro e ctrl v aki prá sabermos qual é exatamente o er...


Eu usei esse comando e não funcionou, segue abaixo o erro que houve durante a instalação:

root@localhost intel]# make clean


cd src/hamcore; make clean
make[1]: Entrando no diretÛrio `/home/oliver/tmp/intel/src/hamcore'
rm -f *.o *~ core
make[1]: Saindo do diretÛrio `/home/oliver/tmp/intel/src/hamcore'
cd src/serial; make clean
make[1]: Entrando no diretÛrio `/home/oliver/tmp/intel/src/serial'
rm -f *.o *~ core
make[1]: Saindo do diretÛrio `/home/oliver/tmp/intel/src/serial'
rm -f ham.o
rm -f hamcore.o


[root@localhost intel]# make all


cd src/hamcore; make hamcore-release
make[1]: Entrando no diretÛrio `/home/oliver/tmp/intel/src/hamcore'
cc -Wall -O -I /usr/include -I../inc -c -o coredrv.o coredrv.c
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from hamcore.h:38,
from coredrv.c:33:
hamdefs.h:89:8: warning: extra tokens at end of #endif directive
In file included from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:6,
from /usr/include/linux/wait.h:14,
from /usr/include/linux/fs.h:11,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:6,
from /usr/include/linux/sched.h:8,
from /usr/include/linux/mm.h:4,
from /usr/include/linux/slab.h:14,
from /usr/include/linux/proc_fs.h:5,
from hamcore.h:39,
from coredrv.c:33:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
In file included from coredrv.c:33:
hamcore.h:261:8: warning: extra tokens at end of #endif directive
In file included from /usr/include/linux/module.h:296,
from coredrv.c:35:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include or"
/usr/include/linux/version.h:12:2: #error " as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t
o"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl
ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t
he following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct
include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/in
clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi
ngly."
/usr/include/linux/version.h:35:2: #error "=====================================
=================="
In file included from coredrv.c:35:
/usr/include/linux/module.h:298: parse error before "UTS_RELEASE"
make[1]: ** [coredrv.o] Erro 1
make[1]: Saindo do diretÛrio `/home/oliver/tmp/intel/src/hamcore'
make: ** [all] Erro 2


[root@localhost intel]# make install


bash haminst
running kernel 2.4.19-16mdk
installing
hamcfg
hamtool
hamdata
serial module
install: n„o foi possÌvel gerar status `ham.o': No such file or directory
core module
install: n„o foi possÌvel gerar status `hamcore.o': No such file or directory
mandrake hamboot script
starting module and utilities
insmod: hamcore: no module by that name found
done
[root@localhost intel]#
[Linux User #296645]
[ Athlon XP 2000+ / Kuruma 5.1 / Ubuntu 5.1 ]|[ 512MB DDR ]|[ Radeon 9600PRO 256MB/128Bits ]|[ ASUS A7S333 ]|[ SONY Trinitron Multiscan210sf 17" ]
© 1999-2024 Hardware.com.br. Todos os direitos reservados.
Imagem do Modal