[Asterisk-Users] zaprtc on 2.6

Gavin Hamill gdh at acentral.co.uk
Fri Apr 23 15:22:18 MST 2004


On Friday 23 April 2004 22:58, Dan Austin wrote:
> I should add a small readme to the patch.  The 2.6 series build process
> creates a symlink to identify the correct irq_vectors.h during the build
> process then clears it once the build is complete.  I modified the file
> ../include/asm/irq.h to have an absolute reference to irq_vectors.h to
> resolve those errors.

Ahhh I see now :)

For the list archives, I changed  /usr/src/linux/include/asm/irq.h line 16  
from

#include "irq_vectors.h"
to
#include "mach-default/irq_vectors.h"

and now a simple 'make' compiles zaprtc.o and rtcsetup just fine :)

Now, I have a zaprtc.o, but not the .ko that 2.6 seems to like - I've tried to 
substitute the 'make modules' bit from your patch into:

eddie:/usr/src/zaptelrtc#  make -C /usr/src/linux SUBDIRS=`pwd` modules
make: Entering directory `/usr/src/kernel-source-2.6.5'
  CHK     include/linux/version.h
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/asm-i386/asm_offsets.h
  Building modules, stage 2.
make: Leaving directory `/usr/src/kernel-source-2.6.5'

And whilst this doesn't generate errors, it doesn't generate a zaprtc.ko 
either :( Again, I'm at your mercy :)

Cheers,
Gavin.




More information about the asterisk-users mailing list