Steve Hanselman
2006-Apr-26 09:31 UTC
[Asterisk-Users] asterisk no longer compiles on gcc 2.95
Throwing errors relating to utils.h: /usr/include/asterisk/strings.h:264: parse error before `__extension__' /usr/include/asterisk/strings.h:264: parse error before `;' /usr/include/asterisk/strings.h:264: warning: type defaults to `int' in declaration of `__retval' /usr/include/asterisk/strings.h:264: `__len' undeclared here (not in a function) /usr/include/asterisk/strings.h:264: warning: initialization makes integer from pointer without a cast /usr/include/asterisk/strings.h:264: initializer element is not constant /usr/include/asterisk/strings.h:264: warning: data definition has no type or storage class /usr/include/asterisk/strings.h:264: parse error before `if' /usr/include/asterisk/strings.h:264: warning: type defaults to `int' in declaration of `__retval' /usr/include/asterisk/strings.h:264: redefinition of `__retval' /usr/include/asterisk/strings.h:264: `__retval' previously defined here /usr/include/asterisk/strings.h:264: parse error before `const' /usr/include/asterisk/strings.h:264: warning: data definition has no type or storage class /usr/include/asterisk/strings.h:264: warning: type defaults to `int' in declaration of `__retval' /usr/include/asterisk/strings.h:264: warning: data definition has no type or storage class /usr/include/asterisk/strings.h:264: parse error before `}' /usr/include/asterisk/strings.h:276: conflicting types for `strtoq' /usr/include/stdlib.h:328: previous declaration of `strtoq' In file included from /usr/include/asterisk/module.h:35, I seem to recall there being a statement that gcc >= 3.00 is required, is this now being enforced? Steve The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical@brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060426/ddb31a8c/attachment.htm
http://www.voip-info.org/wiki/index.php?page=Asterisk+v1.2.0+upgrade Steve Hanselman wrote:> Throwing errors relating to utils.h: > > /usr/include/asterisk/strings.h:264: parse error before `__extension__' > .... > > I seem to recall there being a statement that gcc >= 3.00 is required, > is this now being enforced?"Enforced" isn't the proper term. It's a requirement, so compilation fails.