Summary: | ASTERISK-09852: Asterisk fails to install with kernel 2.6.21.5 | ||
Reporter: | Francesco Romano (francesco_r) | Labels: | |
Date Opened: | 2007-07-10 15:42:18 | Date Closed: | 2007-07-11 11:59:53 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_phone |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Asterisk 1.2 can't install in Slackware 12, kernel 2.6.21.5. This is the output error: In file included from chan_phone.c:41: /usr/include/linux/ixjuser.h:351: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token make[1]: *** [chan_phone.o] Error 1 To install i have added #include <linux/compiler.h> in chan_phone.c | ||
Comments: | By: Digium Subversion (svnbot) 2007-07-11 11:46:33 Repository: asterisk Revision: 74572 ------------------------------------------------------------------------ r74572 | file | 2007-07-11 11:46:28 -0500 (Wed, 11 Jul 2007) | 2 lines Instead of figuring out kernel versions that have compiler.h and not... let's just use autoconf to check for it's presence. (issue ASTERISK-9852 reported by francesco_r) ------------------------------------------------------------------------ By: Digium Subversion (svnbot) 2007-07-11 11:50:13 Repository: asterisk Revision: 74575 ------------------------------------------------------------------------ r74575 | file | 2007-07-11 11:50:12 -0500 (Wed, 11 Jul 2007) | 10 lines Merged revisions 74572 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r74572 | file | 2007-07-11 14:03:08 -0300 (Wed, 11 Jul 2007) | 2 lines Instead of figuring out kernel versions that have compiler.h and not... let's just use autoconf to check for it's presence. (issue ASTERISK-9852 reported by francesco_r) ........ ------------------------------------------------------------------------ By: Digium Subversion (svnbot) 2007-07-11 11:58:25 Repository: asterisk Revision: 74587 ------------------------------------------------------------------------ r74587 | file | 2007-07-11 11:58:25 -0500 (Wed, 11 Jul 2007) | 2 lines Use some Makefile magic to determine if linux/compiler.h is present. (issue ASTERISK-9852 reported by francesco_r) ------------------------------------------------------------------------ By: Digium Subversion (svnbot) 2007-07-11 11:59:39 Repository: asterisk Revision: 74590 ------------------------------------------------------------------------ r74590 | file | 2007-07-11 11:59:38 -0500 (Wed, 11 Jul 2007) | 9 lines Blocked revisions 74587 via svnmerge ........ r74587 | file | 2007-07-11 14:15:11 -0300 (Wed, 11 Jul 2007) | 2 lines Use some Makefile magic to determine if linux/compiler.h is present. (issue ASTERISK-9852 reported by francesco_r) ........ ------------------------------------------------------------------------ |