Not sure there is much I can do about the strange aclocal thing. Hopefully just specific to your OS or environment. I certainly have not heard of it before.

However, the Opus things has been mentioned by several people. So, I did a quick bit of research and there is a "--with-pic" configure option that needs to be used with Opus. Then a bit more research on how to pass this extra argument to AC_CONFIG_SUBDIRS() and we might have a more permanent solution.

If those that have had this problem could confirm the Lacaille SVN revision 31947 now works for them, that would be good.

Robert Jongbloed
OPAL/OpenH323/PTLib Architect and Co-founder.
Commercial support at

On 23/05/2014 3:18 AM, Giovani Gracioli wrote:
Hi Guys,

I just wanted to share with you a configure error using opal trunk and linux.

I made a checkout in the OPAL trunk (I am using CentOS 6.5). After the configure command I've got this message:

$ make opt
cd /home/user/opal_trunk/ && aclocal
autoconf error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:5992: error: possibly undefined macro: m4_bpatsubsts
make: ** [/home/user/opal_trunk/configure] Erro 1

To overcome this, I typed the following commands:

$ aclocal --force -I /usr/share/aclocal                                                                                                                  
$ autoconf

$ make opt

Then I've got the error:

checking where plugins are being installed... "${libdir}/opal-3.15.0"                                                                                                                                         
./configure: line 6343: syntax error near unexpected token `newline'                                                                                                                                          
./configure: line 6343: `  PKG_CHECK_MODULES('                                                                                                                                                                
configure: error: ./configure failed for plugins

Then I typed autoconf again and make opt was able to compile/link everything, but not the Opus plugin:

[LD] /home/user/opal_trunk/lib_linux_x86_64/plugins/opus/
/usr/bin/ld: /home/user/opal_trunk/plugins/audio/Opus/opus/.libs/libopus.a(celt.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/home/user/opal_trunk/plugins/audio/Opus/opus/.libs/libopus.a: could not read symbols: Bad value

To solve this, do the following:

export OPAL_PLATFORM_DIR=opal_dir
cd plugins/audio/Opus/opus/
make clean
./configure CFLAGS=-fPIC
cd ../../../../
make opt

Then OPAL is finally compiled.


"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."

Opalvoip-user mailing list