I developed with CentOS, Qt 4.7 and GCC 4.4
I just installed Red Hat Developer Toolset 1.1, which includes GCC 4.7.2, and in the end makeI get an error
/usr/bin/ld: ../../bin/Solo: undefined reference to symbol 'pthread_rwlock_trywrlock@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_rwlock_trywrlock@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
I assume Qt threads are referencing this. How can i fix this?
source
share