[zeromq-dev] build error cross compiling czmq

Philip Dizon philipdotdev at gmail.com
Fri Feb 7 01:27:03 CET 2014


I seem to be having a problem cross compiling the czmq library  Below is
the error I'm seeing and it seems like it's looking for libstdc++.la in a
directory that doesn't exist.  I believe it's getting that path from the
libdir variable within my version of libstdc++.la.  The problem goes away
if I correct the path in libdir, but that seems like a short term solution,
especially if I hand off my project to someone else.  So is there a
configuration option that I could be missing?  I'm providing my
confugration settings below

libtool: link:
/home/user1/Development/dm_toolchains/ARMv7-A8/bin/arm-unknown-linux-gnueabi-ar
cru .libs/libczmq.a  zauth.o zbeacon.o zcert.o zcertstore.o zchunk.o
zclock.o zconfig.o zctx.o zdir.o zfile.o zframe.o zhash.o zlist.o zloop.o
zmsg.o zmutex.o zpoller.o zsocket.o zsockopt.o zstr.o zsys.o zthread.o
ztree.o
libtool: link:
/home/user1/Development/dm_toolchains/ARMv7-A8/bin/arm-unknown-linux-gnueabi-ranlib
.libs/libczmq.a
/bin/sed: can't read
/home/TestUser/omap-toolchain/ARMv7-A8/arm-unknown-linux-gnueabi/lib/libstdc++.la:
No such file or directory
libtool: link:
`/home/TestUser/omap-toolchain/ARMv7-A8/arm-unknown-linux-gnueabi/lib/libstdc++.la'
is not a valid libtool archive
make[4]: *** [libczmq.la] Error 1
make[4]: Leaving directory
`/home/user1/Development/Common.SW/dm_libs_src/build/ARMv7-A8/czmq-2.0.3/src'


Here is my configuration setting
CC=$(CC) CFLAGS="$(CFLAGS)" ./configure --build=$(BUILD) --host=$(HOST)
--prefix=/usr && \
    make && make DESTDIR=$(LIB_INSTALL)/$(ARCH) install


Thanks
Philip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140206/69ab6768/attachment.htm>


More information about the zeromq-dev mailing list