aws / dcv-color-primitives

DCV Color Primitives Library
MIT No Attribution
30 stars 22 forks source link

It does not build on rhel 6 #19

Closed nacho closed 4 years ago

nacho commented 4 years ago
cc  -o c_tests/unit 'c_tests/1a332ed@@unit@exe/unit.c.o' -L/builddir/DCV_JHBUILD/inst/lib -Wl,--as-needed -Wl,--no-undefined -fstack-protector -g -O2 -fno-strict-aliasing -Wformat -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -pthread -Wl,--start-group /builddir/DCV_JHBUILD/sources/dcv-color-primitives-0.1.3/target/debug/libdcv_color_primitives.a -ldl -Wl,--end-group
/builddir/DCV_JHBUILD/sources/dcv-color-primitives-0.1.3/target/debug/libdcv_color_primitives.a(std-9d59e25e2eb2384d.std.5u3styxu-cgu.0.rcgu.o): In function `now':
/rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8//src/libstd/sys/unix/time.rs:387: undefined reference to `clock_gettime'
/builddir/DCV_JHBUILD/sources/dcv-color-primitives-0.1.3/target/debug/libdcv_color_primitives.a(std-9d59e25e2eb2384d.std.5u3styxu-cgu.0.rcgu.o): In function `std::sync::mpsc::blocking::WaitToken::wait_max_until::h29132948868d6846':
/rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src/liballoc/sync.rs:(.text._ZN3std4sync4mpsc8blocking9WaitToken14wait_max_until17h29132948868d6846E+0x45): undefined reference to `clock_gettime'
/builddir/DCV_JHBUILD/sources/dcv-color-primitives-0.1.3/target/debug/libdcv_color_primitives.a(std-9d59e25e2eb2384d.std.5u3styxu-cgu.0.rcgu.o): In function `now':
/rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8//src/libstd/sys/unix/time.rs:387: undefined reference to `clock_gettime'
/rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8//src/libstd/sys/unix/time.rs:387: undefined reference to `clock_gettime'
/rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8//src/libstd/sys/unix/time.rs:387: undefined reference to `clock_gettime'
/builddir/DCV_JHBUILD/sources/dcv-color-primitives-0.1.3/target/debug/libdcv_color_primitives.a(std-9d59e25e2eb2384d.std.5u3styxu-cgu.0.rcgu.o):/rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8//src/libstd/sys/unix/time.rs:387: more undefined references to `clock_gettime' follow
collect2: ld returned 1 exit status
ninja: build stopped: subcommand failed.