Summary: | DAHTOOL-00014: GENERIC_HDLC_VERSION is not available in CentOS 4.7 glibc-kernheaders | ||
Reporter: | amcrory (amcrory) | Labels: | |
Date Opened: | 2009-01-22 15:02:00.000-0600 | Date Closed: | 2009-07-24 11:24:11 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | General |
Versions: | 2.1.0.2 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | On CentOS 4.7 the file, /usr/include/linux/hdlc.h, which is owned by package glibc-kernheaders-2.4-9.1.103.EL, does not define GENERIC_HDLC_VERSION. It is defined in the version included with the kernel development package, kernel-devel. Those files are in /usr/src/kernels/<running_k_version>/include/. Can the configure script be rewritten to use those files instead of the ones in glibc-kernheaders?? | ||
Comments: | By: amcrory (amcrory) 2009-01-22 16:11:25.000-0600 I applied the patch from 0014277 checking for GENERIC_HDLC_VERSION version 4 in linux/hdlc.h... no checking for GENERIC_HDLC_VERSION version 4 in linux/hdlc/ioctl.h... no configure: GENERIC_HDLC_VERSION (version 4) not found, disabling sethdlc. By: Jeff Peeler (jpeeler) 2009-07-24 11:24:11 I attempted building this using the header files with the proper GENERIC_HDLC_VERSION and the compile still did not succeed. For reference: [root@localhost dahdi-tools]# gcc -g -O2 -I/usr/src/kernels/2.6.9-78.EL-smp-x86_64/include -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT sethdlc.o -MF .se thdlc.o.d -MP -c -o sethdlc.o sethdlc.c In file included from /usr/src/kernels/2.6.9-78.EL-smp-x86_64/include/linux/if.h:22, from sethdlc.c:32: /usr/src/kernels/2.6.9-78.EL-smp-x86_64/include/linux/types.h:158: error: syntax error before "__sum16" /usr/src/kernels/2.6.9-78.EL-smp-x86_64/include/linux/types.h:158: warning: type defaults to `int' in declaration of `__sum16' /usr/src/kernels/2.6.9-78.EL-smp-x86_64/include/linux/types.h:158: warning: data definition has no type or storage class /usr/src/kernels/2.6.9-78.EL-smp-x86_64/include/linux/types.h:159: error: syntax error before "__wsum" /usr/src/kernels/2.6.9-78.EL-smp-x86_64/include/linux/types.h:159: warning: type defaults to `int' in declaration of `__wsum' /usr/src/kernels/2.6.9-78.EL-smp-x86_64/include/linux/types.h:159: warning: data definition has no type or storage class Allowing the checking of an alternate location for the headers is not going to help, so I'm closing this. |