Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when compiling on ubuntu 20.04. #47

Open
brunotonin opened this issue Apr 25, 2020 · 0 comments
Open

Error when compiling on ubuntu 20.04. #47

brunotonin opened this issue Apr 25, 2020 · 0 comments

Comments

@brunotonin
Copy link

There is this error when compiling on ubuntu 20.04.

I believe that this error occurs because of lib libvorbis, which in ubuntu 18.04 is in version 1.3.5 and in ubuntu 20.04 is in version 1.3.6

[  1%] Linking CXX executable otclient
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(psy.o): in function `setup_tone_curves':
(.text+0x11e2): undefined reference to `__log_finite'
/usr/bin/ld: (.text+0x122e): undefined reference to `__log_finite'
/usr/bin/ld: (.text+0x1406): undefined reference to `__exp_finite'
/usr/bin/ld: (.text+0x1434): undefined reference to `__exp_finite'
/usr/bin/ld: (.text+0x15c7): undefined reference to `__exp_finite'
/usr/bin/ld: (.text+0x15f5): undefined reference to `__exp_finite'
/usr/bin/ld: (.text+0x1744): undefined reference to `__exp_finite'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(psy.o):(.text+0x1870): more undefined references to `__exp_finite' follow
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(psy.o): in function `_vp_psy_init':
(.text+0x1dee): undefined reference to `__log_finite'
/usr/bin/ld: (.text+0x1ea5): undefined reference to `__log_finite'
/usr/bin/ld: (.text+0x1f1e): undefined reference to `__log_finite'
/usr/bin/ld: (.text+0x2048): undefined reference to `__exp_finite'
/usr/bin/ld: (.text+0x24a3): undefined reference to `__log_finite'
/usr/bin/ld: (.text+0x2577): undefined reference to `__log_finite'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(sharedbook.o): in function `_float32_pack':
(.text+0xd6): undefined reference to `__log_finite'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(sharedbook.o): in function `_book_maptype1_quantvals':
(.text+0x444): undefined reference to `__pow_finite'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(mdct.o): in function `mdct_init':
(.text+0xd01): undefined reference to `__log_finite'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(lsp.o): in function `vorbis_lsp_to_curve':
(.text+0x5ff): undefined reference to `__exp_finite'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libvorbis.a(lsp.o): in function `vorbis_lpc_to_lsp':
(.text+0xa48): undefined reference to `__acosf_finite'
/usr/bin/ld: (.text+0xa78): undefined reference to `__acosf_finite'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/otclient.dir/build.make:3855: otclient] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/otclient.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant