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
{{ message }}
This repository was archived by the owner on Apr 20, 2025. It is now read-only.
On Ubuntu Server 14.04.2 LTS launching
./Builditscript gave me somepthread_*undefined references when compiling fileOSMutex.cppI solved editing Buildit script moving "-lpthread" as the last -l option on the variable CORE_LINK_LIBS
CORE_LINK_LIBS="-lstdc++ -lm -lcrypt -ldl -lpthread"But then I received some errors about undefined references to
dlopen()then I modified again CORE_LINK_LIBS this way:CORE_LINK_LIBS="-lstdc++ -lm -lcrypt -lpthread -ldl"ran
./Buildit clean, then./Builditand finally the compilation reached the end without errors.As stated here the link order of libraries is important and maybe different linkers inspect the libraries in different orders.