[Home]

Summary:ASTERISK-13616: Can not make install Asterisk
Reporter:Tom Garratt (tomgarratt)Labels:
Date Opened:2009-02-20 05:34:45.000-0600Date Closed:2009-02-24 12:06:56.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:OS: Centos 5.2 i386
dahdi-linux-2.1.0.4
dahdi-tools-2.1.0.2
libpri-1.4.9
asterisk-addons-1.6.0

When running the command ./make install I receive this error

 [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 ******

[root@voip asterisk]# svn co http://svn.digium.com/svn/asterisk/branches/1.6.0/

Fetching external item into '1.6.0/menuselect'

Fetching external item into '1.6.0/menuselect/mxml'
Checked out external at revision 132.

Checked out revision 480.
Checked out revision 177660.
Comments:By: Leif Madsen (lmadsen) 2009-02-20 07:45:55.000-0600

I can confirm this issue as I ran into it the other day as well.

By: Leif Madsen (lmadsen) 2009-02-24 12:06:43.000-0600

I just saw this commit go in, so I'm going to close this issue:

*** twilson, asterisk, branch-1.6.0, r178306 ***
Change include order to make compile on Centos 5 with DAHDI
If BIT_TYPES_DEFINED gets defined before linux/types.h is included, the
__s32 type doesn't get defined