[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FDclone-users:00220] build error on FreeBSD 5.x
- Subject: [FDclone-users:00220] build error on FreeBSD 5.x
- From: "Akinori MUSHA" <knu@iDaemons.org>
- Date: Sat, 28 Jun 2003 19:13:26 +0900
2.04 を早速 FreeBSD 5-CURRENT でビルドしてみたところ、以下の
ようなエラーで止まりました。
/usr/local/bin/gcc -DFD=2 -DFREEBSD=1 -O -pipe -march=athlon-xp -c -o system.o -DDEFRUNCOM='"'/usr/local/etc/fd2rc'"' system.c
In file included from system.c:12:
kctype.h:20: syntax error before "kctypetable"
kctype.h:20: warning: data definition has no type or storage class
*** Error code 1
要は u_char が定義されていないということです。2.03b との差分を
見る限りでは、 system.c にも
#ifndef __SYS_TYPES_STAT_H_
#define __SYS_TYPES_STAT_H_
#include <sys/types.h>
#include <sys/stat.h>
#endif
を追加すればよさそうな気がしますが、どうでしょう。
--
/
/__ __ Akinori.org / MUSHA.org
/ ) ) ) ) / FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp
"It seems to me as we make our own few circles 'round the sun
We get it backwards and our seven years go by like one"