English 中文(简体)
PJSIP 开放式
原标题:PJSIP Openembedded

我想从Toradex收集PJSIP用于我的Colibri iMX7。 我添加了我的Pjsip meta-layer,我撰写了文件()。 命名为Pjproject_2.6.bb,这是最新版本,我改变了制片。

The tree of my meta-pjproject is as follows:

 meta-pjproject
 ├── conf
 │   └── layer.conf
 └── recipes-pjproject
     └── pjproject
         └── pjproject_2.6.bb
         └── MD5SUM.TXT

But when compiling it doing bitbake pjproject I have this error:

 ERROR: configure failed
  ../pjproject-2.6/configure: 2: ../pjproject-2.6/configure: ./aconfigure: not found

http://pastebin.com/8XAZbAp3”rel=“nofollow noreferer” http://pastebin.com/8XAZbAp3

And the folder /home/boby/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/pjproject/2.6-r0/pjproject-2.6 is empty.

EDIT:
Here is a working bb file compiling PJSIP for Openembedded: pastebin.com/CWQJ1Z8r

Tree of the layer:

 meta-pjproject
 ├── conf
 │   └── layer.conf
 └── recipes-pjproject
     └── pjproject
         └── pjproject_2.6.bb

但是,如果我这样做的话,我有问题:

root@colibri-imx7:# python
>>> import pjsua
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named pjsua

我似乎没有安装PJSIP一的平分,但我无法安装。

我能做些什么?

问题回答
configure: ./aconfigure: not found

混凝土被打破,在从源树外运行时不会奏效。 你们可以继承“autotools-brokp”而不是“autotools”,以便在源树内建造比喻,或者你可以确定该项目,以配合树外的结业。

Don t get tempted to write your own do_configure(): autotools and autotools-brokensep classes do a lot of work for you that you really want done.

还有一些评论:

LIC_FILES_CHKSUM = "file://MD5SUM.TXT;md5=xxx"

这几乎肯定是错误的。 你应该提到源球中的档案。 Try “file://COPYING;md5=xxx”

EXTRA_OECONF += "STAGING_DIR=${STAGING_DIR_NATIVE}"

This looks pretty weird, as do some of the exports in do_compile_append...

How are you sure this is the good BB file? Because it seems some files are missing on the target image... Also, assuming you are cross compiling, shouldn t you append

EXTRA_OECONF += "--host=arm-poky-linux-gnueabi"

to your recipe?





相关问题
Building toolchain with crosstool-ng on Mac OS X SL

I am trying to build toolchain for Linux on Mac. I configure ct-ng as specified in docs/MacOS-X.txt(except that i use GNU soft from MacPorts and my partition is already case-sensitive). However when ...

Cannot find /lib/libc.so.6

I m cross-compiling an application, but linking blows up with an error that it "cannot find /lib/libc.so.6". The libc.so.6 that it should be using is the one that sits at /home/work/worldcom/...

Add a custom compiler to XCode 3.2

I have a working gcc 4.3.3 toolchain for an ARM Cortex-m3 and would like to integrate it into XCode. Is there a way to set up XCode (3.2) to use this gcc toolchain instead of the built-in GCC 4.2? ...

Setting up OpenGL on Linux for gtkmm and cross-compilation

I am starting learning OpenGL and I am not sure, how to set it up on (Ubuntu) Linux. I think that this could be a way: OpenGL is only a graphics language specification (or interface) and to properly ...

How to cross compile from Mac OS X to Linux x86?

I m running Mac OS X 10.5.8 and want to compile for target CentOS 5.3 with GCC 4.1.2. How could I: Compile GCC 4.1.2 toolchain and related tools? Use that tool to cross compile for target CentOS 5.3? ...

Cross compiler exception handling - Can it be done safely?

I am doing some maintenance on a C++ windows dll library that is required to work with different VC++ compilers (as I don’t want to address different mangling schemes). I have already eliminated any ...

Compiling windows binaries from Ubuntu?

I am doing a cross-platform C (not ++) game with both linux (main) and windows (alternate) binaries. Until now I used devcpp to compile in windows, but I have trouble getting some libraries to work ...

热门标签