I have gcc-4.8.5, libnice-10.5.0 and other dependencies in the custom prefix.
Autotools runs successfully, but compilation stage fails with error:
CC owr_transport_agent.lo
owr_transport_agent.c: In function 'on_local_candidate_change':
owr_transport_agent.c:2441:5: error: implicit declaration of function 'nice_agent_set_local_credentials' [-Werror=implicit-function-declaration]
nice_agent_set_local_credentials(transport_agent->priv->nice_agent, stream_id, ufrag, password);
^
owr_transport_agent.c: At top level:
cc1: error: unrecognized command line option "-Wno-parentheses-equality" [-Werror]
cc1: all warnings being treated as errors
-Wno-parentheses-equality is clang option, but with clang it fails with other error:
argument unused during compilation: '-L/myprefix/lib'
Disabling -Werror entails linker error: undefined reference to nice_agent_set_local_credentials.
I'm trying to build openwebrtc on centos 7.
I have gcc-4.8.5, libnice-10.5.0 and other dependencies in the custom prefix. Autotools runs successfully, but compilation stage fails with error:
-Wno-parentheses-equality
is clang option, but with clang it fails with other error:argument unused during compilation: '-L/myprefix/lib'
Disabling -Werror entails linker error: undefined reference tonice_agent_set_local_credentials
.