Hi, this is my first time installing Tophat. I followed the instructions on the manual page, but after I ran "make", I got the error message as below. Does anyone know what "undefined reference to 'clock_gettime'" means?
The boost and samtools installation went smoothly and they were installed under /usr/local/
The boost and samtools installation went smoothly and they were installed under /usr/local/
Code:
make all-recursive make[1]: Entering directory `/mnt/galaxy_tools_external/tophat-2.0.8' Making all in src make[2]: Entering directory `/mnt/galaxy_tools_external/tophat-2.0.8/src' g++ -Wall -Wno-strict-aliasing -g -gdwarf-2 -Wuninitialized -O3 -DNDEBUG -pthread -I/usr/local/include -I/usr/local/include -I./SeqAn-1.3 -o segment_juncs -L/usr/local/lib -L/usr/local/lib segment_juncs.o ../src/libtophat.a -lboost_thread -lboost_system -lbam -lz /usr/local/lib/libboost_thread.a(thread.o): In function `boost::this_thread::hiden::sleep_until(timespec const&)': thread.cpp: (.text+0x1a73): undefined reference to `clock_gettime' thread.cpp: (.text+0x1ae8): undefined reference to `clock_gettime' thread.cpp: (.text+0x1b4f): undefined reference to `clock_gettime' thread.cpp: (.text+0x1bb6): undefined reference to `clock_gettime' thread.cpp: (.text+0x1c1d): undefined reference to `clock_gettime' /usr/local/lib/libboost_thread.a(thread.o):thread.cpp: (.text+0x1c84): more undefined references to `clock_gettime' follow collect2: ld returned 1 exit status make[2]: *** [segment_juncs] Error 1 make[2]: Leaving directory `/mnt/galaxy_tools_external/tophat-2.0.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/galaxy_tools_external/tophat-2.0.8' make: *** [all] Error 2
Comment