YAO Yong
2007-Jul-31 02:53 UTC
[asterisk-users] Zaptel compiling broken: error: conflicting types for '__kernel_dev_t'
dear all, when i complied the latest Zaptel-1.2.19 to upgrade my asterisk system, it told me those errors: cc -c -fPIC -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -O4 -g -Wall -DBUILDING_TONEZONE -o zonedata.lo zonedata.c In file included from zaptel.h:31, from tonezone.h:27, from zonedata.c:26: /usr/include/linux/types.h:18: error: conflicting types for '__kernel_dev_t' /usr/include/asm/posix_types.h:10: error: previous declaration of '__kernel_dev_t' was here /usr/include/linux/types.h:30: error: syntax error before "timer_t" /usr/include/linux/types.h:31: error: syntax error before "clockid_t" make: *** [zonedata.lo] Error 1 my environment: CenOS 4.2, gcc-3.4.4-2, kernel-2.6.12.2 & my system is running asterisk-1.2.9.1+zaptel-1.2.6 can anyone give me some advise? thanks a lot. B/Rgz.