[Suzaku:00389] Re: ntpdateコマンドについて

Tetsuya Ohkawa email@hidden
2005年 8月 18日 (木) 14:43:45 JST


お世話になっております。
大川です。

コンパイルに成功および簡単な動作確認をしましたので、
その方法を報告致します。
お試しください。

[環境]
・Suzaku-V
・uClinux-dist-20040408-suzaku6

[備考]
・lynx (Text-mode WWW browser) がインストールされていないとエラーになり
ます。
・以下のパッチをあててから、通常どおり make して下さい。

--- user/busybox/msh.c.org 2005-07-08 13:26:20.000000000 +0900
+++ user/busybox/msh.c 2005-07-12 12:15:54.000000000 +0900
@@ -300,6 +300,7 @@
static struct var *path; /* search path for commands */
static struct var *shell; /* shell to interpret command files */
static struct var *ifs; /* field separators */
+static struct var *tz; /* timezone */

static int yyparse(void);
static struct var *lookup(char *n);
@@ -450,6 +451,7 @@
*/
static char shellname[] = "/bin/sh";
static char search[] = ":/bin:/usr/bin";
+static char tzone[] = "GMT+9";

static void (*qflag) (int) = SIG_IGN;

@@ -516,6 +518,11 @@
if (path->value == null)
setval(path, search);
export(path);
+
+ tz = lookup("TZ");
+ if (tz->value == null)
+ setval(tz, tzone);
+ export(tz);

ifs = lookup("IFS");
if (ifs->value == null)

--- user/ntp/config.status.org 2003-05-23 09:43:16.000000000 +0900
+++ user/ntp/config.status 2005-08-18 14:17:27.000000000 +0900
@@ -327,13 +327,13 @@
email@hidden@,4.1.1,;t t
email@hidden@,,;t t
email@hidden@,o,;t t
email@hidden@,${SHELL} /home/gerg/new-wave.dist/user/ntp/missing --run
aclocal,;t t
email@hidden@,${SHELL} /home/gerg/new-wave.dist/user/ntp/missing --run
autoconf,;t t
email@hidden@,${SHELL} /home/gerg/new-wave.dist/user/ntp/missing --run
automake,;t t
email@hidden@,${SHELL} /home/gerg/new-wave.dist/user/ntp/missing --run
autoheader,;t t
email@hidden@,${SHELL} /home/gerg/new-wave.dist/user/ntp/missing --run
makeinfo,;t t
email@hidden@,${SHELL} /home/gerg/new-wave.dist/user/ntp/missing --run tar,;t t
email@hidden@,/home/gerg/new-wave.dist/user/ntp/install-sh,;t t
email@hidden@,${SHELL} ./missing --run aclocal,;t t
email@hidden@,${SHELL} ./missing --run autoconf,;t t
email@hidden@,${SHELL} ./missing --run automake,;t t
email@hidden@,${SHELL} ./missing --run autoheader,;t t
email@hidden@,${SHELL} ./missing --run makeinfo,;t t
email@hidden@,${SHELL} ./missing --run tar,;t t
email@hidden@,./install-sh,;t t
email@hidden@,${SHELL} $(install_sh) -c -s,;t t
email@hidden@,mawk,;t t
email@hidden@,,;t t
@@ -341,15 +341,15 @@
email@hidden@,#,;t t
email@hidden@,\,;t t
email@hidden@,.deps,;t t
email@hidden@,gcc,;t t
email@hidden@, -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith
-Wshadow -Wstrict-prototypes -pipe,;t t
email@hidden@,,;t t
email@hidden@,powerpc-linux-gcc,;t t
email@hidden@, -O2 -Dlinux -D__linux__ -Dunix -DEMBED -nostdinc
-I${ROOTDIR}/lib/uClibc/include -I${ROOTDIR}/lib/libcrypt_old
-I${ROOTDIR} -idirafter /usr/lib/gcc-lib/powerpc-linux/3.3.5/include
-I${ROOTDIR}/include -Wall -Wcast-qual -Wmissing-prototypes
-Wpointer-arith -Wshadow -Wstrict-prototypes -pipe,;t t
email@hidden@,-g -nostartfiles ${ROOTDIR}/lib/uClibc/lib/crt0.o
-L/usr/lib/gcc-lib/powerpc-linux/3.3.5/ -L${ROOTDIR}/lib/uClibc/lib
-L${ROOTDIR}/lib/libnet -L${ROOTDIR}/lib/libdes -L${ROOTDIR}/lib/libaes
-L${ROOTDIR}/lib/libpcap -L${ROOTDIR}/lib/libssl
-L${ROOTDIR}/lib/libcrypt_old -L${ROOTDIR}/lib/zlib
-L${ROOTDIR}/lib/libpng -L${ROOTDIR}/lib/libjpeg
-L${ROOTDIR}/prop/libsnapgear++ -L${ROOTDIR}/prop/libsnapgear,;t t
email@hidden@,,;t t
email@hidden@,gcc,;t t
email@hidden@,include,;t t
email@hidden@,,;t t
email@hidden@,depmode=gcc,;t t
email@hidden@,gcc -E,;t t
email@hidden@,${CC} -E,;t t
email@hidden@,ln -s,;t t
email@hidden@,ranlib,;t t
email@hidden@,ranlib,;t t


村上 健次 wrote:

>村上です。お世話になります。
>
>現在の開発環境は debian sargeにて開発を行っています。
>
>  
>
>>At Tue, 16 Aug 2005 19:49:50 +0900,
>>村上 健次 wrote:
>>    
>>
>>>suzakuボードでntpdateコマンドを使用したいのですが、
>>>コンパイル時に以下の様なエラーで止まってしまいます。
>>>コンパイルエラーについて詳しくは調査していないのですが、
>>>suzakuボードでntpdateコマンドを使用されている方がいたら
>>>教えて頂けないでしょうか?
>>>      
>>>
>>環境を教えてもらえますか? debian sidでは問題無く compileできてしまい
>>ました。ちょっと sarge/woodyの環境がすぐに動かないので他の環境で試せな
>>いのですが…。
>>--
>>         yashi
>>_______________________________________________
>>suzaku mailing list
>>email@hidden
>>http://lists.atmark-techno.com/mailman/listinfo/suzaku
>>
>>
>>    
>>
>
>_______________________________________________
>suzaku mailing list
>email@hidden
>http://lists.atmark-techno.com/mailman/listinfo/suzaku
>  
>



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