Newsgroup: it.comp.os.linux.software
Titolo: problemi modem pctel sotto RH8

Salve a tutti stò cercando di far funzionare il modem del mio
portatile(ASUS L3412) sotto RH8 con kernel 2.4.18-24.8.0 .
Il modem è un pctel HSP56 MR e ho trovato online il driver pctel-0.9.6 che
però non riesco a compilare correttamemte. Riporto in seguito l'output del
comando ./configure (che riesce) e di Make (che genera errori):
//il chipset è intel
[root@Shippo root]# cd Desktop/pctel-0.9.6
[root@Shippo pctel-0.9.6]# ./configure --with-hal=i8xx --with-kernel-includes=/u
sr/src/linux-2.4.18-24.8.0/in
include  init
[root@Shippo pctel-0.9.6]# ./configure --with-hal=i8xx --with-kernel-includes=/u
sr/src/linux-2.4.18-24.8.0/include/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_I8XX
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 style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking /usr/src/linux-2.4.18-24.8.0/include//linux/modversions.h usability...
yes
checking /usr/src/linux-2.4.18-24.8.0/include//linux/modversions.h presence... y
es
checking for /usr/src/linux-2.4.18-24.8.0/include//linux/modversions.h... yes
checking for Linux kernel version >= 2.4.0... yes
checking for Linux kernel version >= 2.4.7... yes
checking for mknod... mknod
checking for chgrp... chgrp
checking for chmod... chmod
checking for depmod... depmod
checking for rmmod... rmmod
checking for lsmod... lsmod
checking for modprobe... modprobe
checking for objdump... objdump
checking for objcopy... objcopy
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating modules/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/module/Makefile
config.status: creating src/ptserial/Makefile
config.status: creating misc/Makefile
config.status: creating misc/pctel.spec
config.status: creating misc/SlackBuild
config.status: creating misc/build_rpms.sh
config.status: creating m4/Makefile
config.status: executing depfiles commands
config.status: executing default commands
[root@Shippo pctel-0.9.6]# make
Making all in src
make[1]: Entering directory `/root/Desktop/pctel-0.9.6/src'
Making all in module
make[2]: Entering directory `/root/Desktop/pctel-0.9.6/src/module'
rm -f *~ \#* .*~ .\#*
rm -f ptmodule.o
rm -f ptmodule.o
rm -f ../../modules/pctel.o
gcc    -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODU                                   LE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_I8XX -DAUDIO_ROUTING -DINTEL -I../../incl                                   ude -I/usr/src/linux-2.4.18-24.8.0/include/ -include /usr/src/linux-2.4.18-24.8.                                   0/include//linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACK                                   AGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pcte                                   l\" -DVERSION=\"0.9.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=                                   1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAV                                   E_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1   -c -o ptmodule.o ptmodule.c
In file included from /usr/src/linux-2.4.18-24.8.0/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.18-24.8.0/include/linux/list.h:6,
                 from /usr/src/linux-2.4.18-24.8.0/include/linux/module.h:12,
                 from ptmodule.c:8:
/usr/src/linux-2.4.18-24.8.0/include/asm/processor.h:258:1: "EISA_bus" redefined
In file included from /usr/src/linux-2.4.18-24.8.0/include/linux/modversions.h:1                                   28,
                 from <command line>:1:
/usr/src/linux-2.4.18-24.8.0/include/linux/modules/i386_ksyms.ver:93:1: this is                                    the location of the previous definition
make[2]: *** [ptmodule.o] Error 1
make[2]: Leaving directory `/root/Desktop/pctel-0.9.6/src/module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/pctel-0.9.6/src'
make: *** [all-recursive] Error 1
[root@Shippo pctel-0.9.6]# uname -r
2.4.18-24.8.0
[root@Shippo pctel-0.9.6]#
Spero che qualcuno di voi possa aiutarmi,
Giova

scusate ma devono essermi partiti due mess uguali...
..non sono ancora in piena confidenza con pan
Giova

 però non riesco a compilare correttamemte.
Anke io ho la RH8 e ho installato gli stessi driver semplicemente creando
un link con galeon a linux-2.4.18-24.8.0 chiamato "linux", configure, make
& make install a meraviglia, e insmod -f tutto ok.
Magari non è il metodo più sacrosanto, ma funziona.
Ciao!

 Magari non č il metodo piů sacrosanto, ma funziona.
E' lo stesso metodo che ho seguito io ma mi restituisce un errore quando
esegue make.
Poi l'errore l'ho postato nel post precedente, tu ci capisci qualcosa?
Giova

 Giova
Una curiosità funziona insieme alla scheda audio ?
Saluti
GazziNEt
L2 Asus