[zeromq-dev] Building on sparc-linux
Frittum Johannes
Johannes.Frittum at austrocontrol.at
Mon Nov 21 20:47:35 CET 2011
Hello everybody, Mikko, Chuck!
Today I tried to build libzmq on a debian sparc-linux (Kernel 2.6.17.14 a ReadyNAS Duo box) with gcc 3.3.5.
With the help of Mikko on IRC (pointed me to http://www.google.com/codesearch#NpsCNDAcr4w/MorphKad/id3lib/include/id3/id3lib_strings.h) I finally managed to build libzmq 2.1.10!
Chuck then recommended writing to the list so here we go:
For the record from source:
Exchange every #include <string> with a reference to the linked header file.
./configure --build=sparc-linux
Building will emit a private destructor warning so we need to disable -Werror:
Change config.status to remove -Werror and change -mv9 to -mv8 to adjust for SPARC executables (instead of SPARC32PLUS).
After running config.status the build should be running through.
make check is passing! (only test_shutdown_stress is asserting on creation of the 55th thread. perror gives "No such device"... ulimit -n is set to 4096. Any pointers on that?)
If anyone needs binaries just ask!
Any hints on the "No such device." error after the 54th pthread_create? If I uncomment all zmq stuff it is passing. Maybe a memory issue? How many FDs are being opened by zmq on each pass?
Thanks for all the hard work on zeromq! It is really a great piece of Software.
Johannes Frittum
(IRC freakyjoe83)
More information about the zeromq-dev
mailing list