You apparently downloaded a pre-compiled driver built with a newer gcc and your kernel is compiled with an older gcc. They both must be built with the sane one to work, so
may the source be with you!
I hope you installed developmental packages and kernel source code so that you can compile a working module.
Lets check out your system and see if you got the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see if you have the kernel source installed:
Code:
[phil@uilleann phil]$ su -
Password:
[root@uilleann root]# cd /usr/src
[root@uilleann src]# ls -alc
total 3
drwxr-xr-x 4 root root 136 Jun 12 14:53 .
drwxr-xr-x 16 root root 424 Jun 4 12:04 ..
lrwxrwxrwx 1 root root 14 Jun 4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x 16 root root 584 Jun 4 12:11 linux-2.4.18-3
drwxr-xr-x 7 root root 168 Jun 4 12:08 redhat
[root@uilleann src]#
If you don't see something similiar to this (but in color), you will need to install the kernel source.
I noticed that Red Hat didn't make the symbolic link
/usr/src/linux that the INSTALL files I have read mentioned that I need,. so I might as well make one now to save editing makefiles, etc later.
Code:
[root@uilleann src]# ln -s linux-2.4.18-3 linux
[root@uilleann src]# ls -alc
total 3
drwxr-xr-x 4 root root 160 Jun 12 15:46 .
drwxr-xr-x 16 root root 424 Jun 4 12:04 ..
lrwxrwxrwx 1 root root 14 Jun 12 15:46 linux -> linux-2.4.18-3
lrwxrwxrwx 1 root root 14 Jun 4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x 16 root root 584 Jun 4 12:11 linux-2.4.18-3
drwxr-xr-x 7 root root 168 Jun 4 12:08 redhat
[root@uilleann src]#
Ah, there it is, so that's ready.
Next, is the compiler installed?
Code:
[root@uilleann src]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@uilleann src]#
If you don't have those two things installed, you have to install them first off your install CD.
If they are installed, download the source and happy comiling.
Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing.
# Guides to software and installation and uninstallation
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out
CheckInstall to manage source code installations/uninstallation
# Redhat links
RedHat Linux Manuals
Maximum RPM
rpmfind
Easier software management:
apt4rpm -
Red Carpet
RedHat 8.0 Tips & Tricks
# Redhat 7.3 down configuration commands
setup leads to several configuration tools
# Redhat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
The Unofficial PCTel Linux Driver page
I finaly got my PcTel hsp56 mr modem to work