Error during Cross compiling nginx for raspberry pi

While trying to cross-compile nginx for raspberry pi, I am getting error during configure step itself. My config options for cross-compile are,

*./configure --build=x86_64-linux --host=arm-poky-linux-gnueabi --target=arm-poky-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/ws --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=~/Documents/raspberrypi/poky/raspberryPiBuild/tmp/sysroots/raspberrypi --enable-nls*

The following error is printed upon issuing this command, ./configure: error: invalid option "--build=x86_64-linux"

Whats the mistake am doing during this step?


Yocto project already provides a recipe for nginx , so you don't need to create your own recipe. See this issue for more information.

链接地址: http://www.djcxy.com/p/86898.html

上一篇: 建设HHVM缺少GCC 4.7,但已安装

下一篇: 在交叉编译nginx for raspberry pi期间出错