Change your symlink to not point to the linux source tree, but rather
point at /lib/modules/2.6.5-358/build, and just do a make linux26

Or apply this patch to your makefile...

Sam

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Taz Man
Sent: Sunday, May 23, 2004 4:57 AM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] ZAPTEL not loading on FC2


Hello all,
I've just installed the Fedora core 2 and tried to compile the asterisk
and the zaptel drivers Asterisk went smooth but I had troubles with the
zaptel. I did copy the .config file under the kernel source and make
oldconfig and make include/asm ; make include/version.h ; make
SUBDIRS=scripts I was able to compile the zaptel source, using the make
linux26 and then ran make install. I see that the .ko files are in place
(under
/lib/modules/2.6.5-1.358/misc/...) but when trying to load the zaptel I
get:

[EMAIL PROTECTED] misc]# modprobe zaptel
FATAL: Error inserting zaptel (/lib/modules/2.6.5-1.358/misc/zaptel.ko):
Invalid module format

[EMAIL PROTECTED] misc]# modprobe wcfxo
WARNING: Error inserting zaptel (/lib/modules/2.6.5-1.358/misc/zaptel.ko):
Invalid module format
WARNING: Error inserting zaptel (/lib/modules/2.6.5-1.358/misc/zaptel.ko):
Invalid module format
FATAL: Error inserting wcfxo (/lib/modules/2.6.5-1.358/misc/wcfxo.ko):
Invalid module format
FATAL: Error running install command for wcfxo

uname -a gives
Linux server 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386
GNU/Linux

any help? any Ideas?
10x, Ronen


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Attachment: makefile-kernel26.diff
Description: Binary data

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to