|
编译X86版本正确,编译ARM版时出现下面错误,环境变量设置好。求高手解答??不管是编译hello_cn或者其他例子程序都出现下面的错误。
make: Entering directory `/opt/EmbedSky/qt-4.5/qt-embedded-linux-opensource-src-4.5.0/examples/qws/mousecalibration'
arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../__install/arm/mkspecs/qws/linux-arm-g++ -I. -I../../../../__install/arm/include/QtCore -I../../../../__install/arm/include/QtNetwork -I../../../../__install/arm/include/QtGui -I../../../../__install/arm/include -I. -I. -o calibration.o calibration.cpp
arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../__install/arm/mkspecs/qws/linux-arm-g++ -I. -I../../../../__install/arm/include/QtCore -I../../../../__install/arm/include/QtNetwork -I../../../../__install/arm/include/QtGui -I../../../../__install/arm/include -I. -I. -o scribblewidget.o scribblewidget.cpp
arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../../__install/arm/mkspecs/qws/linux-arm-g++ -I. -I../../../../__install/arm/include/QtCore -I../../../../__install/arm/include/QtNetwork -I../../../../__install/arm/include/QtGui -I../../../../__install/arm/include -I. -I. -o main.o main.cpp
arm-linux-g++ -Wl,-O1 -Wl,-rpath,/opt/EmbedSky/qt-4.5/__install/arm/lib -o mousecalibration calibration.o scribblewidget.o main.o -L/opt/EmbedSky/qt-4.5/__install/arm//lib -lQtGui -L/tslib-1.4/lib -L/opt/EmbedSky/qt-4.5/__install/arm//lib -lts -lQtNetwork -lQtCore -lm -lrt -ldl -lpthread
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `syscall@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `strdup@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `backtrace_symbols@GLIBC_2.1'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `clearerr@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `usleep@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `access@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `sleep@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `fgets@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `fstatfs@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `tolower@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `nanosleep@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtNetwork.so: undefined reference to `gai_strerror@GLIBC_2.1'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `strlen@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `atan2@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `isascii@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `memcmp@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `closedir@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `putenv@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `tzname@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `pthread_cond_init@GLIBC_2.3.2'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `memcpy@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `memchr@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `ftok@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtNetwork.so: undefined reference to `getaddrinfo@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `tcflush@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `__strtol_internal@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `strchr@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `tcgetattr@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtNetwork.so: undefined reference to `if_nametoindex@GLIBC_2.1'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `shmget@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `ioctl@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `fdopen@GLIBC_2.1'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `strncmp@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `isdigit@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `pthread_cond_destroy@GLIBC_2.3.2'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `write@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `malloc@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `ftruncate@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `sqrtf@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `pipe@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `setsid@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `chmod@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `shmdt@GLIBC_2.0'
。。。
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `getpwuid_r@GLIBC_2.1.2'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `__errno_location@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `system@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `execlp@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `cosf@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtNetwork.so: undefined reference to `getsockname@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `dlclose@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `pthread_attr_init@GLIBC_2.1'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `pthread_attr_setschedpolicy@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `memset@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `getcwd@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `execve@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `nl_langinfo@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtNetwork.so: undefined reference to `if_indextoname@GLIBC_2.1'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `pthread_cond_broadcast@GLIBC_2.3.2'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `qsort@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `dlopen@GLIBC_2.1'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `truncate@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `ferror@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `shmat@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `strrchr@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `feof@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtGui.so: undefined reference to `mount@GLIBC_2.0'
/opt/EmbedSky/qt-4.5/__install/arm//lib/libQtCore.so: undefined reference to `pthread_setschedparam@GLIBC_2.0'
collect2: ld returned 1 exit status
make: *** [mousecalibration] 错误 1
make: Leaving directory `/opt/EmbedSky/qt-4.5/qt-embedded-linux-opensource-src-4.5.0/examples/qws/mousecalibration'
Exited with code 2.
Error while building project mousecalibration
When executing build step 'Make'
|
|