You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: