[Armadillo:08826] Atmark Distにてルートファイルシステムのビルドができない

小野寺明 email@hidden
2013年 5月 16日 (木) 18:04:57 JST


お世話になっております。
小野寺と申します。

今回初めて質問をさせて頂きます。
Armadillo-460をlinuxにて開発しております。
atmark-dist-20130329とlinux-2.6.26-at16を用いてArmadillo実践開発ガイド
第一部のP118のルートファイルシステムのビルドとイメージファイルの作成のmake
を実行したところ、エラーが発生してしまいビルドができない状態に陥っています。

エラーメッセージは

make[2]: ディレクトリ `/home/atmark/atmark-dist-20130329/user/zcip' に入ります
arm-linux-gnueabi-gcc -O2 -I/usr/arm-linux-gnueabi/include
-I/usr/lib/gcc/arm-linux-gnueabi/4.6//include -isystem
/usr/lib/gcc/arm-linux-gnueabi/4.6//include-fixed
-I/usr/arm-linux-gnueabi/include
-I/usr/lib/gcc/arm-linux-gnueabi/4.6//include -isystem
/usr/lib/gcc/arm-linux-gnueabi/4.6//include-fixed -Dlinux -D__linux__
-Dunix -DEMBED -idirafter /home/atmark/atmark-dist-20130329/include -Wall
-fno-common -I/home/atmark/atmark-dist-20130329 -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c -o zcip.o zcip.c
zcip.c: In function ‘ifdown’: zcip.c:227:34: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast] zcip.c: In function
‘ifup’: zcip.c:273:34: warning: cast from pointer to integer of different
size [-Wpointer-to-int-cast] zcip.c: In function
‘build_arp_defense_packet’: zcip.c:423:5: warning: implicit declaration of
function ‘libnet_init_packet’ [-Wimplicit-function-declaration]
zcip.c:433:5: warning: passing argument 6 of ‘libnet_build_ethernet’ from
incompatible pointer type [enabled by default]
/usr/arm-linux-gnueabi/include/./libnet/libnet-functions.h:490:1: note:
expected ‘struct libnet_t *’ but argument is of type ‘uint8_t *’
zcip.c:433:5: error: too few arguments to function ‘libnet_build_ethernet’
/usr/arm-linux-gnueabi/include/./libnet/libnet-functions.h:490:1: note:
declared here zcip.c:449:5: warning: passing argument 12 of
‘libnet_build_arp’ from incompatible pointer type [enabled by default]
/usr/arm-linux-gnueabi/include/./libnet/libnet-functions.h:564:1: note:
expected ‘struct libnet_t *’ but argument is of type ‘uint8_t *’
zcip.c:449:5: error: too few arguments to function ‘libnet_build_arp’
/usr/arm-linux-gnueabi/include/./libnet/libnet-functions.h:564:1: note:
declared here zcip.c: In function ‘handle_collision’: zcip.c:576:5:
warning: implicit declaration of function ‘libnet_write_link_layer’
[-Wimplicit-function-declaration] zcip.c: In function ‘claim_address’:
zcip.c:672:5: warning: passing argument 6 of ‘libnet_build_ethernet’ from
incompatible pointer type [enabled by default]
/usr/arm-linux-gnueabi/include/./libnet/libnet-functions.h:490:1: note:
expected ‘struct libnet_t *’ but argument is of type ‘uint8_t *’
zcip.c:672:5: error: too few arguments to function ‘libnet_build_ethernet’
/usr/arm-linux-gnueabi/include/./libnet/libnet-functions.h:490:1: note:
declared here zcip.c:691:5: warning: passing argument 12 of
‘libnet_build_arp’ from incompatible pointer type [enabled by default]
/usr/arm-linux-gnueabi/include/./libnet/libnet-functions.h:564:1: note:
expected ‘struct libnet_t *’ but argument is of type ‘uint8_t *’
zcip.c:691:5: error: too few arguments to function ‘libnet_build_arp’
/usr/arm-linux-gnueabi/include/./libnet/libnet-functions.h:564:1: note:
declared here zcip.c:741:17: warning: implicit declaration of function
‘libnet_destroy_packet’ [-Wimplicit-function-declaration] zcip.c: In
function ‘probe_for_address’: zcip.c:805:5: warning: passing argument 6 of
‘libnet_build_ethernet’ from incompatible pointer type [enabled by default]
/usr/arm-linux-gnueabi/include/./libnet/libnet-functions.h:490:1: note:
expected ‘struct libnet_t *’ but argument is of type ‘uint8_t *’
zcip.c:805:5: error: too few arguments to function ‘libnet_build_ethernet’
/usr/arm-linux-gnueabi/include/./libnet/libnet-functions.h:490:1: note:
declared here zcip.c:823:5: warning: passing argument 12 of
‘libnet_build_arp’ from incompatible pointer type [enabled by default]
/usr/arm-linux-gnueabi/include/./libnet/libnet-functions.h:564:1: note:
expected ‘struct libnet_t *’ but argument is of type ‘uint8_t *’
zcip.c:823:5: error: too few arguments to function ‘libnet_build_arp’
/usr/arm-linux-gnueabi/include/./libnet/libnet-functions.h:564:1: note:
declared here zcip.c: In function ‘main’: zcip.c:1337:5: warning: implicit
declaration of function ‘libnet_open_link_interface’
[-Wimplicit-function-declaration] zcip.c:1337:20: warning: assignment makes
pointer from integer without a cast [enabled by default] zcip.c:1343:5:
warning: passing argument 1 of ‘libnet_get_hwaddr’ from incompatible
pointer type [enabled by default]
/usr/arm-linux-gnueabi/include/./libnet/libnet-functions.h:1801:1: note:
expected ‘struct libnet_t *’ but argument is of type ‘struct
libnet_link_int *’ zcip.c:1343:5: error: too many arguments to function
‘libnet_get_hwaddr’
/usr/arm-linux-gnueabi/include/./libnet/libnet-functions.h:1801:1: note:
declared here zcip.c:1343:22: warning: assignment from incompatible pointer
type [enabled by default] make[2]: *** [zcip.o] エラー 1 make[2]: ディレクトリ
`/home/atmark/atmark-dist-20130329/user/zcip' から出ます make[1]: *** [all] エラー
2 make[1]: ディレクトリ `/home/atmark/atmark-dist-20130329/user' から出ます make: ***
[subdirs] エラー 1

となっております。

zcip.cでコンパイルエラーが発生しているのでないかと考え
http://armadillo.atmark-techno.com/faq/zcip-build-failed
こちらを参考に付属CDのarmelパッケージをインストールしてみましたが
libnet0-dev-armel-cross_1.0.2a-7_allが競合のためインストールできず、
その状態でmakeし直してもエラー内容は変化ありませんでした。

以上、よろしくお願いいたします。

小野寺
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://lists.atmark-techno.com/pipermail/armadillo/attachments/20130516/685d6612/attachment.html>


armadillo メーリングリストの案内