[Home]

Summary:ASTERISK-13802: [patch] dahdiras.c will not compile
Reporter:naxxtor (naxxtor)Labels:
Date Opened:2009-03-23 09:04:58Date Closed:2009-03-23 13:03:43
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_zapras
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) dahdi.patch
Description:When running make, the following error occurs:

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

dahdi: Version: 2.1.0.4

Reproducable from cleanly extracted tarballs:

http://downloads.digium.com/pub/telephony/dahdi-linux/releases/dahdi-linux-2.1.0.4.tar.gz

and

http://downloads.digium.com/pub/asterisk/releases/asterisk-1.6.0.6.tar.gz
Comments:By: Jason Parker (jparker) 2009-03-23 11:38:09

This was already fixed if I'm not mistaken.  Would you be willing to try building dahdi (-linux and -tools) from svn trunk?

By: naxxtor (naxxtor) 2009-03-23 12:58:08

[CC] app_dahdiras.c -> app_dahdiras.o
  [LD] app_dahdiras.o -> app_dahdiras.so

From SVN

When I compiled from SVN before, I was linking with DAHDI release - I guess the problem lies in that release rather than anything else.

By: Jason Parker (jparker) 2009-03-23 13:02:47

I'm going to go ahead and close this then, since the fix is already committed and will be in the next release.

By: Leif Madsen (lmadsen) 2009-03-23 13:03:43

Fixed in a later version post release, so this will be resolved in the next DAHDI release. Thanks!