A clean checkout of nitro does not build on the following configuration:
OS: 64-bit CentOS 7
gcc: 4.8.5
I ran the following commands:
> python waf configure --enable-debugging --prefix=installed --shared
> python waf build
And got the following errors:
/bin/ld: cannot find -lnrt-c.2.7
collect2: error: ld returned 1 exit status
/bin/ld: cannot find -lnrt-c.2.7
collect2: error: ld returned 1 exit status
/bin/ld: cannot find -lnrt-c.2.7
collect2: error: ld returned 1 exit status
...
Build failed
-> task in 'test_core_values' failed (exit status 1): {task 24244816: cprogram test_core_values.c.6.o -> test_core_values} ['gcc', '-fPIC', '-Wl,-E', '-m64', '-pthread', 'modules/c/nrt/unittests/test_core_values.c.6.o', '-o', '/home/d/Downloads/nitro-master/target/modules/c/nrt/unittests/test_core_values', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Lmodules/c/nrt', '-lnrt-c.2.7', '-ldl', '-lrt', '-lm']
-> task in 'test_byte_swap' failed (exit status 1): {task 24244496: cprogram test_byte_swap.c.5.o -> test_byte_swap} ['gcc', '-fPIC', '-Wl,-E', '-m64', '-pthread', 'modules/c/nrt/unittests/test_byte_swap.c.5.o', '-o', '/home/d/Downloads/nitro-master/target/modules/c/nrt/unittests/test_byte_swap', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Lmodules/c/nrt', '-lnrt-c.2.7', '-ldl', '-lrt', '-lm']
-> task in 'test_tree' failed (exit status 1): {task 24245648: cprogram test_tree.c.9.o -> test_tree} ['gcc', '-fPIC', '-Wl,-E', '-m64', '-pthread', 'modules/c/nrt/unittests/test_tree.c.9.o', '-o', '/home/d/Downloads/nitro-master/target/modules/c/nrt/unittests/test_tree', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Lmodules/c/nrt', '-lnrt-c.2.7', '-ldl', '-lrt', '-lm']
-> task in 'test_utils' failed (exit status 1): {task 24245904: cprogram test_utils.c.10.o -> test_utils} ['gcc', '-fPIC', '-Wl,-E', '-m64', '-pthread', 'modules/c/nrt/unittests/test_utils.c.10.o', '-o', '/home/d/Downloads/nitro-master/target/modules/c/nrt/unittests/test_utils', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Lmodules/c/nrt', '-lnrt-c.2.7', '-ldl', '-lrt', '-lm']
Is Nitro intended to be used on Linux or is it primarily a Windows library?