Summary:ASTERISK-06865: Additional configure checks for chan_phone
Reporter:Jeffrey C. Ollie (jcollie)Labels:
Date Opened:2006-04-27 14:50:37Date Closed:2006-04-27 15:35:44
Versions:Frequency of
Environment:Attachments:( 0) chan_phone.patch
Description:chan_phone will only work if linux/ixjuser.h AND linux/version.h are avilable.  The availability of linux/ixjuser.h does not imply the availability of linux/version.h.  glibc-kernheaders on Fedora provides linux/ixjuser.h but not linux/version.h.  Patch attached to check for linux/version.h.
Comments:By: Andrey S Pankov (casper) 2006-04-27 15:04:51

chan_phone won't build on systems others than Linux anyway.

It seems like <linux/version.h> is there only to check kernel version to include
<linux/compiler.h> for LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0).

So your patch is not a/the right solution for the problem IMO.

By: Russell Bryant (russell) 2006-04-27 15:35:10

fixed in rev 22990.  I also checked for telephony.h.  Thanks!