Public bug reported: Affected versions: in trusty 1.14+dfsg-2 in utopic 1.16+dfsg1-2
libtrio uses math library and should be linked with it. Current versions are not linked with it and are unusable. Test file: #include <trio.h> int main(int argc, char* argv[]) { trio_printf("Test\n"); return 0; } Output: $ gcc test.c -ltrio /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libtrio.so: undefined reference to `__fpclassify' /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libtrio.so: undefined reference to `powl' /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libtrio.so: undefined reference to `fmodl' /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libtrio.so: undefined reference to `ceill' /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libtrio.so: undefined reference to `log10l' /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libtrio.so: undefined reference to `floorl' /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libtrio.so: undefined reference to `floor' collect2: error: ld returned 1 exit status This also causes builds of mednafen package to fail. ** Affects: libtrio (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1371782 Title: Should be built with -lm To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libtrio/+bug/1371782/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs