Hello Andy, I have similiar problem, then I compile kernel with same compiler as modules, and install kernel and modules on the wrap box and everything was OK.
Kernel version you can setup in Makefile. I have unpacked voyage tar.gz installation on my PC (you must create tmp, var directories, because they link to the fs which is in the RAM when you run voyage on WRAP boxes) , and when you chroot to the voyage dir, you can apt-get install, update, and compile sources, and you need not touch configuration of your host machine. Barto. Message: 1 Date: Mon, 12 Feb 2007 10:55:16 +0000 From: Andy Brown <[EMAIL PROTECTED]> Subject: [Voyage-linux] Module compilation To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi All, I'm having a difficult time trying to compile kernel modules for voyage-0.3 Can anyone point to a valid set of instructions for either setting up an environment on another debian box to do compilations/kernel work, or how to create kernel modules that are valid? The wiki entry: http://wiki.voyage.hk/dokuwiki/doku.php?id=development Seems out of date for 0.3 The main issues I keep having is that kernel modules I'm compiling have the following problems: zaptel: version magic '2.6.17.14-ubuntu1 preempt mod_unload 486 REGPARM gcc-3.3' should be '2.6.17-486-voyage preempt mod_unload 486 REGPARM gcc-3.3' zaptel: version magic '2.6.17.14-ubuntu1 preempt mod_unload 486 REGPARM gcc-3.3' should be '2.6.17-486-voyage preempt mod_unload 486 REGPARM gcc-3.3' Where is the '2.6.17.14-ubuntu1' coming from?? as that appears to be the problem. Also, note that i'm having to compile the zaptel module myself as the precompiled one does not have the ringhist patch for use in the UK and callerid. Thanks for any help/guidance! -- Andy w: http://www.thebmwz3.co.uk t: 08704781480 f: 08704781595 _______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux
