Compiling errors with GCC 4.8.2
#1
Haven't been compiling pcsx2 in while, any clue what went wrong in here?
I'm not really programming type... obviously Biggrin

Quote:[ 68%] Building CXX object pcsx2/CMakeFiles/pcsx2.dir/ZipTools/thread_gzip.cpp.o
[ 68%] Building CXX object pcsx2/CMakeFiles/pcsx2.dir/ZipTools/thread_lzma.cpp.o
[ 69%] Building CXX object pcsx2/CMakeFiles/pcsx2.dir/x86/aVUzerorec.S.o
[ 69%] Building CXX object pcsx2/CMakeFiles/pcsx2.dir/Linux/LnxKeyCodes.cpp.o
[ 69%] Building CXX object pcsx2/CMakeFiles/pcsx2.dir/Linux/LnxFlatFileReader.cpp.o
Linking CXX executable pcsx2
/opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/ld: ../common/src/Utilities/libUtilities.a(LnxThreads.cpp.o): undefined reference to symbol 'clock_gettime@@GLIBC_2.2'
/opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/ld: note: 'clock_gettime@@GLIBC_2.2' is defined in DSO /lib/librt.so.1 so try adding it to the linker command line
/lib/librt.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [pcsx2/pcsx2] Error 1
make[1]: *** [pcsx2/CMakeFiles/pcsx2.dir/all] Error 2
make: *** [all] Error 2

I can compile and run that last svn revision before you went to github (r5937) just fine though.
Reply

Sponsored links

#2
I pushed a quick fix. Could you give you a try? Thanks
Reply
#3
(09-24-2014, 09:31 AM)gregory Wrote: I pushed a quick fix. Could you give you a try? Thanks

Yeah, it worked now, thanks!
Reply




Users browsing this thread: 1 Guest(s)