[Top][All Lists]

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

Re: [Linphone-developers] compiling linphone python for raspberry pi

From: Russell
Subject: Re: [Linphone-developers] compiling linphone python for raspberry pi
Date: Fri, 26 Jun 2015 08:18:12 +0800


When compiling, bellesip seems to locate antlr header files from the system directory, thus /usr/include/antlr3.h and /usr/include/antlr3defs.h.
My raspbian system on raspberry pi has 3.2 version of antlr installed, but linphone-cmake-builder tags/3.8.4 has 3.4 version of antlr.
antlr3.2 has antlr3NewAsciiStringCopyStream, while antlr3.4 not but has antlr3StringStreamNew.

So I am guessing that bellesip use system provided header files (version 3.2) to decide whether to call antlr3NewAsciiStringCopyStream or antlr3StringStreamNew, but when linking, it links to the antlr ( version 3.4) come with linphone-cmake-builder.

Anybody can help? I have been investigating this problem long enough, any help will be appreciated.


On Fri, Jun 19, 2015 at 5:30 PM, Russell <address@hidden> wrote:

I have cross-compiled linphone python module for raspberry pi, by following tutorials in However, after installing the resulting whl package on raspberry pi, I got this error when trying to import linphone from python:

  File "/usr/local/lib/python2.7/dist-packages/linphone/", line 1, in <module>
    from linphone import *
ImportError: /usr/local/lib/python2.7/dist-packages/linphone/ undefined symbol: antlr3NewAsciiStringCopyStream

How can I fix this?


reply via email to

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