RE: [Asterisk-Users] Problem compiling asterisk-addons
I believe that it looks in ../asterisk/ for the asterisk.h file. If your source directories for both Asterisk and the Asterisk Addons are within the same directory, try renaming the asterisk-x.x.x directory to just asterisk then recompile. It should work for you after that. Regards, Shaun -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric Sent: Wednesday, March 23, 2005 1:48 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Problem compiling asterisk-addons Hi, I am getting an error trying to compile the asterisk addons: cdr_addon_mysql.c:24:22: asterisk.h: No such file or directory make: *** [cdr_addon_mysql.o] Error 1 Can anyone suggest something I could try? Thanks. ___ Asterisk-Users mailing list Asterisk-Users@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 ___ Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Problem compiling asterisk-addons
Eric wrote: Hi, I am getting an error trying to compile the asterisk addons: cdr_addon_mysql.c:24:22: asterisk.h: No such file or directory make: *** [cdr_addon_mysql.o] Error 1 Can anyone suggest something I could try? Are you actually installed asterisk? Do you have /usr/include/asterisk/asterisk.h? -Matthew ___ Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] Problem compiling asterisk-addons
Hi Shaun, Your suggestion was right on the money. I make a symlink, rather then renaming my asterisk source directory (I keep backup copies when upgrading), and the addons compile now. Thanks. On Wed, 23 Mar 2005 14:00:36 -0600 Shaun Tierney [EMAIL PROTECTED] wrote: I believe that it looks in ../asterisk/ for the asterisk.h file. If your source directories for both Asterisk and the Asterisk Addons are within the same directory, try renaming the asterisk-x.x.x directory to just asterisk then recompile. It should work for you after that. Regards, Shaun -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric Sent: Wednesday, March 23, 2005 1:48 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Problem compiling asterisk-addons Hi, I am getting an error trying to compile the asterisk addons: cdr_addon_mysql.c:24:22: asterisk.h: No such file or directory make: *** [cdr_addon_mysql.o] Error 1 Can anyone suggest something I could try? Thanks. ___ Asterisk-Users mailing list Asterisk-Users@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 ___ Asterisk-Users mailing list Asterisk-Users@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 ___ Asterisk-Users mailing list Asterisk-Users@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
RE: [Asterisk-Users] Problem compiling asterisk-addons
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Boehm Sent: Wednesday, March 23, 2005 12:12 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Problem compiling asterisk-addons Eric wrote: Hi, I am getting an error trying to compile the asterisk addons: cdr_addon_mysql.c:24:22: asterisk.h: No such file or directory make: *** [cdr_addon_mysql.o] Error 1 Can anyone suggest something I could try? Are you actually installed asterisk? Do you have /usr/include/asterisk/asterisk.h? I seem to recall chasing this one before... Eric, check to make sure that you have the mysql libraries (mysql-dev package) installed. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 03/18/2005 ___ Asterisk-Users mailing list Asterisk-Users@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