1.Disable the line trident..... in /etc/modules.conf
2.updatedb
3.compile the C lasses in the pcel/driver folder ( gcc pctel.c and gcc ptserial.c )
[root@localhost src]# ./configure -auto
checking for running kernel version...2.4.18
checking for ptserial...ptserial-2.4.7.c
checking for gcc...3.2
searching for kernel includes...found at /usr/src/linux-2.4.18-14/include/
checking for modversions.h.../usr/src/linux-2.4.18-14/include//linux/modversions.h
checking for kernel_version...UTS_RELEASE is 2.4.18-14
detecting your modem...found. Your modem is a sis type modem.
compiling the driver...done
[root@localhost src]# make
ld -r -o tmp.o lib/control.a vuart.o lib/sis/dsp.a lib/sis/sishal.a
-=- Fixing wrong symbol names: kmalloc, kfree, printk and __udelay. -=-
make fix_amr_symbols
make[1]: Entering directory `/home/Al/pctel/src'
(wrong_symbols="kmalloc_R93d4cfe6 kfree_R037a0cba printk_R1b7d4074 __udelay_R9e7d6bd0"; \
for sym in $wrong_symbols; do \
tsym=`echo $sym | awk '{ gsub(/_R[0-9a-fA-F]+/,""); printf("%s", $1); }'`; \
if [ "$tsym" = "printk" ]; then \
fsym="`awk '/ '$tsym'/ { printf("%s", $2); }' < /proc/ksyms`"; \
else \
fsym="pctel_$tsym"; \
fi; \
redef_cmd="$redef_cmd --redefine-sym=$sym=$fsym"; \
done && \
objcopy \
$redef_cmd \
tmp.o tmp2.o) && \
(rm -f tmp.o && mv -f tmp2.o tmp.o)
make[1]: Leaving directory `/home/Al/pctel/src'
ld -r -o ../driver/pctel.o ptmodule.o tmp.o
-=- Fixing .modinfo section -=-
make fix_amr_modinfo
make[1]: Entering directory `/home/Al/pctel/src'
modinfo=../driver/modinfo; \
module=../driver/pctel.o; \
module_tmp=../driver/pctel.tmp.o; \
(echo -ne "kernel_version="2.4.18-14"\0" > $modinfo) && \
(echo -ne `objdump -s -j .modinfo $module | \
awk 'BEGIN{v=0;} /Contents/ {v=1; next; } { if (v==1) print $0; }' | \
cut -c7-41 | \
awk '{ printf($0); }' | \
sed 's/ //g;s/../\\\\x&/g;'` | \
tr '\000' '\n' | \
awk '/^kernel_version=/ { next;} {print $0;}' | \
tr '\n' '\000' >> $modinfo) && \
(objcopy --remove-section=.modinfo --add-section=.modinfo=$modinfo \
$module $module_tmp) && \
(rm -f $module $modinfo && mv -f $module_tmp $module)
make[1]: Leaving directory `/home/Al/pctel/src'
[root@localhost src]# make install
rm -f /dev/ttyS15
mknod /dev/ttyS15 c 62 79
chmod 644 /dev/ttyS15
ln -sf /dev/ttyS15 /dev/modem
rm -f /lib/modules/`uname -r`/misc/pctel.o
rm -f /lib/modules/`uname -r`/misc/ptserial.o
cp ../driver/pctel.o /lib/modules/`uname -r`/misc
cp ../driver/ptserial.o /lib/modules/`uname -r`/misc
chmod 644 /lib/modules/`uname -r`/misc/pctel.o
chmod: failed to get attributes of `/lib/modules/2.4.18-14/misc/pctel.o': Not a directory
make: *** [install] Error 1
[root@localhost src]# /sbin/insmod pctel.o
insmod: pctel.o: No such file or directory
[root@localhost src]# /sbin/insmod -f pctel
insmod: pctel: no module by that name found
[root@localhost src]# /sbin/insmod -f pctel.o
insmod: pctel.o: No such file or directory
[root@localhost driver]# /sbin/insmod -f pctel.o
Warning: The module you are trying to load (pctel.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.
Warning: loading pctel.o will taint the kernel: non-GPL license - GPL linked with proprietary libraries
See
http://www.tux.org/lkml/#export-tainted for information about tainted modules
Warning: loading pctel.o will taint the kernel: forced load
Module pctel loaded, with warnings
[root@localhost driver]# /sbin/insmod -f ptserial.o
Warning: loading ptserial.o will taint the kernel: non-GPL license - GPL linked with proprietary libraries
See
http://www.tux.org/lkml/#export-tainted for information about tainted modules
Warning: loading ptserial.o will taint the kernel: forced load
Module ptserial loaded, with warnings
Even if there were errors but just force both of pctel.o and ptserial.o that wanna work
Good luck diego ......; if u have any other answer get in touch with me
Take care