Compile Hyperion on OpenSolaris/SmartOS - pthread_getcpuclockid not defined
(too old to reply)
Matthias Schreiber compeiler@yahoo.de [hercules-390]
2018-06-13 16:51:59 UTC
I am trying to build Hyperion on SmartOS (which is OpenSolaris).There are some minor problems with the compile process until now:
1.) as uname -p says "i386" it compiles just 32Bit. But it is 64 Bit. So I used "configure --disable-regina-rexx --disable-object-rexx --disable-ipv6 --target="x86_64-pc-solaris2.11"2.) also I had to compile decNumber, crypto, SoftFloat and telnet on my own, as the 64 Bit Versions weren't included3.) in external Programms in "telnet.c" I had to put "#include <sys/select.h>" - otherwise it reclaims "telnet.c:1744:5: error: unknown type name 'fd_set'"
So long, but still won't make it :-(
The linker has problems with pthread_getcpuclockid. And indead OpenSolaris don't have that. But as I googled, others like MacOSX and others also don't have it. Is there another parameter to set, to get it compiled?
This ist the error:
Undefined                       first referenced symbol                             in filepthread_getcpuclockid               ./.libs/libherc.sold: fatal: symbol referencing errors. No output written to .libs/cckdcdskcollect2: error: ld returned 1 exit statusgmake[2]: *** [Makefile:1781: cckdcdsk] Error 1gmake[2]: Leaving directory '/root/hyperion-master'gmake[1]: *** [Makefile:2110: all-recursive] Error 1gmake[1]: Leaving directory '/root/hyperion-master'gmake: *** [Makefile:1533: all] Error 2

Any ideas?Thanks,

Continue reading on narkive: