Hi
Well it's still missing the -lm link... upstream with the tinyspline dev...
Code:
**Working with the c++ link ** Looks like the static link **
[ 55s] /usr/bin/c++ -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -DNDEBUG -O2 -g -DNDEBUG -flto=auto -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now CMakeFiles/time_series.dir/time_series.cpp.o -o time_series ../../lib/libtinysplinecpp.a -lm
**Not working with the cc link ** Looks like the shared link **
[ 55s] cd /home/abuild/rpmbuild/BUILD/tinyspline-0.2.0+git.1584996308.33462b8/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/tinyspline_shared.dir/link.txt --verbose=1
[ 55s] /usr/bin/cc -fPIC -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -DNDEBUG -std=c89 -O2 -g -DNDEBUG -flto=auto -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -lm -shared -Wl,-soname,libtinyspline.so -o ../lib/libtinyspline.so CMakeFiles/tinyspline_shared.dir/tinyspline.c.o CMakeFiles/tinyspline_shared.dir/parson.c.o
[ 55s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /tmp/libtinyspline.so.zq5CGP.ltrans0.ltrans.o: in function `ts_distance':
[ 55s] /home/abuild/rpmbuild/BUILD/tinyspline-0.2.0+git.1584996308.33462b8/src/tinyspline.c:2069: undefined reference to `sqrt'
[ 55s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /tmp/libtinyspline.so.zq5CGP.ltrans0.ltrans.o: in function `ts_bspline_interpolate_catmull_rom':
[ 55s] /home/abuild/rpmbuild/BUILD/tinyspline-0.2.0+git.1584996308.33462b8/src/tinyspline.c:987: undefined reference to `pow'
[ 55s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/tinyspline-0.2.0+git.1584996308.33462b8/src/tinyspline.c:988: undefined reference to `pow'
[ 55s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/tinyspline-0.2.0+git.1584996308.33462b8/src/tinyspline.c:989: undefined reference to `pow'
Bookmarks