Hi Johannes, > 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.
Why the need for the additional header file? Isn't there one in debian sparc-linux? > ./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. Yes. This is a problem with old versions of gcc. They erroneously consider private destructors to be problematic. If you send a patch making the destructor protected/public I will merge it into the trunk. > 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?) Can you possibly find out which exct call returns the error? > If anyone needs binaries just ask! What about uploading them somewhere? Then we can link them from the website. > 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? Whatever it is "no such device" doesn't seem to be the right error code. If you let me know which function returns the error, I'll check further. Martin _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
