You just need to add this line:
CFLAGS+=-DMYSQL_LOGUNIQUEID
after this one:
CFLAGS+=-D_GNU_SOURCE
in the main Makefile for asterisk-addons.
Then recompile.
Julian J. M.
On 12/9/05, Remco Barende <asterisk-zEI9Lo81CwePKud3HExfWg@xxxxxxxxxxxxxxxx>
wrote:
Hi list!
I took the dive at the deep end and upgraded Asterisk & AMP to the latest
versions.
I followed the installation guide (for new installs) but one command I
could complete (and the guide was a bit vague there).
Under 12. Build/Compile cdr_mysql module for Asterisk
a required step is to execute this command (if I understood
properly, I didn't get what to do with the the / and > in the guide) :
perl -p -i.bak -e 's/CFLAGS.*D_GNU_SOURCE/CFLAGS+=-D_GNU_SOURCE\nCFLAGS+=-
DMYSQL_LOGUNIQUEID/'
But this didn't do anything, the CLI didn't come back.
Did I miss anything vital now, what should the command look like?
I did execute it in the asterisk-addons directory.
Thanks!!
Remco
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Amportal-users mailing list
Amportal-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/amportal-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opÌk
_______________________________________________
Amportal-users mailing list
Amportal-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/amportal-users