Hi, i think your cpp executable is wrong, try ...-cpp
--
unterwegsAm 22.07.2015 um 20:51 schrieb "Jong Chen" <[email protected]>: > 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 > [email protected] > [email protected] > > > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
