[Development] Qt 5.1 compile problem

Tomasz Olszak olszak.tomasz at gmail.com
Tue Jun 25 13:21:33 CEST 2013


Hi,

*compiler:* mipsel-linux-uclibc-g++
*configure args: *-no-pch -hostprefix $HOSTPREFIX -v -release -opengl es2
-opensource -confirm-license -make libs -device $DEVICE -device-option
CROSS_COMPILE=$COMPILER_PREFIX -prefix /usr/local -sysroot $SYSROOT -nomake
examples -nomake demos -no-pch -eglfs -qpa eglfs -system-libpng -no-widgets

error (linking libQt5Network):

.obj/release-shared/qnativesocketengine_unix.o: In function
`QNativeSocketEnginePrivate::nativeSelect(int, bool) const':
qnativesocketengine_unix.cpp:(.text+0x2744): undefined reference to
`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*)'
qnativesocketengine_unix.cpp:(.text+0x2774): undefined reference to
`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*)'
.obj/release-shared/qnativesocketengine_unix.o: In function
`QNativeSocketEnginePrivate::nativeSelect(int, bool, bool, bool*, bool*)
const':
qnativesocketengine_unix.cpp:(.text+0x2884): undefined reference to
`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*)'
.obj/release-shared/qnativesocketengine_unix.o: In function
`QNativeSocketEnginePrivate::nativeSelect(int, bool) const':
qnativesocketengine_unix.cpp:(.text+0x2758): undefined reference to
`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*)'
qnativesocketengine_unix.cpp:(.text+0x2788): undefined reference to
`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*)'
.obj/release-shared/qnativesocketengine_unix.o:qnativesocketengine_unix.cpp:(.text+0x2890):
more undefined references to `qt_safe_select(int, fd_set*, fd_set*,
fd_set*, timespec const*)' follow
collect2: ld returned 1 exit status
make[3]: *** [../../lib/libQt5Network.so.5.1.0]

Does anyone have an idea what could cause the problem? I was able to built
5.0 for this specific target without any problem.

-- 
regards / pozdrawiam, Tomasz Olszak
Qt for Tizen | http://qt-project.org/wiki/Tizen
Qt Certified Developer | http://qt-project.org
http://linkedin.com/in/tolszak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130625/d60f51e3/attachment.html>


More information about the Development mailing list