Duncan,
Driver from Digium CVS
cd /usr/src
export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot
cvs login
Then:
cvs checkout zaptel libpri
Here's what I've done so far.
1. Installed kernel source rpm from the 6.0 release. This puts a bunch of patch files
and a tar.bz2 file in /usr/src/redhat/SOURCES.
2. Uncompressed the bz2 file with bunzip2.
3. Extracted tar file. Puts files in /usr/src/redhat/SOURCES/linux-2.4.20
4. Digium "make" script needs soft link to kernel sources. So, "cd to /usr/src".
Then "ln -s /usr/src/redhat/SOURCES/linux-2.4.20 linux".
5. Check soft link with "ls -ld /usr/src/linux". Should see the link.
6. Create the kernel config file. "cd /usr/src/linux" then "make menuconfig".
At the bottom of the menu is Load alternate configuration file. Select that option
and enter "/boot/config-2.4.20-18.7". Then back to main menu and select Save alternate
configuration file. (Note: I think this may be the problem with the mismatch error
message when I try to modprobe the driver). Enter "/arch/i386/defconfig" then OK to
save. Exit menu.
7. Enter "make dep". Bunch of stuff flashes by for a minute or so. This is suppose to
create the modversions.h file that zaptel needs.
8. Then "cd /usr/src/zaptel". "make clean" then "make install" (Note: this is where
things go south on me. Get error messages about unresolved symbols)
See Digium FAQ -
http://digium.com/index.php?menu=faq#Installation_0JV