This is a packaging bug that we'll resolve with a new release by end of day today or early tomorrow.
Thanks for reporting this.
There is a problem that I dont know yet how to fix. When compiling, it produces:
c++ -g -O2 -Wl,--gc-sections -o tfltchk main.o ../lib/libTurboActivateTurboFloat.a -lpthread../lib/libTurboActivateTurboFloat.a(GlobalVars.o): In function `TF_LIB_NS::GlobalVars::GlobalVars(void (*)(), void (*)())':GlobalVars.cpp:(.text._ZN9TF_LIB_NS10GlobalVarsC2EPFvvES2_+0x15): undefined reference to `TF_LIB_NS::PowerEvents::PowerEvents(void (*)(), void (*)())'GlobalVars.cpp:(.text._ZN9TF_LIB_NS10GlobalVarsC2EPFvvES2_+0x1ce): undefined reference to `TF_LIB_NS::PowerEvents::~PowerEvents()'../lib/libTurboActivateTurboFloat.a(GlobalVars.o): In function `TF_LIB_NS::GlobalVars::~GlobalVars()':GlobalVars.cpp:(.text._ZN9TF_LIB_NS10GlobalVarsD2Ev+0x1bd): undefined reference to `TF_LIB_NS::PowerEvents::~PowerEvents()'GlobalVars.cpp:(.text._ZN9TF_LIB_NS10GlobalVarsD2Ev+0x2a2): undefined reference to `TF_LIB_NS::PowerEvents::~PowerEvents()'c++: error: linker command failed with exit code 1 (use -v to see invocation)*** Error code 1Stop.
This error also occurs when trying to link a dynamic library:
c++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.ccmv -f .deps/main.Tpo .deps/main.Poc++ -g -O2 -Wl,--gc-sections -Wl,-rpath='../lib' -o tfltchk main.o ../lib/libTurboFloat.so -lpthread../lib/libTurboFloat.so: undefined reference to `TF_LIB_NS::PowerEvents::PowerEvents(void (*)(), void (*)())'../lib/libTurboFloat.so: undefined reference to `TF_LIB_NS::PowerEvents::~PowerEvents()'c++: error: linker command failed with exit code 1 (use -v to see invocation)*** Error code 1Stop.
If compiled with TurboActivate, then there are no errors.
c++ -DHAVE_CONFIG_H -I. -I.. -I../include -Os -s -ffunction-sections -fdata-sections -m64 -g -O2 -MT mainTA.o -MD -MP -MF .deps/mainTA.Tpo -c -o mainTA.o mainTA.ccc++: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]mv -f .deps/mainTA.Tpo .deps/mainTA.Poc++ -g -O2 -Wl,--gc-sections -Wl,-rpath='../lib' -o tfltchk mainTA.o ../lib/libTurboActivate.so -lpthread
Compilation finished
I need TurboFloat (TurboAktivate does not suit me).
Why there is an error with TF_LIB_NS :: PowerEvents :: PowerEvents and how to get around it?
This is a packaging bug that we'll resolve with a new release by end of day today or early tomorrow.
Thanks for reporting this.
We seem to be seeing this as well in the Linux variant when trying to dynamically link based on the output from linker debugging.
"libTurboFloat.so: error: symbol lookup error: undefined symbol: _ZN9TF_LIB_NS11PowerEventsC1EPFvvES2_ (fatal)"
Yes, we're fixing the error for both BSD and Linux.
TA / TF 4.3.1 are now out for BSD / Linux and fixes these bugs. Thanks for reporting.