Hi Erik, Am 15.07.2019 um 02:32 schrieb Erik de Castro Lopo <mle+la at mega-nerd.com>:> Erik de Castro Lopo wrote: > >> I have a new pre-reelase (with a GPG signature) up here: > > New version: > > http://mega-nerd.com/tmp/flac-1.3.3rc2.tar.xz > http://mega-nerd.com/tmp/flac-1.3.3rc2.tar.xz.ascI have an undefined symbol on Solaris 10 Sparc with GCC 5.5:> Undefined first referenced > symbol in file > clock_gettime util.oAt the moment librt is only added for Linux whereas it would be better to check on all operating systems if the function is in librt. Best regards — Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896
Dagobert Michelsen wrote:> I have an undefined symbol on Solaris 10 Sparc with GCC 5.5: > > > Undefined first referenced > > symbol in file > > clock_gettime util.o > > At the moment librt is only added for Linux whereas it would be better to check > on all operating systems if the function is in librt.Which build system are your using? Any chance of a patch? Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
Erik de Castro Lopo wrote:> Which build system are your using? Any chance of a patch?I just checked, and the autotool build system should just do the right thing on Solaris. Maybe you are using the CMake build system and should try the other one. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/