ok whansard. I got you something that you could read. Maybe everyone could better help me. I'm going to post it right now.
[dsanta@localhost dsanta]$ cp /mnt/cdrom/pctel-0.9.6.tar.gz /home/dsanta
[dsanta@localhost dsanta]$ tar zxvf pctel-0.9.6.tar.gz
pctel-0.9.6/
pctel-0.9.6/misc/
pctel-0.9.6/misc/Makefile.am
pctel-0.9.6/misc/Makefile.in
pctel-0.9.6/misc/SlackBuild.in
pctel-0.9.6/misc/build_rpms.sh.in
pctel-0.9.6/misc/pctel.spec.in
pctel-0.9.6/misc/autogen.sh
pctel-0.9.6/misc/pctel.spec
pctel-0.9.6/README
pctel-0.9.6/AUTHORS
pctel-0.9.6/COPYING
pctel-0.9.6/ChangeLog
pctel-0.9.6/INSTALL
pctel-0.9.6/Makefile.am
pctel-0.9.6/Makefile.in
pctel-0.9.6/NEWS
pctel-0.9.6/acinclude.m4
pctel-0.9.6/aclocal.m4
pctel-0.9.6/configure
pctel-0.9.6/configure.in
pctel-0.9.6/install-sh
pctel-0.9.6/missing
pctel-0.9.6/mkinstalldirs
pctel-0.9.6/cvscompile.sh
pctel-0.9.6/FAQ
pctel-0.9.6/src/
pctel-0.9.6/src/Makefile.am
pctel-0.9.6/src/Makefile.in
pctel-0.9.6/src/module/
pctel-0.9.6/src/module/Makefile.am
pctel-0.9.6/src/module/Makefile.in
pctel-0.9.6/src/module/ptmodule.c
pctel-0.9.6/src/ptserial/
pctel-0.9.6/src/ptserial/Makefile.am
pctel-0.9.6/src/ptserial/Makefile.in
pctel-0.9.6/src/ptserial/ptserial-2.4.6.c
pctel-0.9.6/src/ptserial/ptserial-2.4.7.c
pctel-0.9.6/lib/
pctel-0.9.6/lib/asus/
pctel-0.9.6/lib/asus/dsp.a
pctel-0.9.6/lib/asus/i810hal.a
pctel-0.9.6/lib/cm8738/
pctel-0.9.6/lib/cm8738/pctel-cm8738.o
pctel-0.9.6/lib/pct789/
pctel-0.9.6/lib/pct789/dsp.a
pctel-0.9.6/lib/pct789/pcthal.a
pctel-0.9.6/lib/sis/
pctel-0.9.6/lib/sis/dsp.a
pctel-0.9.6/lib/sis/i810hal.a
pctel-0.9.6/lib/via/
pctel-0.9.6/lib/via/dsp.a
pctel-0.9.6/lib/via/via686ahal.a
pctel-0.9.6/lib/Makefile.am
pctel-0.9.6/lib/Makefile.in
pctel-0.9.6/lib/control.a
pctel-0.9.6/lib/vuart.o
pctel-0.9.6/modules/
pctel-0.9.6/modules/Makefile.am
pctel-0.9.6/modules/Makefile.in
pctel-0.9.6/include/
pctel-0.9.6/include/pctel.h
pctel-0.9.6/include/halwraps.h
pctel-0.9.6/include/vuart.h
pctel-0.9.6/include/Makefile.am
pctel-0.9.6/include/Makefile.in
pctel-0.9.6/m4/
pctel-0.9.6/m4/Makefile.am
pctel-0.9.6/m4/Makefile.in
pctel-0.9.6/m4/_pctel.m4
[dsanta@localhost dsanta]$
[dsanta@localhost dsanta]$ cd pctel-0.9.6
[dsanta@localhost pctel-0.9.6]$ ./configure --with-hal=pct789 --with-kernel-includes=/usr/src/linux-2.4.20-8/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_PCT789
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.20-8/include/linux/modversions.h usability... yes
checking /usr/src/linux-2.4.20-8/include/linux/modversions.h presence... yes
checking for /usr/src/linux-2.4.20-8/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... no
checking for rmmod... no
checking for lsmod... no
checking for modprobe... no
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
[dsanta@localhost pctel-0.9.6]$ make
Making all in src
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/src'
Making all in module
make[2]: Entering directory `/home/dsanta/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 -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_PCT789 -I../../include -I/usr/src/linux-2.4.20-8/include -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pctel\" -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 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -c -o ptmodule.o ptmodule.c
ld -r -o ../../modules/pctel.o ptmodule.o ../../lib/control.a ../../lib/vuart.o
../../lib/pct789/dsp.a ../../lib/pct789/pcthal.a
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/src/module'
Making all in ptserial
make[2]: Entering directory `/home/dsanta/pctel-0.9.6/src/ptserial'
rm -f *~ \#* .*~ .\#*
rm -f ptserial.o ptserial.c
rm -f ptserial.o
rm -f ../../modules/ptserial.o
ln -s -f ptserial-2.4.7.c ../../src/ptserial/ptserial.c
make ptserial.o
make[3]: Entering directory `/home/dsanta/pctel-0.9.6/src/ptserial'
gcc -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_PCT789 -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" -DGCC_VERSION=\""`gcc --version | head -1`\"" -I../../include -I/usr/src/linux-2.4.20-8/include -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pctel\" -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 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -c -o ptserial.o ptserial.c
make[3]: Leaving directory `/home/dsanta/pctel-0.9.6/src/ptserial'
ld -r -o ../../modules/ptserial.o ptserial.o
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/src/ptserial'
make[2]: Entering directory `/home/dsanta/pctel-0.9.6/src'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/src'
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/src'
Making all in lib
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/lib'
Making all in modules
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/modules'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/modules'
Making all in include
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/include'
Making all in misc
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/misc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/misc'
Making all in m4
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/m4'
make[1]: Entering directory `/home/dsanta/pctel-0.9.6'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6'
[dsanta@localhost pctel-0.9.6]$ su
Password:
[root@localhost pctel-0.9.6]# make install
Making install in src
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/src'
Making install in module
make[2]: Entering directory `/home/dsanta/pctel-0.9.6/src/module'
make[3]: Entering directory `/home/dsanta/pctel-0.9.6/src/module'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/dsanta/pctel-0.9.6/src/module'
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/src/module'
Making install in ptserial
make[2]: Entering directory `/home/dsanta/pctel-0.9.6/src/ptserial'
make[3]: Entering directory `/home/dsanta/pctel-0.9.6/src/ptserial'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/dsanta/pctel-0.9.6/src/ptserial'
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/src/ptserial'
make[2]: Entering directory `/home/dsanta/pctel-0.9.6/src'
make[3]: Entering directory `/home/dsanta/pctel-0.9.6/src'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/dsanta/pctel-0.9.6/src'
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/src'
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/src'
Making install in lib
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/lib'
make[2]: Entering directory `/home/dsanta/pctel-0.9.6/lib'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/lib'
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/lib'
Making install in modules
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/modules'
make[2]: Entering directory `/home/dsanta/pctel-0.9.6/modules'
/bin/sh ../mkinstalldirs /lib/modules/2.4.20-8/misc
/usr/bin/install -c -o root -g root -m 644 pctel.o /lib/modules/2.4.20-8/misc/pctel.o
/usr/bin/install -c -o root -g root -m 644 ptserial.o /lib/modules/2.4.20-8/misc/ptserial.o
/bin/sh: line 1: depmod: command not found
make[2]: *** [install-exec-local] Error 127
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/modules'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/modules'
make: *** [install-recursive] Error 1
[root@localhost pctel-0.9.6]# /sbin/insmod -f pctel
Using /lib/modules/2.4.20-8/misc/pctel.o
Warning: The module you are trying to load (/lib/modules/2.4.20-8/misc/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 /lib/modules/2.4.20-8/misc/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 /lib/modules/2.4.20-8/misc/pctel.o will taint the kernel: forced load
Module pctel loaded, with warnings
[root@localhost pctel-0.9.6]# /sbin/insmod -f ptserial
Using /lib/modules/2.4.20-8/misc/ptserial.o
Warning: loading /lib/modules/2.4.20-8/misc/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 /lib/modules/2.4.20-8/misc/ptserial.o will taint the kernel: forced load
Module ptserial loaded, with warnings
[root@localhost pctel-0.9.6]# vi /etc/modules.conf
[root@localhost pctel-0.9.6]# /sbin/depmod -a
[root@localhost pctel-0.9.6]#
"Please reply back" Thanks whansard.