[Home]

Summary:ASTERISK-04079: cdr_mysql problems with FreeBSD
Reporter:Felipe Neuwald (neuwald)Labels:
Date Opened:2005-05-04 18:46:39Date Closed:2011-06-07 14:01:01
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:CDR/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:su-2.05b# uname -a
FreeBSD host.domain 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed May  4 18:20:31 BRT 2005     root@host.domain:/usr/src/sys/i386/compile/KERNEL2  i386

Asterisk instaled via ports tree: asterisk-1.0.7_4

I downloaded asterisk and asterisk-addons via CVS to /usr/src. Modified /usr/src/asterisk-addons/Makefile:

su-2.05b# diff Makefile Makefile.orig
19c19
< CFLAGS+=-I../asterisk/include -I/usr/local/include -I../asterisk
---
> CFLAGS+=-I../asterisk
24c24
< ASTLIBDIR=$(INSTALL_PREFIX)/usr/local/lib/asterisk
---
> ASTLIBDIR=$(INSTALL_PREFIX)/usr/lib/asterisk

The compilation was sucessfull, but when started asterisk, got this:

[res_config_mysql.so] => (MySQL RealTime Configuration Driver)
/libexec/ld-elf.so.1: /usr/local/lib/asterisk/modules/res_config_mysql.so: Undefined symbol "ast_config_load"

The full command/message can be found here: http://pastebin.ca/10960

Tryed to solve this at #asterisk on irc.freenode.net and other ways. No one was sucessfully.

Felipe Neuwald.
Comments:By: Kevin P. Fleming (kpfleming) 2005-05-04 20:50:47

You are trying to use the CVS HEAD version of asterisk-addons with a stable release of Asterisk. That will not work. You must use the CVS v1-0 version of asterisk-addons with your copy of Asterisk.