[asterisk-r2] Problem compiling R2

Gabriel Durante gabriel at commlogik.com.br
Thu Mar 12 07:13:06 CDT 2009


I think is because you have another older version of openr2.
Remove them using:

rm -rf $(find /usr/l* -name "*openr2*")
rm -rf $(find /usr/i* -name "*openr2*")

Install the version 1.1.0 again and compile Asterisk.


Gabriel Durante

dCAP

Commlogik do Brasil Ltda.

+55 11 55031011 ext. 135

Skype: gbdurante

-----Original Message-----
From: asterisk-r2-bounces at lists.digium.com
[mailto:asterisk-r2-bounces at lists.digium.com] On Behalf Of Carlos Chavez
Sent: Thursday, March 12, 2009 1:25 AM
To: asterisk-r2 at lists.digium.com
Subject: [asterisk-r2] Problem compiling R2

	I am having problems compiling Asterisk with R2 on a CentOS 5.2
server.
I downloaded the latest openr2 on the site: openr2-1.1.0.tar.gz and used
svn to download the mfc2-1.4 branch.  I get the following warning when
compiling:

chan_dahdi.c: In function ‘mkintf’:
chan_dahdi.c:8220: warning: implicit declaration of function
‘openr2_context_set_skip_category_request’
chan_dahdi.c: In function ‘dahdi_show_channel’:
chan_dahdi.c:11547: warning: implicit declaration of function
‘openr2_context_get_skip_category_request’

	And when starting Asterisk:

asterisk: symbol lookup error: /usr/lib/asterisk/modules/chan_dahdi.so:
undefined symbol: openr2_context_set_skip_category_request

	What is wrong.  I have installed other systems fine, is this version
of
Asterisk or openr2 to blame?

-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001




More information about the asterisk-r2 mailing list