linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] PKG_EXT forbidden m4 pattern + ilbc not found but


From: Nicola Baldo
Subject: [Linphone-developers] PKG_EXT forbidden m4 pattern + ilbc not found but linked
Date: Thu, 19 May 2005 00:31:00 +0200
User-agent: Debian Thunderbird 1.0.2 (X11/20050331)

Hi,

I found some problems while building linphone from CVS.


1) When running autoconf (either from autogen.sh or manually), I get the following error message:

"configure.ac:222: error: possibly undefined macro: PKG_EXT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation."


The error relates to oRTP/configure.ac, where the shell variable PKG_EXT is used. It seems that the variable name matches some pattern forbidden by some m4_pattern_forbid invocation.

Currently I'm using this workaround: I added the file oRTP/acinclude.m4 which consists of the following line:

m4_pattern_allow([PKG_EXT])

as the file is by default included at each invocation of aclocal, this allows autoconf to succeed.



2) I ran ./configure without parameters. I don't have the ilbc codec installed, so ./configure correclty reported it:

"Could not find ilbc headers or libs. Please install ilbc package from http://www.linphone.org if you want iLBC codec support in linphone"


The problem is that the ilbc library was still required at linking time, and make aborted because obviously it couldn't find it. Running "./configure --with-ilbc=none" fixed the problem. I had a look at ilbc.m4, and it seems that the intended behaviour is to NOT link ilbc if it's not detected. No idea on why this is not working, though.



I hope this information can be somehow useful...

Regards,

Nicola




reply via email to

[Prev in Thread] Current Thread [Next in Thread]