Ubuntu8.04下如何安装arm-linux编译及调试工具

内核编译和嵌入式产品的设计与开发
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: Ubuntu8.04下如何安装arm-linux编译及调试工具

#16

帖子 wangdu2002 » 2009-03-30 2:11

支持楼主,以后会用得着,顶之! :em11
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
头像
findfunaax
帖子: 49
注册时间: 2007-10-29 11:02
联系:

Re: Ubuntu8.04下如何安装arm-linux编译及调试工具

#17

帖子 findfunaax » 2009-04-06 19:31

我在编译gdbserver时出现3楼的报错,最后发现是arm-linux-gcc版本问题,原来是3.2,后来改成3.4.1就没问题了,看看大家有没有类似的情况
yc200
帖子: 4
注册时间: 2009-05-03 11:34

the problem about arm-linux-insight

#18

帖子 yc200 » 2009-05-03 12:00

After all tools have been setup, when I input "arm-linux-insight", the error below comes out. Do others see it and have the solution?Thanks a lot.

yc200@yc200:~/Desktop/insight-6.8$ arm-linux-insight
Tk_Init failed: Can't find a usable tk.tcl in the following directories:
/usr/local/arm/2.95.3/share/tk8.4 /usr/local/arm/2.95.3/lib/tk8.4 /usr/local/arm/lib/tk8.4 /usr/local/arm/2.95.3/library /usr/local/arm/library /usr/local/arm/tk8.4.1/library /usr/local/tk8.4.1/library

/usr/local/arm/2.95.3/share/tk8.4/tk.tcl: no event type or button # or keysym
no event type or button # or keysym
while executing
"bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
(file "/usr/local/arm/2.95.3/share/tk8.4/listbox.tcl" line 182)
invoked from within
"source /usr/local/arm/2.95.3/share/tk8.4/listbox.tcl"
(in namespace eval "::" script line 1)
invoked from within
"namespace eval :: [list source [file join $::tk_library $file.tcl]]"
(procedure "SourceLibFile" line 2)
invoked from within
"SourceLibFile listbox"
(in namespace eval "::tk" script line 4)
invoked from within
"namespace eval ::tk {
SourceLibFile button
SourceLibFile entry
SourceLibFile listbox
SourceLibFile menu
SourceLibFile panedwindow
SourceLibFile ..."
invoked from within
"if {$::tk_library ne ""} {
if {[string equal $tcl_platform(platform) "macintosh"]} {
proc ::tk::SourceLibFile {file} {
if {[catch {
namesp..."
(file "/usr/local/arm/2.95.3/share/tk8.4/tk.tcl" line 393)
invoked from within
"source /usr/local/arm/2.95.3/share/tk8.4/tk.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $file]"


This probably means that tk wasn't installed properly.
windfoxbaby
帖子: 3
注册时间: 2009-02-19 21:31

Re: Ubuntu8.04下如何安装arm-linux编译及调试工具

#19

帖子 windfoxbaby » 2009-06-03 14:31

wj@wj-laptop:/arm/off/2.95.3/share$ ~/.bashrc
bash: /home/wj/.bashrc: Permission denied
环境变量无法设置 如何解决
econy
帖子: 57
注册时间: 2006-03-25 21:24

Re: Ubuntu8.04下如何安装arm-linux编译及调试工具

#20

帖子 econy » 2009-06-04 3:09

随后研究,谢谢楼主!
hung_chih_ming
帖子: 1
注册时间: 2009-06-13 11:27

Re: Ubuntu8.04下如何安装arm-linux编译及调试工具

#21

帖子 hung_chih_ming » 2009-06-13 11:33

大:
出現下列錯誤,有解方式嗎,請指教,謝謝.
./configure --target=arm-linux --enable-sim --prefix=/usr/local/arm/2.95.3
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
另config.log 錯誤如下:
configure: exit 77,
另 77項代碼如下:
configure:3194: checking for C compiler default output file name
configure:3197: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
以上,謝謝.
miaophy
帖子: 2
注册时间: 2009-06-29 12:59

Re: Ubuntu8.04下如何安装arm-linux编译及调试工具

#22

帖子 miaophy » 2009-06-29 13:05

强大...收藏啦..谢谢..努力中.. :em11
头像
Allen1st
帖子: 404
注册时间: 2008-11-08 9:28

Re: Ubuntu8.04下如何安装arm-linux编译及调试工具

#23

帖子 Allen1st » 2009-11-29 11:30

ye_song 写了:修改Makfile,在145行。如下所示
#WERROR_CFLAGS = -Werror
WERROR_CFLAGS =
可以编译gdb6.8,我已经编译好了
搞定了~thx
凸-_-
头像
Destiny_Hot
帖子: 14
注册时间: 2010-08-09 21:01

Re: Ubuntu8.04下如何安装arm-linux编译及调试工具

#24

帖子 Destiny_Hot » 2011-03-05 10:55

楼主安在?
我也出现了 需要修改PATH_MAX undeclared的错误
但 修改过后 又出现了新错误
tracepoint.c:788: warning: `used' attribute directive ignored
tracepoint.c: In function `trace_buffer_alloc':
能帮忙看看怎么办阿
在深渊中挣扎的命运之火
回复