[Home]

Summary:ASTERISK-03990: cdr_addon_mysql fails to build
Reporter:Paul Belanger (pabelanger)Labels:
Date Opened:2005-04-26 12:38:38Date Closed:2005-04-26 20:31:39
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:CDR/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:cdr_addon_mysql fails to build.

Workaround:
edit cdr_addon_mysql.c and comment out:

#include "asterisk.h"



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

root@gateway:/usr/local/src/asterisk-addons# make
./mkdep -fPIC -I../asterisk -D_GNU_SOURCE  -I/usr/include/mysql   `ls *.c`
cdr_addon_mysql.c:24:22: asterisk.h: No such file or directory
Comments:By: Tilghman Lesher (tilghman) 2005-04-26 13:48:37

Change it to:

#include "asterisk/asterisk.h".

This recently got moved in CVS HEAD.

By: Paul Belanger (pabelanger) 2005-04-26 16:34:40

#include "asterisk/asterisk.h" still fails, but changing it to:

#include "include/asterisk.h

works.

By: Kevin P. Fleming (kpfleming) 2005-04-26 20:31:12

Actually, the header file was not even needed, it compiles fine without it at all. Fixed in CVS, thanks for the report!

By: Kevin P. Fleming (kpfleming) 2005-04-26 20:31:39

Will not be necessary for stable, the header path changes will not be made in that branch.