kaiduan xie
2004-Jul-21 13:24 UTC
[Asterisk-Users] Compiling Asterisk (zaptel) failed on Debian 2.4.18-686
Hi, Can anyone point out what the problem is? cd /usr/src/zaptel make install In file included from zaptel.c:44: /usr/include/linux/module.h:21: linux/modversions.h: No such file or directory The linux version is 2.4.18-686, and the kernel source code is installed also. Thanks, kaiduan ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca
Joshua McClintock
2004-Jul-21 15:07 UTC
[Asterisk-Users] Compiling Asterisk (zaptel) failed on Debian 2.4.18-686
I would make a symlink in /usr/include that looks like this linux -> /usr/src/linux/include/linux cd /usr/include ln -s /usr/src/linux/include/linux linux Sometimes you needs the asm as well in the same directory as above asm -> /usr/src/linux/include/asm cd /usr/include ln -s /usr/src/linux/include/asm asm Make sure in /usr/src that you have a symlink called 'linux' pointing to your kernel source. On Wed, 2004-07-21 at 13:24, kaiduan xie wrote:> Hi, > > Can anyone point out what the problem is? > > cd /usr/src/zaptel > make install > In file included from zaptel.c:44: > /usr/include/linux/module.h:21: linux/modversions.h: > No such file or directory > > The linux version is 2.4.18-686, and the kernel source > code is installed also. > > Thanks, > > kaiduan > > ______________________________________________________________________ > Post your free ad now! http://personals.yahoo.ca > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Steven Critchfield
2004-Jul-21 19:17 UTC
[Asterisk-Users] Compiling Asterisk (zaptel) failed on Debian 2.4.18-686
On Wed, 2004-07-21 at 15:24, kaiduan xie wrote:> Hi, > > Can anyone point out what the problem is? > > cd /usr/src/zaptel > make install > In file included from zaptel.c:44: > /usr/include/linux/module.h:21: linux/modversions.h: > No such file or directory > > The linux version is 2.4.18-686, and the kernel source > code is installed also.You really should upgrade that kernel. Outside of that, the error message is quite explicit above as to what is wrong. Granted it doesn't tell you how to fix it. modversions.h is a file created for the kernel when you choose to have versioned modules. I think all you need to do is go to your kernel source directory and do a make dep. -- Steven Critchfield <critch@basesys.com>