[Asterisk-Dev] 2.6.10 kernel and zaptel drivers less that graceful
fix
Andrew Pyles
andrew.pyles at fonomni.com
Wed Dec 29 18:31:07 MST 2004
In the 2.6.10 kernel headers
include/linux/crc-ccitt.h has
crc_ccitt_table defined as extern:
extern u16 const crc_ccitt_table[256];
when trying to build zaptel on a stock 2.6.10 I get this error:
CC [M] /usr/src/cvsstable/zaptel/wct4xxp.o
CC [M] /usr/src/cvsstable/zaptel/wcte11xp.o
CC [M] /usr/src/cvsstable/zaptel/ztdummy.o
Building modules, stage 2.
MODPOST
*** Warning: "crc_ccitt_table" [/usr/src/cvsstable/zaptel/zaptel.ko]
undefined!
By simply adding the following to zaptel.c, it resolves the problem.
static u16 const crc_ccitt_table[256];
Any ideas on how to better address the issue?
Regards,
Andy Pyles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20041229/089d410d/attachment.htm
More information about the asterisk-dev
mailing list