[Armadillo:05377] Armadillo-440でgdbserver
安藤 政敬
email@hidden
2010年 6月 29日 (火) 16:29:06 JST
安藤と申します。
Armadillo-440使用しています。
atde3の環境でmake menuconfigでgdbserverのみ追加修正して
makeを実行しましたが、下記のエラーが発生します。
ヘッダーファイルなどの情報が不足しているように思われますが、何処を修正す
ればよいのでしょうか。
よろしくお願いします。
make[2]: ディレクトリ `/home/atmark/atmark-dist-20100426/user/gdbserver'
に入ります
arm-linux-gnueabi-gcc -c -O2 -I/usr/arm-linux-gnueabi/include
-I/usr/lib/gcc/arm-linux-gnueabi/4.3.2//include -isystem
/usr/lib/gcc/arm-linux-gnueabi/4.3.2//include-fixed
-I/usr/arm-linux-gnueabi/include
-I/usr/lib/gcc/arm-linux-gnueabi/4.3.2//include -isystem
/usr/lib/gcc/arm-linux-gnueabi/4.3.2//include-fixed -Dlinux -D__linux__
-Dunix -DEMBED -idirafter /home/atmark/atmark-dist-20100426/include
-Wall -fno-common -I/home/atmark/atmark-dist-20100426 -Ibfd -I./bfd
-Igdb -Iinclude -Iconfig -I. low-linux.c
In file included from
/home/atmark/atmark-dist-20100426/include/asm/arch/hardware.h:94,
from /home/atmark/atmark-dist-20100426/include/asm/hardware.h:16,
from /home/atmark/atmark-dist-20100426/include/asm/arch/memory.h:14,
from /home/atmark/atmark-dist-20100426/include/asm/memory.h:27,
from /home/atmark/atmark-dist-20100426/include/asm/page.h:186,
from /home/atmark/atmark-dist-20100426/include/asm/user.h:4,
from /home/atmark/atmark-dist-20100426/include/linux/user.h:1,
from low-linux.c:28:
/home/atmark/atmark-dist-20100426/include/asm/arch/mxc.h:28: error:
expected specifier-qualifier-list before ‘u32’
/home/atmark/atmark-dist-20100426/include/asm/arch/mxc.h:77: error:
expected specifier-qualifier-list before ‘u32’
/home/atmark/atmark-dist-20100426/include/asm/arch/mxc.h:84: error:
expected ‘)’ before ‘num’
/home/atmark/atmark-dist-20100426/include/asm/arch/mxc.h:85: error:
expected ‘)’ before ‘num’
/home/atmark/atmark-dist-20100426/include/asm/arch/mxc.h:185: error:
expected specifier-qualifier-list before ‘u32’
/home/atmark/atmark-dist-20100426/include/asm/arch/mxc.h:193: error:
expected specifier-qualifier-list before ‘u32’
In file included from
/home/atmark/atmark-dist-20100426/include/asm/page.h:186,
from /home/atmark/atmark-dist-20100426/include/asm/user.h:4,
from /home/atmark/atmark-dist-20100426/include/linux/user.h:1,
from low-linux.c:28:
/home/atmark/atmark-dist-20100426/include/asm/memory.h:191: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘unsigned’
/home/atmark/atmark-dist-20100426/include/asm/memory.h:196: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
low-linux.c:57:21: error: sys/reg.h: そのようなファイルやディレクトリは
ありません
low-linux.c: In function ‘attach_inferior’:
low-linux.c:72: warning: implicit declaration of function ‘ptrace’
low-linux.c: In function ‘show_area’:
low-linux.c:524: warning: format ‘%p’ expects type ‘void *’, but
argument 3 has type ‘unsigned int’
low-linux.c:524: warning: format ‘%p’ expects type ‘void *’, but
argument 4 has type ‘unsigned int’
low-linux.c:524: warning: format ‘%p’ expects type ‘void *’, but
argument 5 has type ‘unsigned int’
make[2]: *** [low-linux.o] エラー 1
make[2]: ディレクトリ `/home/atmark/atmark-dist-20100426/user/gdbserver'
から出ます
make[1]: *** [all] エラー 2
make[1]: ディレクトリ `/home/atmark/atmark-dist-20100426/user' から出ます
make: *** [subdirs] エラー 1
email@hidden:~/atmark-dist$
armadillo メーリングリストの案内