QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3041|回复: 1

arm-linux编译基于x程序出现错误,

[复制链接]
发表于 2006-6-8 13:07:25 | 显示全部楼层 |阅读模式
X11R6_ARM是我移植好的X11


============ Checking for X11 headers presence ============
Result is: yes _inc_x1 exit
##########################################

Result is: yes ---(using /work/gtk--zqy/X11R6_ARM/include)
##########################################

============ Checking for X11 libs presence ============
Result is: yes ---(using /work/gtk--zqy/X11R6_ARM/lib)
##########################################

============ Checking for X11 ============


#include <X11/Xlib.h>
#include <X11/Xutil.h>

int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return 0; }

/work/tools/usr/local/arm/3.4/bin/arm-linux-gcc-3.4.3     /tmp/mplayer-conf-16387-29581.c -o /tmp/mplayer-conf-6151-29581.o -I/work/gtk--zqy/X11R6_ARM/include -L/work/gtk--zqy/X11R6_ARM/lib -lXext -lX11 -lnsl
/work/tools/usr/local/arm/3.4/bin/../lib/gcc/arm-linux-uclibc/3.4.3/../../../../arm-linux-uclibc/bin/ld: ERROR: /work/gtk--zqy/X11R6_ARM/lib/libXext.so uses VFP instructions, whereas /tmp/mplayer-conf-6151-29581.o does not
/work/tools/usr/local/arm/3.4/bin/../lib/gcc/arm-linux-uclibc/3.4.3/../../../../arm-linux-uclibc/bin/ld: failed to merge target specific data of file /work/gtk--zqy/X11R6_ARM/lib/libXext.so
/work/tools/usr/local/arm/3.4/bin/../lib/gcc/arm-linux-uclibc/3.4.3/../../../../arm-linux-uclibc/bin/ld: ERROR: /work/gtk--zqy/X11R6_ARM/lib/libX11.so uses VFP instructions, whereas /tmp/mplayer-conf-6151-29581.o does not
/work/tools/usr/local/arm/3.4/bin/../lib/gcc/arm-linux-uclibc/3.4.3/../../../../arm-linux-uclibc/bin/ld: failed to merge target specific data of file /work/gtk--zqy/X11R6_ARM/lib/libX11.so
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `getenv@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `strcpy@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `write@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libXext.so: undefined reference to `free@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `pthread_cond_signal@GLIBC_2.3.2'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `strchr@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `inet_addr@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `getsockname@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `dlclose@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `_IO_getc@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `pthread_mutex_init@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `__ctype_b_loc@GLIBC_2.3'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `getpwuid_r@GLIBC_2.1.2'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `realloc@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `pthread_cond_broadcast@GLIBC_2.3.2'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `pthread_mutex_destroy@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `fgets@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `fcntl@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `getgid@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `pthread_equal@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `dlopen@GLIBC_2.1'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `getpeername@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `readv@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `strncpy@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `strcmp@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `uname@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `pthread_cond_destroy@GLIBC_2.3.2'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `getpwnam_r@GLIBC_2.1.2'
/work/gtk--zqy/X11R6_ARM/lib/libXext.so: undefined reference to `calloc@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `memcmp@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `fread@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `getservbyname@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `setsockopt@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `dlsym@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `ioctl@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libXext.so: undefined reference to `sprintf@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `getegid@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `fflush@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `strncmp@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `mbstowcs@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `fputc@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `close@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `pthread_cond_wait@GLIBC_2.3.2'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `memset@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `getresgid@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `qsort@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `sscanf@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `sleep@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `__strdup@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `shutdown@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libXext.so: undefined reference to `memcpy@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `unlink@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `read@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `getresuid@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `gethostbyname@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `geteuid@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `pthread_cond_init@GLIBC_2.3.2'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `open@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `__strtol_internal@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `fputs@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libXext.so: undefined reference to `malloc@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `pthread_mutex_lock@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libXext.so: undefined reference to `exit@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `fclose@GLIBC_2.1'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `_IO_putc@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `getuid@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libXext.so: undefined reference to `fprintf@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `__fxstat@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `access@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `strstr@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `pthread_mutex_unlock@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `strlen@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `socket@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `__errno_location@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `pthread_self@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libXext.so: undefined reference to `stderr@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `__ctype_tolower_loc@GLIBC_2.3'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `strcat@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `fwrite@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libXext.so: undefined reference to `memmove@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `strrchr@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `ferror@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `fopen@GLIBC_2.1'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `rewind@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `select@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `connect@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `writev@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libXext.so: undefined reference to `printf@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `strerror@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `abort@GLIBC_2.0'
/work/gtk--zqy/X11R6_ARM/lib/libX11.so: undefined reference to `__xstat@GLIBC_2.0'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-6151-29581.o
ldd: /tmp/mplayer-conf-6151-29581.o: No such file or directory

Result is: no
发表于 2006-6-11 17:38:15 | 显示全部楼层
This is mostly like to be envi configuration issue... Please check ./configure...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-23 09:00 , Processed in 0.079622 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表