Julian Taylor
-
2011-07-07
when compiling with ld --no-copy-dt-needed the compilation fails due to a missing link:
/usr/bin/ld: CMakeFiles/qtemu.dir/machineprocess.o: undefined reference
to symbol 'QLocalSocket::QLocalSocket(QObject*)'
/usr/bin/ld: note: 'QLocalSocket::QLocalSocket(QObject*)' is defined in
DSO /usr/lib/libQtNetwork.so.4 so try adding it to the linker command line
/usr/lib/libQtNetwork.so.4: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
attached patch fixes the issue.
See downstream bugs:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632948
https://bugs.launchpad.net/ubuntu/+source/qtemu/+bug/756221