Closed jpenguin closed 3 years ago
I'm writing a spec file for RPM distros using OpenSUSE's OpenBuildService. It compiles for most distributions, but Leap gives me an error
[ 104s] [100%] Linking CXX executable Bugdom [ 104s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: ../extern/Quesa/SDK/Libraries/Linux/x86_64/Release/l ibQuesa_SDL.a(QD3DCamera.cpp.o): undefined reference to symbol 'asinf@@GLIBC_2.2.5' [ 104s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: /lib64/libm.so.6: error adding symbols: DSO missing from command line [ 104s] collect2: error: ld returned 1 exit status [ 104s] gmake[2]: *** [CMakeFiles/Bugdom.dir/build.make:1398: Bugdom] Error 1 [ 104s] gmake[1]: *** [CMakeFiles/Makefile2:135: CMakeFiles/Bugdom.dir/all] Error 2 [ 104s] gmake: *** [Makefile:101: all] Error 2 [ 104s] error: Bad exit status from /var/tmp/rpm-tmp.02N6zB (%build) [ 104s] [ 104s] [ 104s] RPM build errors: [ 104s] Bad exit status from /var/tmp/rpm-tmp.02N6zB (%build) [ 104s] [ 104s] localhost.localdomain failed "build Bugdom.spec" at Fri Apr 16 18:13:50 UTC 2021. [ 104s]
https://forums.opensuse.org/showthread.php/552698-Can-t-figure-out-the-rest-of-this-*-spec-file?p=3021954#post3021954
Closing because I fixed the CMakeLists file similarly to Mighty Mike. Feel free to reopen the issue if it still fails to link.
I'm writing a spec file for RPM distros using OpenSUSE's OpenBuildService. It compiles for most distributions, but Leap gives me an error
https://forums.opensuse.org/showthread.php/552698-Can-t-figure-out-the-rest-of-this-*-spec-file?p=3021954#post3021954