This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] Compiler/AM3359:如何交叉编译 Samba

Guru**** 2587365 points
Other Parts Discussed in Thread: AM3359

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/636959/compiler-am3359-how-to-cross-compile-samba

器件型号:AM3359

工具/软件:TI C/C++编译器

你(们)好

我使用的是 AM3359 CPU、并且我正在使用"ti-processor-sdk-linux-am335x-evm-02.00.02.11l"/进行开发

(编译器:arm-linux-gnueabihf-gcc)

我只想知道如何交叉编译 samba-3.6.23

但是、当我尝试交叉编译 samba-3.6时。 我无法使用以下消息执行此操作。

"配置:错误:在交叉编译时无法运行测试程序"

"conftest.c:10:28:fatal error:ac_nonexists.h:no such file or directory (conftest.c:10:28:致命错误:ac_nonexisting.h:无此类文件

可以帮帮你吗?  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    软件团队已收到通知。 他们将在这里作出回应。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你好、SEong、

    您可以使用以下命令在主机上交叉编译 Samba:

    $ sudo apt-get install git build-essential python diffstat texinfo gchrawk path dos2unix wget unzip SOCAT doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386
    $ sudo dpkg-reconfigure dash
    出现提示时、选择"否"。

    $ wget releases.linaro.org/.../gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar.xz
    $ tar -Jxvf gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar.xz -C $home

    $ git 克隆 git://arago-project.org/git/projects/oe-layersetup.git tisdk
    $ cd tisdk
    $./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-02.00.02.11-config.txt
    $ CD 生成
    $。 配置/设置
    $导出路径=$HOME/gcc-linaro-4.9-2015.05-x86_64 arm-linux-gnueabihf/bin:$path
    $ MACHINE=AM335x-EVM bitbake samba

    请查看 wiki 页面。

    此致、
    Kemal