K
K
Kamikaze10242017-02-10 11:56:41
linux
Kamikaze1024, 2017-02-10 11:56:41

Why is GCC not finding the library?

The test unit boost library references some functions on build:
libboost_unit_test_framework.so: undefined reference to `fedisableexcept'
libboost_unit_test_framework.so: undefined reference to `feenableexcept'
libboost_unit_test_framework.so: undefined reference to `fedisableexcept'
libboost_unit_test_framework.so: undefined reference to `feclearexcept'
Where can I get them from? specifying -ld in the makefile did nothing.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Moseychuk, 2017-02-10
@Kamikaze1024

-ld
This is how you include the libd library, and you need libm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question