[Asterisk-Users] cdr make problem

Matthew Boehm mboehm at cytelcom.com
Tue Oct 12 11:48:17 MST 2004


Take a look at the error. It's pretty self explanatory.

./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

This means that asterisk source is not located in ../asterisk and as such,
can't find asterisk.h

Matthew

----- Original Message ----- 
From: "christophe de coninck" <asterisk at arrant-illusion.be>
To: <asterisk-users at lists.digium.com>
Sent: Tuesday, October 12, 2004 11:55 AM
Subject: [Asterisk-Users] cdr make problem


> Hey
> I get this error when I want to compile the cdr_mysql module:
>
> mainserver asterisk-addons-1.0.1 # 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
> make -C format_mp3 all
> make[1]: Entering directory `/root/asterisk-addons-1.0.1/format_mp3'
> gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o
> common.o common.c
> gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o
> dct64_i386.o dct64_i386.c
> gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o
> decode_ntom.o decode_ntom.c
> gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o
> layer3.o layer3.c
> gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o
> tabinit.o tabinit.c
> gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o
> interface.o interface.c
> gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6    -c -o
> format_mp3.o format_mp3.c
> gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations   -D_REENTRANT -D_GNU_SOURCE  -O6  -shared
> -Xlinker -x -o format_mp3.so common.o dct64_i386.o decode_ntom.o
> layer3.o tabinit.o interface.o format_mp3.o
> make[1]: Leaving directory `/root/asterisk-addons-1.0.1/format_mp3'
> gcc -fPIC -I../asterisk -D_GNU_SOURCE  -I/usr/include/mysql     -c -o
> cdr_addon_mysql.o cdr_addon_mysql.c
> cdr_addon_mysql.c:24:22: asterisk.h: No such file or directory
> make: *** [cdr_addon_mysql.o] Error 1
>
>
> -- 
>
> Christophe De Coninck | Zarek K
>
> http://www.zarekk.be
> mailto: info at zarekk.be mailto: god8y at rds-clan.be
>
>
>


----------------------------------------------------------------------------
----


> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list