[opus] How to cross-compile opus-tools?

Ralph Giles giles at thaumas.net
Fri Oct 19 16:19:43 PDT 2012


On 12-10-19 4:02 PM, bat guano wrote:

> Is it possible to cross-compile opus-tools with mingw and Ubuntu?

Certainly. I've done it on fedora.

>   CCLD   opusenc.exe
> src/opusenc.o: In function `main':
> /home/user/source/opus-tools/src/opusenc.c:301: undefined reference to `opus_get_version_string'
> ...
> /home/user/source/opus-tools/src/opusenc.c:712: undefined reference to `ogg_stream_init'

The linker isn't finding the libopus and libogg you built. Try
re-running with 'make V=1' to get the actual link line and verify that
the paths are correct.

 -r



More information about the opus mailing list