[Armadillo:03532] Re: emdebianによるeabiビルド[再送]
橋本 佳己
email@hidden
2008年 10月 9日 (木) 17:51:03 JST
To: yashi 様
SFTの橋本です。
いつもお世話になっております。
メールを送信した後に、
> > /usr/arm-linux-gnueabi/include/limits.h:125:26: error: limits.h: No
"limits.h"の"# include_next <limits.h>"をコメントアウトにしたらエラーは
発生しなくなりました。
この対処で問題ないでしょうか?
この部分のエラーは対処できましたが
他の部分でエラーが発生しました。
エラー内容を貼り付けます。
makeの対象から外しても問題ないのでしょうか?(make menuconfigで設定)
【エラー内容】
arm-linux-gnueabi-gcc -O2 -I/usr/arm-linux-gnueabi/include -I/usr/lib/gcc/arm-linux-gnueabi/4.3.1//include -Dlinux -D__linux__
-Dunix -DEMBED -Wall -fno-common -I/home/bagside/Desktop/kernel/atmark-dist-20080617 -Wall -Werror -I../mtd-utils/include
-DUSING_MTD_DEVICE=1 -DHAS_RTC -DFLATFSD_VERSION='"3.0.1mtd"' -c -o flatfs3.o flatfs3.c
flatfs3.c:29:18: error: zlib.h: No such file or directory
flatfs3.c:52: error: expected specifier-qualifier-list before ‘z_stream’
flatfs3.c: In function ‘flatz_read_init’:
flatfs3.c:76: error: ‘struct flatzfs_s’ has no member named ‘read_initialised’
cc1: warnings being treated as errors
flatfs3.c:77: error: implicit declaration of function ‘inflateInit’
flatfs3.c:77: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:79: error: ‘Z_OK’ undeclared (first use in this function)
flatfs3.c:79: error: (Each undeclared identifier is reported only once
flatfs3.c:79: error: for each function it appears in.)
flatfs3.c:84: error: ‘struct flatzfs_s’ has no member named ‘read_initialised’
flatfs3.c: In function ‘flatz_open’:
flatfs3.c:99: error: implicit declaration of function ‘deflateInit’
flatfs3.c:99: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:99: error: ‘Z_DEFAULT_COMPRESSION’ undeclared (first use in this function)
flatfs3.c:103: error: ‘struct flatzfs_s’ has no member named ‘write’
flatfs3.c:104: error: ‘struct flatzfs_s’ has no member named ‘output_size’
flatfs3.c:105: error: ‘struct flatzfs_s’ has no member named ‘output’
flatfs3.c:105: error: ‘struct flatzfs_s’ has no member named ‘output_size’
flatfs3.c:107: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:107: error: ‘struct flatzfs_s’ has no member named ‘output’
flatfs3.c:108: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:108: error: ‘struct flatzfs_s’ has no member named ‘output_size’
flatfs3.c:111: error: ‘struct flatzfs_s’ has no member named ‘write’
flatfs3.c:112: error: ‘struct flatzfs_s’ has no member named ‘input_size’
flatfs3.c:113: error: ‘struct flatzfs_s’ has no member named ‘input’
flatfs3.c:113: error: ‘struct flatzfs_s’ has no member named ‘input_size’
flatfs3.c: In function ‘flatz_close’:
flatfs3.c:123: error: ‘struct flatzfs_s’ has no member named ‘read_initialised’
flatfs3.c:124: error: implicit declaration of function ‘inflateEnd’
flatfs3.c:124: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:125: error: ‘struct flatzfs_s’ has no member named ‘read_initialised’
flatfs3.c:126: error: ‘struct flatzfs_s’ has no member named ‘write’
flatfs3.c:127: error: implicit declaration of function ‘deflateEnd’
flatfs3.c:127: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:128: error: ‘struct flatzfs_s’ has no member named ‘write’
flatfs3.c:129: error: ‘struct flatzfs_s’ has no member named ‘output’
flatfs3.c:130: error: ‘struct flatzfs_s’ has no member named ‘output’
flatfs3.c:131: error: ‘struct flatzfs_s’ has no member named ‘output’
flatfs3.c:132: error: ‘struct flatzfs_s’ has no member named ‘input’
flatfs3.c:133: error: ‘struct flatzfs_s’ has no member named ‘input’
flatfs3.c:134: error: ‘struct flatzfs_s’ has no member named ‘input’
flatfs3.c: In function ‘flatz_finalise’:
flatfs3.c:146: error: implicit declaration of function ‘deflate’
flatfs3.c:146: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:146: error: ‘Z_FINISH’ undeclared (first use in this function)
flatfs3.c:148: error: ‘Z_OK’ undeclared (first use in this function)
flatfs3.c:148: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:150: error: ‘struct flatzfs_s’ has no member named ‘output’
flatfs3.c:150: error: ‘struct flatzfs_s’ has no member named ‘output_size’
flatfs3.c:150: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:154: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:155: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:155: error: ‘struct flatzfs_s’ has no member named ‘output_size’
flatfs3.c:156: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:156: error: ‘struct flatzfs_s’ has no member named ‘output’
flatfs3.c:159: error: ‘Z_STREAM_END’ undeclared (first use in this function)
flatfs3.c:164: error: ‘struct flatzfs_s’ has no member named ‘output’
flatfs3.c:164: error: ‘struct flatzfs_s’ has no member named ‘output_size’
flatfs3.c:164: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c: In function ‘flatz_write’:
flatfs3.c:183: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:184: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:187: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:187: error: ‘Z_NO_FLUSH’ undeclared (first use in this function)
flatfs3.c:189: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:191: error: ‘struct flatzfs_s’ has no member named ‘output’
flatfs3.c:191: error: ‘struct flatzfs_s’ has no member named ‘output_size’
flatfs3.c:191: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:194: error: ‘struct flatzfs_s’ has no member named ‘output_size’
flatfs3.c:194: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:195: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:195: error: ‘struct flatzfs_s’ has no member named ‘output’
flatfs3.c:196: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:196: error: ‘struct flatzfs_s’ has no member named ‘output_size’
flatfs3.c: In function ‘flatz_read’:
flatfs3.c:214: error: ‘Z_NO_FLUSH’ undeclared (first use in this function)
flatfs3.c:219: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:220: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:225: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:227: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:227: error: ‘struct flatzfs_s’ has no member named ‘input’
flatfs3.c:228: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:230: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:231: error: ‘struct flatzfs_s’ has no member named ‘input_size’
flatfs3.c:233: error: ‘struct flatzfs_s’ has no member named ‘input_size’
flatfs3.c:234: error: ‘Z_FINISH’ undeclared (first use in this function)
flatfs3.c:236: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:242: error: implicit declaration of function ‘inflate’
flatfs3.c:242: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:244: error: ‘Z_BUF_ERROR’ undeclared (first use in this function)
flatfs3.c:244: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:249: error: ‘Z_STREAM_END’ undeclared (first use in this function)
flatfs3.c:250: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c:252: error: ‘struct flatzfs_s’ has no member named ‘strm’
flatfs3.c: In function ‘flat3_savefsoffset’:
flatfs3.c:910: error: ‘struct flatzfs_s’ has no member named ‘strm’
make[2]: *** [flatfs3.o] Error 1
make[2]: Leaving directory `/home/bagside/Desktop/kernel/atmark-dist-20080617/user/flatfsd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/bagside/Desktop/kernel/atmark-dist-20080617/user'
make: *** [subdirs] Error 1
以上、宜しくお願いいたします。
/------------------------------------------------------/
株式会社エス・エフ・ティー 秋田開発センター
橋本 佳己
Mail: email@hidden
Tel: 018-825-5530 Fax: 018-825-5531
〒010-0001
秋田県秋田市中通2丁目2番32号 住友生命秋田ビル7階
/------------------------------------------------------/
> -----Original Message-----
> From: email@hidden
> [mailto:email@hidden] On Behalf
> Of Yasushi SHOJI
> Sent: Thursday, October 09, 2008 4:40 PM
> To: Armadillo series general discussion list
> Subject: [Armadillo:03530] Re: emdebianによるeabiビルド[再送]
>
> At Thu, 9 Oct 2008 16:20:17 +0900,
> 橋本 佳己 wrote:
> >
> > In file included from
> /usr/arm-linux-gnueabi/include/bits/socket.h:32,
> > from
> /usr/arm-linux-gnueabi/include/sys/socket.h:36,
> > from net.c:34:
> > /usr/arm-linux-gnueabi/include/limits.h:125:26: error: limits.h: No
> > such file or directory
> > make[2]: *** [libnet.a(openraw.o)] Error 1
> > make[2]: Leaving directory
> `/home/bagside/Desktop/kernel/atmark-dist-20080617/lib/libnet'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory
> `/home/bagside/Desktop/kernel/atmark-dist-20080617/lib'
> > make: *** [subdirs] Error 1
>
> http://lists.atmark-techno.com/pipermail/armadillo/2008-Octobe
> r/003505.html
>
> libnet自体をMakefileから外しても良い(はず)
> --
> yashi
> _______________________________________________
> armadillo mailing list
> email@hidden
> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo
>
armadillo メーリングリストの案内