2/4/2005

Newbie installing Intel controller- based internal PCI dialup modem (no DSL in my area). Have already had success with external serial modem install in Mandrake Linux 10.0 Kppp, but could not log on due to AOL incompatibility with Linux. Tried pengAOL dialer. Spent about a week ..... that fizzled out. Would like to try this modem and have found other ISP. Have installed modem in PC

Have copied the following Linux modem driver files from supplied CD to:
/home/mark/Linux/Intel-536ep-443
Intel-536ep-443-M82.tgz
Intel-536ep-443-R72.tgz
Intel-536ep-443-S80.tgz
Intel-536ep-443.tgz
Am not quite sure which file to use, but started with the last one. Install reads as follows:
1. logon as root
OK
2. extract the archive into a directory with "tar -zxvf <archivename>.tgz"
[root@localhost Linux]# tar -zxvf Intel-536ep-443.tgz

output:
Intel-536ep-443/
Intel-536ep-443/Intel-536ep-443/
Intel-536ep-443/Intel-536ep-443/coredrv/
Intel-536ep-443/Intel-536ep-443/coredrv/536epcore.lib
Intel-536ep-443/Intel-536ep-443/coredrv/clmmain.c
Intel-536ep-443/Intel-536ep-443/coredrv/coredrv.c
Intel-536ep-443/Intel-536ep-443/coredrv/makefile
Intel-536ep-443/Intel-536ep-443/coredrv/rts.c
Intel-536ep-443/Intel-536ep-443/coredrv/task.c
Intel-536ep-443/Intel-536ep-443/coredrv/uart.c
Intel-536ep-443/Intel-536ep-443/coredrv/wwh_dflt.c
Intel-536ep-443/Intel-536ep-443/inc/
Intel-536ep-443/Intel-536ep-443/inc/hamcore.h
Intel-536ep-443/Intel-536ep-443/inc/hamdefs.h
Intel-536ep-443/Intel-536ep-443/inc/rts.h
Intel-536ep-443/Intel-536ep-443/inc/sys_ver.h
Intel-536ep-443/Intel-536ep-443/inc/tasker.h
Intel-536ep-443/Intel-536ep-443/inc/uart.h
Intel-536ep-443/Intel-536ep-443/inc/wwh_dflt.h
Intel-536ep-443/Intel-536ep-443/serialdrv/
Intel-536ep-443/Intel-536ep-443/serialdrv/clmdrvr.c
Intel-536ep-443/Intel-536ep-443/serialdrv/gpl.txt
Intel-536ep-443/Intel-536ep-443/serialdrv/makefile
Intel-536ep-443/Intel-536ep-443/serialdrv/pci.c
Intel-536ep-443/Intel-536ep-443/serialdrv/vssver.scc
Intel-536ep-443/Intel-536ep-443/536ep-boot
Intel-536ep-443/Intel-536ep-443/536ep-inst
Intel-536ep-443/Intel-536ep-443/hamregistry
Intel-536ep-443/Intel-536ep-443/license.txt
Intel-536ep-443/Intel-536ep-443/makefile
Intel-536ep-443/Intel-536ep-443/readme.txt
Intel-536ep-443/Intel-536ep-443/vssver.scc
Intel-536ep-443/Intel-536ep-443/Intel-536ep-443.tgz.sig
3. cd into the directory it created.
[root@localhost Linux]# cd Intel-536ep-443
4. Type: make clean
[root@localhost Intel-536ep-443]# make clean

output:
cd coredrv; make clean
make[1]: Entering directory `/home/mark/Linux/Intel-536ep-443/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/home/mark/Linux/Intel-536ep-443/coredrv'
cd serialdrv; make clean
make[1]: Entering directory `/home/mark/Linux/Intel-536ep-443/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/home/mark/Linux/Intel-536ep-443/serialdrv'
rm -f *.o
rm -f *.o
[root@localhost Intel-536ep-443]# make 536ep
if [ -a /boot/vmlinuz.version.h ]; then
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi
cd coredrv; make
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX"
536ep;
make[1]: Entering directory `/home/mark/Linux/Intel-536ep-443/coredrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv.c
In file included from ../inc/hamdefs.h:48,
from ../inc/hamcore.h:39,
from coredrv.c:33:
/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 <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> 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 exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/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 the 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/include"
/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 accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /usr/include/linux/cpumask.h:8,
from /usr/include/linux/sched.h:14,
from coredrv.c:35:
/usr/include/linux/bitmap.h: In function `bitmap_shift_right':
/usr/include/linux/bitmap.h:85: error: `__shr_tmp' undeclared (first use in this function)
/usr/include/linux/bitmap.h:85: error: (Each undeclared identifier is reported only once
/usr/include/linux/bitmap.h:85: error: for each function it appears in.)
/usr/include/linux/bitmap.h: In function `bitmap_shift_left':
/usr/include/linux/bitmap.h:98: error: `__shl_tmp' undeclared (first use in this function)
In file included from /usr/include/linux/sched.h:14,
from coredrv.c:35:
/usr/include/linux/cpumask.h:10:5: missing binary operator before token "("
/usr/include/linux/cpumask.h:34:5: missing binary operator before token "("
In file included from /usr/include/asm/siginfo.h:4,
from /usr/include/linux/signal.h:7,
from /usr/include/linux/sched.h:24,
from coredrv.c:35:
/usr/include/asm-generic/siginfo.h: At top level:
/usr/include/asm-generic/siginfo.h:53: error: size of array `_pad' is too large
In file included from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/percpu.h:4,
from /usr/include/linux/sched.h:30,
from coredrv.c:35:
/usr/include/linux/mmzone.h:333: error: parse error before '(' token
/usr/include/linux/mmzone.h:334: error: parse error before numeric constant
In file included from /usr/include/linux/module.h:20,
from coredrv.c:37:
/usr/include/asm/module.h:54:2: #error unknown processor family
In file included from coredrv.c:40:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
coredrv.c:47:41: missing binary operator before token "("
coredrv.c:99:40: missing binary operator before token "("
coredrv.c:111:41: missing binary operator before token "("
coredrv.c: In function `kcli':
coredrv.c:285: warning: implicit declaration of function `cli'
coredrv.c: In function `ksave_flags':
coredrv.c:290: warning: implicit declaration of function `save_flags'
coredrv.c: In function `krestore_flags':
coredrv.c:295: warning: implicit declaration of function `restore_flags'
make[1]: *** [coredrv.o] Error 1
make[1]: Leaving directory `/home/mark/Linux/Intel-536ep-443/coredrv'
make: *** [536ep] Error 2


Am now at this point and could use some help. Please keep in mind I have no experience with CLI and am not so good with syntax and spaces.....
Thank you