【问题标题】:openEmbedded sdk installationopenEmbedded sdk安装
【发布时间】:2014-04-17 10:19:44
【问题描述】:

我正在尝试使用 libxml2 和 freetype 包为 arm 安装 openEmbedded sdk。

希望这里有人能给我好的建议。

问题是关于部署 sdk 并提供 makefile 的包含路径。

要部署 sdk,我使用 /home/vincent/oe_dir3/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/deploy/sdk/oecore-i686-armv5te-toolchain-oe-core.0.sh 和选择 /home/vincent/oe_dir3/oecore-i686/ 目录。

首先,我很惊讶安装目录中没有包含 freetype 或 libxml2。

vincent@electronic:~$ find /home/vincent/oe_dir3 -name "freetype" | grep "include/freetype"
/home/vincent/oe_dir3/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/sysroots/eukrea-cpuimx25/usr/include/freetype2/freetype

我继续使用上述路径作为包含进行制作。

我遇到以下错误:

 Linking... /home/vincent/eclipseProjects/sensigom/obj/parcoursMusical.o
/home/vincent/oe_dir3/oecore-i686/sysroots/i686-oesdk-linux/usr/bin/armv5te-oe-linux-gnueabi/../../libexec/armv5te-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.2/ld: cannot     find crt1.o: No such file or directory
/home/vincent/oe_dir3/oecore-i686/sysroots/i686-oesdk-linux/usr/bin/armv5te-oe-linux-gnueabi/../../libexec/armv5te-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.2/ld: cannot     find crti.o: No such file or directory
/home/vincent/oe_dir3/oecore-i686/sysroots/i686-oesdk-linux/usr/bin/armv5te-oe-linux-gnueabi/../../libexec/armv5te-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.2/ld: cannot     find crtbegin.o: No such file or directory
/home/vincent/oe_dir3/oecore-i686/sysroots/i686-oesdk-linux/usr/bin/armv5te-oe-linux-gnueabi/../../libexec/armv5te-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.2/ld: cannot    find -lstdc++
/home/vincent/oe_dir3/oecore-i686/sysroots/i686-oesdk-linux/usr/bin/armv5te-oe-linux-gnueabi/../../libexec/armv5te-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.2/ld: cannot    find -lm
collect2: error: ld returned 1 exit status

我不知道在哪里以及在哪些文档中进行搜索。如果您有任何想法,我会很高兴。

问候

【问题讨论】:

    标签: sdk openembedded


    【解决方案1】:

    在生成 sdk 之前,必须将 Freetype 和 libxml2 添加到您的 rootfs。

    IMAGE_INSTALL += "freetype libxml2"

    它们必须出现在您的系统根目录中

    【讨论】:

    • 这实际上是我发现的方式。如果其他人对包含有问题,我只能鼓励他们研究如何工作的食谱。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-10-27
    • 2018-01-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多