Desde que eu instalei o Ubuntu o meu principal problema é usar a internet. Tenho um Winmodem Intel 537 e pesquisando no Fórum achei vários guias para tentar fazê-lo funcionar. Baixei os drivers do bendito, mas na hora de compilar sempre ocorre algum erro.
Antes que perguntem eu já instalei (pelo menos acho que instalei) o build-essentials, linux-headers do maverick, além do gcc. Li um pouco e depois de várias tentativas EU acho que é o porque o script de compilação procura por arquivos do Linux, que no Ubuntu estão em diretórios diferentes dos do script. Abaixo segue a sequência de erros, após tentar digitar make 537 e make install.
root@R-system:/home/kadimus2/intel-536-537# make 537
cd coredrv; make clean
make[1]: Entering directory `/home/kadimus2/intel-536-537/coredrv'
rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core Module.* modules.*
rm -rf .tmp_versions
make[1]: Leaving directory `/home/kadimus2/intel-536-537/coredrv'
rm -f *.o *.ko
Module precompile check
Current running kernel is: 2.6.35-22-generic
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
version.h matches running kernel
make[1]: Entering directory `/home/kadimus2/intel-536-537'
Building for 537
2.6.35-22-generic
make[2]: Entering directory `/home/kadimus2/intel-536-537/coredrv'
make -C /lib/modules/2.6.35-22-generic/build SUBDIRS=/home/kadimus2/intel-536-537/coredrv modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
CC [M] /home/kadimus2/intel-536-537/coredrv/coredrv.o
In file included from /home/kadimus2/intel-536-537/coredrv/hamdefs.h:54,
from /home/kadimus2/intel-536-537/coredrv/hamcore.h:45,
from /home/kadimus2/intel-536-537/coredrv/coredrv.c:33:
include/linux/autoconf.h:4283: warning: "CONFIG_VERSION_SIGNATURE" redefined
./include/generated/autoconf.h:4283: note: this is the location of the previous definition
In file included from /home/kadimus2/intel-536-537/coredrv/hamdefs.h:54,
from /home/kadimus2/intel-536-537/coredrv/hamcore.h:45,
from /home/kadimus2/intel-536-537/coredrv/coredrv.c:33:
include/linux/autoconf.h:4283: warning: "CONFIG_VERSION_SIGNATURE" redefined
./include/generated/autoconf.h:4283: note: this is the location of the previous definition
CC [M] /home/kadimus2/intel-536-537/coredrv/clmmain.o
In file included from /home/kadimus2/intel-536-537/coredrv/hamdefs.h:54,
from /home/kadimus2/intel-536-537/coredrv/hamcore.h:45,
from /home/kadimus2/intel-536-537/coredrv/clmmain.c:37:
include/linux/autoconf.h:4283: warning: "CONFIG_VERSION_SIGNATURE" redefined
./include/generated/autoconf.h:4283: note: this is the location of the previous definition
CC [M] /home/kadimus2/intel-536-537/coredrv/rts.o
In file included from /home/kadimus2/intel-536-537/coredrv/hamdefs.h:54,
from /home/kadimus2/intel-536-537/coredrv/hamcore.h:45,
from /home/kadimus2/intel-536-537/coredrv/rts.c:37:
include/linux/autoconf.h:4283: warning: "CONFIG_VERSION_SIGNATURE" redefined
./include/generated/autoconf.h:4283: note: this is the location of the previous definition
CC [M] /home/kadimus2/intel-536-537/coredrv/task.o
In file included from /home/kadimus2/intel-536-537/coredrv/hamdefs.h:54,
from /home/kadimus2/intel-536-537/coredrv/hamcore.h:45,
from /home/kadimus2/intel-536-537/coredrv/task.c:38:
include/linux/autoconf.h:4283: warning: "CONFIG_VERSION_SIGNATURE" redefined
./include/generated/autoconf.h:4283: note: this is the location of the previous definition
CC [M] /home/kadimus2/intel-536-537/coredrv/uart.o
In file included from /home/kadimus2/intel-536-537/coredrv/hamdefs.h:54,
from /home/kadimus2/intel-536-537/coredrv/hamcore.h:45,
from /home/kadimus2/intel-536-537/coredrv/uart.c:33:
include/linux/autoconf.h:4283: warning: "CONFIG_VERSION_SIGNATURE" redefined
./include/generated/autoconf.h:4283: note: this is the location of the previous definition
CC [M] /home/kadimus2/intel-536-537/coredrv/wwh_dflt.o
CC [M] /home/kadimus2/intel-536-537/coredrv/locks.o
In file included from /home/kadimus2/intel-536-537/coredrv/hamdefs.h:54,
from /home/kadimus2/intel-536-537/coredrv/hamcore.h:45,
from /home/kadimus2/intel-536-537/coredrv/locks.c:37:
include/linux/autoconf.h:4283: warning: "CONFIG_VERSION_SIGNATURE" redefined
./include/generated/autoconf.h:4283: note: this is the location of the previous definition
CC [M] /home/kadimus2/intel-536-537/coredrv/softserial_io.o
In file included from /home/kadimus2/intel-536-537/coredrv/hamdefs.h:54,
from /home/kadimus2/intel-536-537/coredrv/hamcore.h:45,
from /home/kadimus2/intel-536-537/coredrv/softserial_io.c:34:
include/linux/autoconf.h:4283: warning: "CONFIG_VERSION_SIGNATURE" redefined
./include/generated/autoconf.h:4283: note: this is the location of the previous definition
CC [M] /home/kadimus2/intel-536-537/coredrv/softserial_ioctl.o
In file included from /home/kadimus2/intel-536-537/coredrv/hamdefs.h:54,
from /home/kadimus2/intel-536-537/coredrv/hamcore.h:45,
from /home/kadimus2/intel-536-537/coredrv/softserial_ioctl.c:34:
include/linux/autoconf.h:4283: warning: "CONFIG_VERSION_SIGNATURE" redefined
./include/generated/autoconf.h:4283: note: this is the location of the previous definition
CC [M] /home/kadimus2/intel-536-537/coredrv/softserial.o
In file included from /home/kadimus2/intel-536-537/coredrv/hamdefs.h:54,
from /home/kadimus2/intel-536-537/coredrv/hamcore.h:45,
from /home/kadimus2/intel-536-537/coredrv/softserial.c:36:
include/linux/autoconf.h:4283: warning: "CONFIG_VERSION_SIGNATURE" redefined
./include/generated/autoconf.h:4283: note: this is the location of the previous definition
CC [M] /home/kadimus2/intel-536-537/coredrv/afedsp_int.o
In file included from /home/kadimus2/intel-536-537/coredrv/hamdefs.h:54,
from /home/kadimus2/intel-536-537/coredrv/hamcore.h:45,
from /home/kadimus2/intel-536-537/coredrv/afedsp_int.h:36,
from /home/kadimus2/intel-536-537/coredrv/afedsp_int.c:33:
include/linux/autoconf.h:4283: warning: "CONFIG_VERSION_SIGNATURE" redefined
./include/generated/autoconf.h:4283: note: this is the location of the previous definition
LD [M] /home/kadimus2/intel-536-537/coredrv/Intel537.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /home/kadimus2/intel-536-537/coredrv/.537core.lib.cmd for /home/kadimus2/intel-536-537/coredrv/537core.lib
CC /home/kadimus2/intel-536-537/coredrv/Intel537.mod.o
LD [M] /home/kadimus2/intel-536-537/coredrv/Intel537.ko
make[3]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make[2]: Leaving directory `/home/kadimus2/intel-536-537/coredrv'
make[1]: Leaving directory `/home/kadimus2/intel-536-537'
root@R-system:/home/kadimus2/intel-536-537# make install
make[1]: Entering directory `/home/kadimus2/intel-536-537'
rm -f /usr/sbin/hamregistry.bin
bash 537_inst
running kernel 2.6.35-22-generic
installing hamregistry, used for persistant storage
installing usrsound, a soft buzzer
installing 537 module
install UBUNTU 537 boot script and links
starting module and utilities
usrsound: no process found
hamregistry: no process found
FATAL: Error inserting Intel537 (/lib/modules/2.6.35-22-generic/kernel/drivers/char/Intel537.ko): No such device
insmod: can't read 'Intel537': No such file or directory
error loading Intel537
ERROR: Module Intel537 does not exist in /proc/modules
done
make[1]: Leaving directory `/home/kadimus2/intel-536-537'
Qualquer ajuda é bem vinda, agradeço desde já.