QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1852|回复: 4

使用arm-linux-gcc编译失败,求助!!!

[复制链接]
发表于 2006-5-24 16:34:06 | 显示全部楼层 |阅读模式
编译时出现如下出错信息:



/usr/seedling/lib/gcc-lib/arm-linux/3.2.1/../../../../arm-linux/bin/ld: warning:
ld-linux.so.2, needed by /usr/seedling/lib/libc.so.6, not found (try using -rpa
th or -rpath-link)
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_lazy@GLIBC_2.1.1'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_dst_substitute@GLIBC_2.
1.1'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_out_of_memory@GLIBC_2.2
'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_relocate_object@GLIBC_2
.0'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_clktck@GLIBC_2.2'
/usr/seedling/lib/libc.so.6: undefined reference to `__libc_enable_secure@GLIBC_
2.0'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_catch_error@GLIBC_2.0'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_platformlen@GLIBC_2.1.1
'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_lookup_versioned_symbol
_skip@GLIBC_2.0'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_lookup_versioned_symbol
@GLIBC_2.0'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_mcount@GLIBC_2.1'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_dst_count@GLIBC_2.1.1'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_initial_searchlist@GLIB
C_2.1'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_start_profile@GLIBC_2.1
'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_lookup_symbol@GLIBC_2.0
'
/usr/seedling/lib/libc.so.6: undefined reference to `__libc_stack_end@GLIBC_2.1'

/usr/seedling/lib/libc.so.6: undefined reference to `_dl_argv@GLIBC_2.2'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_loaded@GLIBC_2.1'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_origin_path@GLIBC_2.1.1
'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_check_map_versions@GLIB
C_2.2'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_map_object@GLIBC_2.0'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_main_searchlist@GLIBC_2
.1'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_debug_mask@GLIBC_2.2.3'

/usr/seedling/lib/libc.so.6: undefined reference to `_dl_load_lock@GLIBC_2.2'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_profile@GLIBC_2.1'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_debug_state@GLIBC_2.0'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_init_all_dirs@GLIBC_2.2
'
/usr/seedling/lib/libc.so.6: undefined reference to `_r_debug@GLIBC_2.0'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_unload_cache@GLIBC_2.1'

/usr/seedling/lib/libc.so.6: undefined reference to `_dl_signal_error@GLIBC_2.0'

/usr/seedling/lib/libc.so.6: undefined reference to `_dl_debug_printf@GLIBC_2.2.
3'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_init@GLIBC_2.2'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_all_dirs@GLIBC_2.2'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_map_object_deps@GLIBC_2
.0'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_nloaded@GLIBC_2.2'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_profile_map@GLIBC_2.1'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_profile_output@GLIBC_2.
1'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_pagesize@GLIBC_2.2'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_lookup_symbol_skip@GLIB
C_2.0'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_fpu_control@GLIBC_2.1'
/usr/seedling/lib/libc.so.6: undefined reference to `_dl_global_scope_alloc@GLIB
C_2.1'
collect2: ld returned 1 exit status
make: *** [main] Error 1





此问题该如何解决!
 楼主| 发表于 2006-5-25 08:49:48 | 显示全部楼层
唉,也每个人给解决一下,还得靠自己,加上一个库以后就好了
回复

使用道具 举报

发表于 2006-5-25 14:38:11 | 显示全部楼层
兄弟,强!
请问你试没试过将自己的应用程序加入到uClinux中,让它跑起来。
小弟不行,请兄弟指教。
回复

使用道具 举报

发表于 2006-5-28 10:30:58 | 显示全部楼层
小弟也遇到了同样的问题,请问你在哪加了一个库,加的什么库,谢谢!
回复

使用道具 举报

发表于 2006-5-30 20:07:08 | 显示全部楼层
我也解决了,这社会还得靠自己!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-23 09:03 , Processed in 0.040842 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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