[Home]

Summary:ASTERISK-13851: Compile errors
Reporter:Chodorenko Michail (chodorenko)Labels:
Date Opened:2009-03-27 12:52:52Date Closed:2009-03-27 13:08:27
Priority:MinorRegression?No
Status:Closed/CompleteComponents:General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:compile this release abort with errors

[root@asterisk asterisk-1.6.0.6]# make
menuselect/menuselect --check-deps menuselect.makeopts
Generating embedded module rules ...
  [CC] app_dahdiras.c -> app_dahdiras.o
In file included from app_dahdiras.c:50:
/usr/include/dahdi/user.h:736: error: expected specifier-qualifier-list before ‘__s32’
/usr/include/dahdi/user.h:939: error: expected specifier-qualifier-list before ‘__s32’
make[1]: *** [app_dahdiras.o] Error 1
make: *** [apps] Error 2


****** ADDITIONAL INFORMATION ******

Instaled :

dahdi-linux-complete-2.1.0.4+2.1.0.2
gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)
Linux asterisk.localhost 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux
Comments:By: Chodorenko Michail (chodorenko) 2009-03-27 13:07:15

Add

#include <asm/types.h>

in app_dahdiras.c

By: Jason Parker (jparker) 2009-03-27 13:08:27

This has already been fixed in dahdi, and will be in the next release.