hns - 日記自動生成システム - Version 2.19.9

先月 2002年07月 来月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2002年07月30日(火) 旧暦 [n年日記]

#1 [xcast6] Dos

済みませーん。起動したままでした。本当にごめんなさい。
ttyp0:makoto@graphite  7:32:04/020730(~)> ps ax |grep rat
17004 p0 S+    0:00.01 grep rat 
 5160 p3 IW+   0:00.00 sh vic-rat 
 5162 p3 RN+  28:18.99 rat-4.2.20 -t 128 localhost 
 5163 p3 RN+  51:01.72 rat-4.2.20-ui -ctrl (media:audio module:control app:rat id:5162) -token rat-token-5f4c985f 
 5164 p3 RN+  65:08.67 rat-4.2.20-media -ctrl (media:audio module:control app:rat id:5162) -token rat-token-2bdda45d 
ttyp0:makoto@graphite  7:32:11/020730(~)> uptime
 7:32AM  up 9 days, 17:06, 6 users, load averages: 0.12, 0.11, 0.08
この機械は、最近 Network 位置を変えたのに、IPv6 の方の設定はそのままだったから、 更におかしいことになっているかも知れない。 つまり xcast6 や IPv4 の一部の port だけは外部と通信出来たのに、 IPv6 や、殆んどの IPv4 は外部とは通信出来ない状態だった。
でも ip6mode="autohost" になっていたし、 rtsol も起動していたので、 そうでもなく、IPv6 の通信は出来ていたはず.. でも rat の使っていた IPv6 address は autohost のものとは違っていて、以前の ものだったので、やはり変になっていたことは変りないような気がする。
こういうことを防ぐには network の監視をする必要があるのかな..

#2 [EDA] scrc-1.2

ansi.h が sys/cdefs.h をインクルードしていないので __GNUC_PREREQ__ が未定義になる
との助言あり。
ttyp4:makoto@ibook  8:12:33/020730(/usr/include)> find . -name ansi.h -ls
  59550      6 -r--r--r--    1 root     wheel         2525 Apr  8 05:08 ./sys/ansi.h
 113104      2 -r--r--r--    1 root     wheel           88 Apr  8 05:07 ./macppc/ansi.h
  95257     10 -r--r--r--    1 root     wheel         4210 Apr  8 05:07 ./powerpc/ansi.h
checking for stdarg.h... no
と出ているところでは、
#include "confdefs.h" #include <stdarg.h>
だけを書いた *.c を compile している。stdarg.h は、
ttyp3:makoto@ibook  8:46:50/020730(/usr/include)> find . -name stdarg.h -ls
 113150      2 -r--r--r--    1 root     wheel           92 Apr  8 05:07 ./macppc/stdarg.h
  95380     12 -rw-r--r--    1 portable wheel         5175 Dec 12  2001 ./powerpc/stdarg.h
   8031      0 lrwxr-xr-x    1 root     wheel           16 Apr  8 05:07 ./stdarg.h -> machine/stdarg.h
にあって、その中では include は次の二つだけだから、
ttyp3:makoto@ibook  8:47:29/020730(/usr/include)> grep include ./powerpc/stdarg.h
#include <machine/ansi.h>
#include <sys/featuretest.h>
ttyp3:makoto@ibook  8:47:33/020730(/usr/include)> 
上の助言の通りだと思うのだけれど..
--- powerpc/ansi.h-1.11	Mon Apr  8 05:07:23 2002
+++ powerpc/ansi.h	Tue Jul 30 08:50:57 2002
@@ -38,6 +38,7 @@
 #ifndef	_ANSI_H_
 #define	_ANSI_H_
 
