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