[zeromq-dev] Issue when cross compiling zeromq onto 32-bit i686 architecture
Lavanya M.K
mk.lavanya at gmail.com
Tue Aug 11 09:04:57 CEST 2015
Hi All,
I am trying to cross-compile zeromq on a 32-bit i686 architecture and this
is command line i am using:
cd $topdir/zeromq/zeromq-4.1.2
CC=${TOOL_PREFIX}-gcc \
CXX=${TOOL_PREFIX}-gcc \
LD=${TOOL_PREFIX}-ld \
CPPFLAGS="${S_INCLUDES} -m32 -O -arch=i686" \
LDFLAGS="${S_LIBS} -m32 -O -arch=i686" \
CROSS_COMPILE=${TOOL_PREFIX}- \
CROSS_COMPILE_TARGET=yes \
#HOSTARCH=$gnutarg \
./configure \
--host=i686-pc-linux-gnu \
--without-libsodium \
--prefix="${results}/target/usr"
make V=1 INSDIR=$results/target/usr
make install INSDIR=$results/target/usr
Here the TOOL_PREFIX is i686-pc-linux-gnu.
I am getting the following error:
In file included from src/../include/zmq.h:78:0,
from src/err.hpp:47,
from src/address.cpp:32:
/nobackup/lmadapur/dev/dev_vpc_ns8/master/packages.shadow-debug-x86/sysapps/deps.debug/libs/x86/host/include/stdint.h:58:1:
error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/nobackup/lmadapur/dev/dev_vpc_ns8/master/packages.shadow-debug-x86/sysapps/deps.debug/libs/x86/host/include/stdint.h:72:1:
error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/nobackup/lmadapur/dev/dev_vpc_ns8/master/packages.shadow-debug-x86/sysapps/deps.debug/libs/x86/host/include/stdint.h:83:1:
error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/nobackup/lmadapur/dev/dev_vpc_ns8/master/packages.shadow-debug-x86/sysapps/deps.debug/libs/x86/host/include/stdint.h:99:1:
error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/nobackup/lmadapur/dev/dev_vpc_ns8/master/packages.shadow-debug-x86/sysapps/deps.debug/libs/x86/host/include/stdint.h:112:1:
error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/nobackup/lmadapur/dev/dev_vpc_ns8/master/packages.shadow-debug-x86/sysapps/deps.debug/libs/x86/host/include/stdint.h:138:1:
error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
/nobackup/lmadapur/dev/dev_vpc_ns8/master/packages.shadow-debug-x86/sysapps/deps.debug/libs/x86/host/include/stdint.h:140:1:
error: ISO C++ 1998 does not support 'long long' [-Werror=long-long]
cc1plus: all warnings being treated as errors
make[2]: *** [src/libzmq_la-address.lo] Error 1
make[2]: Leaving directory
`/nobackup/lmadapur/dev/dev_vpc_ns8/master/packages.shadow-debug-x86/sysapps/zeromq/zeromq-4.1.2'
make[1]: *** [all-recursive] Error 1
Kindly help!
Thanks,
Lavanya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150811/5a11ce78/attachment.htm>
More information about the zeromq-dev
mailing list