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

先月 2004年10月 来月
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 による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2004年10月15日(金) 旧暦 [n年日記]

更新: "2004/10/15 22:46:51"

#1 [Web] 一年前の設定

index.shtml/software とかうるさく架空の URL で見にくる robot をよけるための 設定が、うまく動いていないようだが、最初の意図を忘れてしまって..
ttype:makoto@harry  9:48:17/041015(...htdocs/www)> ls -l index*
-rw-r--r--  1 makoto  operator  293 Jun  9  2002 index.html
lrwxrwxrwx  1 makoto  operator   11 Apr 21  2003 index.shtml.en@ -> index.shtml
lrwxrwxrwx  1 makoto  operator   11 Apr 21  2003 index.shtml.ja@ -> index.shtml

index.shtml:
total 8
-rw-r--r--  1 makoto  operator  598 Jun 26  2003 special.shtml
-rw-r--r--  1 makoto  operator  598 Aug 21  2002 special.shtml
ttype:makoto@harry 9:48:19/041015(...htdocs/www)>
293 Jun  9  2002 index.html                      index.shtml へ
 11 Apr 21  2003 index.shtml.en@ -> index.shtml
 11 Apr 21  2003 index.shtml.ja@ -> index.shtml

index.shtml:
total 8
598 Jun 26  2003 special.shtml
598 Aug 21  2002 special.shtml~ 
ttype:makoto@harry  9:48:19/041015(...htdocs/www)> 

DirectoryIndex で逃げてみる:


#2 [iPod] 代替電池が入手出来るらしい

Model No.:A1019 しかし、その中に書いてある●対応機種 に書いてあることと、僕のものに書いて あること(Model No.:A1019)とは、かなり名前の付け方が違う。 米国側 に行くと、型名はなく、写真で Click to see old iPod とあるので問題なさそう。$29 良く見ると日本製だなぁ。FUKUSHIMA ? UP325385 A4H これは Sony FUKUSHIMA と読むらしい。

#3 [NetBSD] X11 for macppc/2.0H

20040925 頃の src で make World したもの:

Fatal server error:
netbsdPciInit: can't open /dev/pci0


Please consult the The X.Org Foundation support 
         at http://wiki.X.Org

2.0H に古い X11R6-2003 を入れた時:

(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
1f, 8e, 0
ppll_div_3 == 0.  skipping.

Fatal server error:
Caught signal 11.  Server aborting

6/13/2003 に書いた:

config/cf/Imake.rules:1593: unterminated argument list invoking macro "Concat"
./config/imake/imake: Exit code 1.
は、次の変更をすれば通過するということが分った。
--- config/cf/Imake.rules-orig  2004-10-15 16:33:38.000000000 +0900
+++ config/cf/Imake.rules       2004-10-15 16:54:26.000000000 +0900
@@ -1584,7 +1584,7 @@
                sed -e 's:^.::' -e 's:[^/.][^/]*:..:'g`; \              @@\
          cd Concat($(DESTDIR),opath); \                                @@\
          if [ -f lfile -a ! -h lfile ]; then \                         @@\
-           cp -p lfile Concat($(DESTDIR),npath/cfile; \                @@\
+           cp -p lfile Concat($(DESTDIR),npath/cfile); \               @@\
          fi; \                                                         @@\
          $(RM) -r lfile; \                                             @@\
          $(LN) Concat($${RELPATH},npath/cfile) lfile; \                @@\
Xaw3d を作るには、更に次のことが必要だった。
ttyp7:makoto@harry  17:12:25/041015(...x11/Xaw3d)>  \
mkdir  work/xc/lib/Xaw3d/lib
これは正しくなさそう。make install で次のようになる
ln: /usr/X11R6//lib/lib/Xaw3d.so.7: No such file or directory
*** Error code 1

#4 [NetBSD] Unsupporte relocation type 10 in non-PLT relocations

次の中に reloc_type が定義してある。
/usr/include/powerpc/reloc.h
enum reloc_type {
        RELOC_NONE,
        RELOC_32,
src/libexec/ld.elf_so/arch/powerpc/ppc_reloc.c
の中に次のような部分がある
177 _rtld_relocate_nonplt_objects(obj)
178         const Obj_Entry *obj;
179 {
180         const Elf_Rela *rela;
181         
182         for (rela = obj->rela; rela < obj->relalim; rela++) {

192                 switch (ELF_R_TYPE(rela->r_info)) {
193                 case R_TYPE(NONE):
194                         break;
195 
196                 case R_TYPE(32):        /* word32 S + A */
197                 case R_TYPE(GLOB_DAT):  /* word32 S + A */
ここで R_TYPE(32)は RELOC_32 と同じ意味。
/usr/include/powerpc/reloc.h の中の、
  RELOC_REL24,    /* RELOC_BRANCH = 10 */
これが怪しい気もする ? でも、objdump -R libgcc_s.so.1.0 すると、 そのような字は出て来ない。
 ttyp3:makoto@st4200  21:29:00/041015(/usr/lib)> \
objdump -R -r libgcc_s.so* | tail -374 | awk '{print $2}' | sort -u 
 
 RELOCATION
 R_PPC_ADDR32
 R_PPC_JMP_SLOT
 R_PPC_REL24
 R_PPC_RELATIVE
 TYPE
 file
 ttyp3:makoto@st4200  21:29:11/041015(/usr/lib)> 
出て来ている。
ttyp3:makoto@st4200 21:29:11/041015(/usr/lib)> objdump -R -r libgcc_s.so* | grep -i REL24
00001678 R_PPC_REL24 abort
ttyp3:makoto@st4200 21:30:17/041015(/usr/lib)>
これはいいのかなぁ。U だけれど。
SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
        -Wl,--soname=$(SHLIB_SONAME) \
        -Wl,--version-script=$(SHLIB_MAP) \
        -o $(SHLIB_NAME) @multilib_flags@ $(SHLIB_OBJS) $(SHLIB_LC) && \
        rm -f $(SHLIB_SOLINK) && \
        $(LN_S) $(SHLIB_NAME) $(SHLIB_SOLINK)
この中の @multlib_flags@ ?



最近の日記
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)