+#include <sys/cdefs.h>
 #include <machine/int_types.h>
 
 /*

としたら、確かに問題が解決した。(いいのかなぁ。このような変更をして。)

一応出来た。:

   173  9:12    setenv LD_LIBRARY_PATH /usr/pkg/lib
        ...
   176  9:12    make clean
   177  9:12    time make
        ...
588.485u 17.097s 10:16.93 98.1% 0+0k 17+1167io 73pf+0w
ttyp5:makoto@ibook  9:22:43/020730(...local-src/scrc-1.2)> 

make install:

ttyp5:makoto@ibook  9:29:18/020730(...local-src/scrc-1.2)> make install
rm -f -r /home/specc/scrc/public
mkdir -p /home/specc/scrc/public/bin
mkdir: /home/specc: File exists
*** Error code 1

Stop.
make: stopped in /export/local-src/scrc-1.2
これは
Makefile.macros:SPECC_INSTALL = /home/specc/scrc/public
に書いてあるところに入れようとしている
SPECC_INSTALL = /export/specc/scrc/public
と変更して見る。 INSTALL.BIN の最後の方を見て
ttyp5:makoto@ibook  9:35:35/020730(...examples/simple)> source /export/specc/scrc/public/bin/setup.csh
ttyp5:makoto@ibook  9:35:39/020730(...examples/simple)> make
scrc Adder -sc2out -vv -w -g
scrc: SpecC Reference Compiler V 1.2
(c) 1997-2002 CECS, University of California, Irvine

Preprocessing...
   Input:  "Adder.sc"
   Output: "Adder.si"
Parsing...
   Input:  "Adder.si"
   Output: <internal representation>

ERROR #3105: Semantic error in line 128
             in file "/usr/include/stdlib.h":
             Declaration of symbol '__restrict'
             does not match former declaration:
             type mismatch (#2039).

Aborted.
*** Error code 10

Stop.
make: stopped in /export/specc/scrc/public/examples/simple
ttyp5:makoto@ibook  9:35:40/020730(...examples/simple)> 
/usr/include/stdlib.h
128 double   strtod __P((const char * __restrict, char ** __restrict));
別の機械だと、もう少し先に行くのだけれど.. (egcs-1.1.2 等)
Preprocessing...
   Input:  "Adder.sc"
   Output: "Adder.si"
Parsing...
   Input:  "Adder.si"
   Output: <internal representation>
Translating...
   Input:  <internal representation>
   Output: "Adder.h"
   Output: "Adder.cc"
Compiling...
   Input:  "Adder.cc"
   Output: "Adder.o"
In file included from /usr/include/string.h:49,
                 from /export/local-src/src/scrc-1.2/inc/sys/bit.h:19,
                 from /export/local-src/src/scrc-1.2/inc/bit.h:14,
                 from Adder.h:10,
                 from Adder.cc:8:
/usr/include/sys/cdefs.h:100: warning: `__inline' redefined
*Initialization*:1: warning: this is the location of the previous definition
In file included from Adder.cc:8:
/usr/include/powerpc/ansi.h:65: conflicting types for `typedef struct __va_list __va_list'
/usr/include/powerpc/ansi.h:65: previous declaration as `typedef struct __va_list __va_list'
/usr/include/powerpc/ansi.h:96: conflicting types for `typedef union __mbstate_t __mbstate_t'
/usr/include/powerpc/ansi.h:96: previous declaration as `typedef union __mbstate_t __mbstate_t'
/usr/include/powerpc/int_types.h:43: conflicting types for `typedef char __int8_t'
/usr/include/powerpc/int_types.h:43: previous declaration as `typedef signed char __int8_t'

ERROR #3003: Compiling failed (subshell returned error code 256).

Aborted.
*** Error code 10

#3 [無題] 横浜方面

12:17 本千葉
12:26 千葉
13:57 新横浜
14:10 StarBucks
15:00 打合開始
...
18:10 打合終了
18:20 第二打合 D'tour
19:00 第二打合終了
..
19:32 横浜
20:45 千葉
長い打合せだった。珈琲を結局三杯も飲んでしまう。寝られるかな。 2,260 円の横浜フリーきっぷでは新横浜まで行けなかった。(要 +160)

#4 [機械] 時刻合せ

hostname#show clock
*21:24:59.019 JST Sun Mar 14 1993
hostname#clock set 22:23:00 30 Aug 2002
hostname#show clock
22:41:21.203 JST Fri Aug 30 2002
おーい、動いているかぁ。



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)