[zeromq-dev] Cross compiling for PowerPC with ELDK
frank
soundart at gmx.net
Thu Jul 23 22:47:43 CEST 2015
Hi, i think your cpp executable is wrong, try ...-cpp
--
unterwegs
Am 22.07.2015 um 20:51 schrieb "Jong Chen" <jong.chen at nrl.navy.mil>:
> Hello,
>
> I'm trying to cross compile zeromq for a PowerPC. My host machine is
> running Ubuntu with version 5.5.3 of the ELDK for powerpc-e500v2 (Embedded
> Linux Development Kit) tool chain installed. I'm trying to compile release
> 4.1.2 of zeromq.
>
> I'm following the directions that I found here
>
> http://lists.zeromq.org/pipermail/zeromq-dev/2011-October/013789.html
>
> where they were able to successfully cross compile the tool chain.
>
> The command line that I am using is:
>
> export
> PATH=/opt/eldk-5.5.3/powerpc-e500v2/sysroots/i686-eldk-linux/usr/bin:/opt/el
> dk-5.5.3/powerpc-e500v2/sysroots/i686-eldk-linux/usr/bin/powerpc-linux-gnusp
> e:$PATH
>
> ./configure \
> --host=powerpc-linux-gnuspe \
> --prefix=/home/chen2/work/chassisStaging \
> CC="powerpc-linux-gnuspe-gcc" \
> CXX="powerpc-linux-gnuspe-g++" \
> CPP="powerpc-linux-gnuspe-gcc" \
> sodium_LIBS=/home/chen2/work/chassisStaging/lib
>
> When I execute the command line I get the error
>
> configure: error: in `/home/chen2/work/zeromq-4.1.2-ppc':
> configure: error: C preprocessor "powerpc-linux-gnuspe-gcc" fails sanity
> check
> See `config.log' for more details
>
> When I look at 'config.log' I see:
>
> | #ifdef __STDC__
> | # include <limits.h>
> | #else
> | # include <assert.h>
> | #endif
> | Syntax error
> configure:9195: error: in `/home/chen2/work/zeromq-4.1.2-ppc':
> configure:9197: error: C preprocessor "powerpc-linux-gnuspe-gcc" fails
> sanity check
>
> How do I get around the error?
>
> Things that I have tried already:
> -Compile version 3.2.5 of zeromq (same error, fails sanity check)
> -Compile version 2.1.0 of zeromq (same error, fails sanity check)
>
> Thanks,
> Jong
>
>
> Jong Chen
> Software Engineer
> COMSEC Systems Section
> Naval Research Laboratory
> 202-767-2570
> jong.chen at nrl.navy.mil
> jong.chen at nrl.nmic.ic.gov
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1439 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150723/c0b90b00/attachment.bin>
More information about the zeromq-dev
mailing list