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

  • 04/27() 2100 - 2100 ALL JA
  • 04/28() tokuda net 誕生日
  • 04/28() 自動車保険期限 (OS/Browser 制限有)
  • 04/30(火) NTT 東 払込期日
  • 04/30(火) ○ 固定資産税振替・支払
  • 05/01(水) atactl check
  • 05/01(水) 不燃ごみ
  • 05/03(金) 0900-1500 東京コンテスト
  • 05/14(火) All JA ログ締切
  • 05/15(水) 不燃ごみ
  • 05/18() 木之本会議
  • 05/19() CQ Ham Radio
  • 05/19() 別冊 CQ
  • 05/25() Interface
  • 05/26() 0900 (Sat) WW WPX CW
  • 403 JNUG 総会/BOF 2017/07/08 (土)
  • 402 用途別 Emacs ( C, LaTeX, 日本語 )
  • 380 cvsweb の移行
  • 370 tamago 辞書登録
  • 368 CROSS (cross/i386-mingw32, cross/powerpc-linux ) Framework --- binutils + gcc
  • 363 Wanderlust+HyperEstraier
  • 360 evbppc 用 patch / 玄箱
  • 335 /dev/battery is missing hack | libgcc_s_pic.a is missing | samba の -PIE 問題335 ntpd monitor
  • 325 tcode頁の更新
  • 322 software |hardware
  • 321 emacs-22 | IPv6
  • 320 bulk build (Mac OS X 10.4 and NetBSD/macppc)
  • 310 Wanderlust の Namazu の挙動
  • 290 WordPress 1.2 -> 1.5 migration
  • 220 Wanderlust で日本語題名の wl-summary-print-buffer
  • 215 NetBSD/ofppc
便利なツール
Emacs
らくらく 入門
rakuraku-emacs-cover

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

2014年01月11日() 旧暦 [n年日記] [更新:"2014/08/31 21:22:48"]

#1 [pkgsrc] gnuradio-core-3.7.2.1

CMake Error at CMakeLists.txt:22 (message):
  Prevented in-tree build.  This is bad practice.
[  7%] Building CXX object gnuradio-runtime/lib/CMakeFiles/gnuradio-runtime.dir/thread/thread.cc.o
work/gnuradio-3.7.2.1/gnuradio-runtime/lib/thread

   In function 'void gr::thread::thread_bind_to_processor(__pthread_st*, const std::vector<int>&)':
 thread.cc:220:7: error: 'cpu_set_t' was not declared in this scope
 thread.cc:220:17: error: expected ';' before 'set'
 thread.cc:225:17: error: 'set' was not declared in this scope
 thread.cc:225:20: error: 'CPU_ZERO' was not declared in this scope
 thread.cc:227:27: error: 'CPU_SET' was not declared in this scope

 thread.cc: In function 'void gr::thread::thread_unbind(__pthread_st*)':
 thread.cc:246:7: error: 'cpu_set_t' was not declared in this scope
 thread.cc:246:17: error: expected ';' before 'set'
 thread.cc:249:17: error: 'set' was not declared in this scope
 thread.cc:249:20: error: 'CPU_ZERO' was not declared in this scope
 thread.cc:252:24: error: 'CPU_SET' was not declared in this scope
gnuradio-3.7.2.1/gnuradio-runtime/lib/high_res_timer.cc:4:39: 
error: 'CLOCK_THREAD_CPUTIME_ID' was not declared in this scope
*** Error code 1
modena@makoto 10:18:14/140111(..wip/gnuradio-core)% 
(cd /export/WRKOBJDIR/wip/gnuradio-core/work/gnuradio-3.7.2.1/; \
cat -n gnuradio-runtime/lib/high_res_timer.cc) |sed -n 1,5p
     1  #include <gnuradio/high_res_timer.h>
     2
     3  #ifdef GNURADIO_HRT_USE_CLOCK_GETTIME
     4  clockid_t gr::high_res_timer_source = CLOCK_THREAD_CPUTIME_ID;
     5  #endif
modena@makoto 10:01:49/140111(..wip/gnuradio-core)% 
(cd /export/WRKOBJDIR/wip/gnuradio-core/work/gnuradio-3.7.2.1/; \
cat -n gnuradio-runtime/include/gnuradio/high_res_timer.h) | sed -n 27,40p
    27  ////////////////////////////////////////////////////////////////////////
    28  // Use architecture defines to determine the implementation
    29  ////////////////////////////////////////////////////////////////////////
    30  #if defined(linux) || defined(__linux) || defined(__linux__)
    31      #define GNURADIO_HRT_USE_CLOCK_GETTIME
    32      #include <ctime>
    33  #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
    34      #define GNURADIO_HRT_USE_QUERY_PERFORMANCE_COUNTER
    35  #elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
    36      #define GNURADIO_HRT_USE_MACH_ABSOLUTE_TIME
    37  #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
    38      #define GNURADIO_HRT_USE_CLOCK_GETTIME
    39      #include <ctime>
    40  #else
[ 12%] Building CXX object gnuradio-runtime/lib/CMakeFiles/gr_runtime_test.dir/test_runtime.cc.o
Linking CXX executable gr_runtime_test
libgnuradio-runtime.so.3.7.2.1: undefined reference to `gr::high_res_timer_now_perfmon()'
*** Error code 1

And see man clock_getres(3)


2008年01月11日(金) 旧暦 [n年日記] [更新:"2008/01/14 15:09:13"]

#1 [機械] やってしまった

du -sk Mail/trash
cd Mail/trash  ... (入力したつもりだったが、入力していない)
find . -type f | perl -nle unlink
多分 2 分くらい経ってから「許可がなくて消せない」という字 を見てあわてて中断。 . で始まるものが(かなり)消えた。一応 ちょっと古い backup とか cvs 保管とか あったので、大きな被害はなったが。rm -rf * が一応危険なのと、 数が多いと * は受付けてくれなくて find を使っていた。 多分この 20 年くらいで、この間違いは初めての気がする。
tcsh で、履歴を使って、
cp a b
vi b        変更する
cp a b      上書きで消してしまう
という間違いは何度かやったことがあるが。


2005年01月11日(火) 旧暦 [n年日記] [更新:"2005/01/11 16:01:39"]

#1 [LaTeX][TeX] listinginput

\usepackage{moreverb}
...
...
\listinginput[1]{1}{hoge/constant.s}
とすると、その名前の譜から読んで、行番号付のリストを印刷する。 この行番号の付かないものが欲しかった。特にマクロの中で 呼ぶので verbatim は使えない。 /usr/pkg/share/texmf/tex/latex/misc/moreverb.sty を moreverba.sty という名前で写して、さらにその中で、 \def\listinginput の定義部をそっくり写して 一部の名前に a を付け
\listinginputa[1]{1}{hoge/constant.s}
としたら使えるようになった。番号付のものも同時に使う必要がある という条件での話。
--- moreverb.sty	2005-01-11 13:05:17.000000000 +0900
+++ moreverba.sty	2005-01-11 13:25:36.000000000 +0900
@@ -13,7 +13,7 @@
 %% (at your convenience) any later version.
 %% 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{moreverb}
+\ProvidesPackage{moreverba}
         [1997/12/07 v2.2d.2
     `more' verbatim facilities%
                    ]
@@ -128,6 +128,36 @@
     \@doendpe
   }%
 }
+\def\listinginputa{%
+   \@ifnextchar[%]
+     {\@listinginputa}%
+     {\@listinginputa[1]}}
+\begingroup
+  \catcode`\~=\active \lccode`\~=`\^^M \lccode`\N=`\N
+  \lowercase{\endgroup
+    \def\@listinginputa[#1]#2#3{\begingroup
+      \global\listing@line=#2
+      \gdef\listing@step{#1\relax}
+      \tab@size=\verbatimtabsize
+      \def\verbatim@processline{\tab@position\tab@size
+        %\thelisting@line \global\advance\listing@line1
+        \toks@{}%
+        \expandafter\verbatim@tabexpand\the\verbatim@line\@nil}%
+      \@verbatim\frenchspacing\@vobeyspaces\@vobeytabs
+      \def\verbatim@addtoline##1~{%
+        \verbatim@line\expandafter{\the\verbatim@line##1}}%
+      \openin\verbatim@in@stream=#3
+      \ifeof\verbatim@in@stream
+        \PackageWarning{moreverb}{No file #3.}%
+      \else
+        \do@verbatimtabinput
+        \closein\verbatim@in@stream
+      \fi
+      \endtrivlist\endgroup
+    \@doendpe
+  }%
+}
+
 \def\verbatimcmd{%
   \PackageError{moreverb}{The verbatimcmd environment is obsolete}%
                          {Use alltt (from the LaTeX base package

分類は TeX にするべきか LaTeX にするべきか ?


2004年01月11日() 旧暦 [n年日記]

#5 [日記] 前田さんが独に行くって本当なんだ。


#4 [訃報] Jack Moyer


#3 [URL] blogmap って初耳


#2 [Emacs] Wanderlust, wl-2.10.0, Namazu, NFS

最近やっと気が付いたのだけれど、Wanderlust で
  • [ フォルダNamazu を 利用 していて
  • その 索引(NMZ.*) の指定先としては NFS を使っているとする
    (setq elmo-nmz-default-index-path  '("/e/u/namazu-Mail"))
    (setq elmo-nmz-index-alias-alist
          '(; ("cache"    . "~/.elmo/cache")
            ("main"     . "/e/u/namazu/Mail") ))
    
  • その NFS 先は amd で automount していて、たまたま、まだ mount していないとする。
  • そのような時に [ を使うと、何も見つからない (ことがある)。
  • ところが同じ検索語で namazu -l hoge すると、ある。
  • しかも、そうなると、(僕の知識では) 復活には Emacs の再起動が必要
(なので結構、再現しない)。いまも表示文字を拾おうと思って試したが、 上のようにはならなかった。 という訳で:

:

きょうの .emacs (auto-insert):

(setq  auto-insert-directory "~/mule/insert/" )
(load "autoinsert" t)
(setq auto-insert-alist 
		  (append '(
		   ("\\.html\\.ja" . "jeedosaquin.html"))
		  auto-insert-alist ))
(add-hook 'find-file-hooks 'auto-insert)

expand-file-name:

(expand-file-name "~/mule/insert/" )
とかかなくても良くなったのはいつのことなのだらう ?
C-h n より:
* Lisp Changes in Emacs 20.1

*** expand-file-name no longer treats `//' or `/~' specially. It used to delete all the text of a file name up through the first slash of any `//' or `/~' sequence. Now it passes them straight through.

#1 [NetBSD] QED RM5200 CPU

人の dmesg を見て
cpu0 at mainbus0: QED RM5200 CPU (0x28a0) Rev. 10.0 with built-in FPU Rev. 10.0
どこの製造なのか分らない。

いい質問だなぁ。:

LiveCD への道」とか作ると面白そう。


2003年01月11日() 旧暦 [n年日記]

#2 [XCAST6] WIDE XBone接続実験サービス規約


#1 [NetBSD] macppc build.sh

いつものように、daily から、出来そうな日付を見つけて、 今回は 20030101 なので、その日の source/set を ftpmirror して来る。きのうの夜はどうも ftp がなかなか出来なかった。

src.tgz を開けると変。:

いつもは、例えば
/usr/src -> /export/20030107ts/src (という link を張っておいて)
cd /
tar zxf src.tgz.
のようにするのだけれど、 src.tgz を開けた時(だけ)は、/usr の区画の方に開けてくれてしまう。何故か分らない。 開けた後で、mv で移動する。

share.tgz 開忘れ:

ERROR: src/share/mk is missing; please re-fetch the source tree
*** BUILD ABORTED ***
あとは、 と同じ。
/export/20030107-ts/src/sys/kern/subr_autoconf.c: In function `configure':
/export/20030107-ts/src/sys/kern/subr_autoconf.c:244: `AB_SILENT' undeclared (first use in this function)
/export/20030107-ts/src/sys/kern/subr_autoconf.c:244: (Each undeclared identifier is reported only once
/export/20030107-ts/src/sys/kern/subr_autoconf.c:244: for each function it appears in.)
/export/20030107-ts/src/sys/kern/subr_autoconf.c:244: `AB_VERBOSE' undeclared (first use in this function)
/export/20030107-ts/src/sys/kern/subr_autoconf.c:272: `AB_QUIET' undeclared (first use in this function)
*** Error code 1
subr_autoconf.c の中には #include <sys/reboot.h> とあるのに、この内容を見ていないということは、 例によって 「cc で kernel を作っている」問題の気がする。
--- /usr/include/sys/reboot.h	Mon Nov 11 14:14:39 2002
+++ sys/sys/reboot.h	Wed Jan  1 02:48:04 2003
@@ -1,4 +1,4 @@
-/*	$NetBSD: reboot.h,v 1.18 2000/09/24 12:32:31 jdolecek Exp $	*/
+/*	$NetBSD: reboot.h,v 1.20 2002/12/31 17:48:04 thorpej Exp $	*/
 
 /*
  * Copyright (c) 1982, 1986, 1988, 1993, 1994
@@ -65,6 +65,8 @@
 #define	AB_NORMAL	0x00000	/* boot normally (default) */
 #define	AB_QUIET	0x10000 /* boot quietly */
 #define	AB_VERBOSE	0x20000	/* boot verbosely */
+#define	AB_SILENT	0x40000	/* boot silently */
+#define	AB_DEBUG	0x80000	/* boot with debug messages */
 
 /*
  * Constants for converting boot-style device number to type,
関係ないけれど、今回 /etc/mk.conf が空だった。

「cc で kernel を作っている」問題:

GENERIC/Makefile の中には
CC?=    cc
という行が出来ているが ? が付いているから問題ない ?
Build started at: Sat Jan 11 17:10:35 JST 2003
Build finished at: Sat Jan 11 20:02:28 JST 2003
この次の行が関係していそう
(cd /export/20030107-ts/src/etc && /export/20030107-ts/src/tools/obj/tools.NetBSD-1.6K-powerpc/bin/nbmake INSTALL_DONE=1 release)
cd /export/20030107-ts/src/sys/arch/macppc/compile/GENERIC && /export/20030107-ts/src/tools/obj/tools.NetBSD-1.6K-powerpc/bin/nbmake depend && /export/20030107-ts/src/tools/obj/tools.NetBSD-1.6K-powerpc/bin/nbmake

depending the kern library objects

CC=cc /export/20030107-ts/src/tools/obj/tools.NetBSD-1.6K-powerpc/bin/nbmkdep -a -D_LOCORE -I/export/20030107-ts/src/sys/arch/powerpc/lib/libkern -I../../. -I/export/20030107-ts/src/sys/arch -I/export/20030107-ts/src/sys -nostdinc -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -Dmacppc -nostdinc -isystem /export/20030107-ts/d/usr/include -traditional-cpp /export/20030107-ts/src/sys/arch/powerpc/lib/libkern/bswap16.S /export/20030107-ts/src/sys/arch/powerpc/lib/libkern/bswap32.S /export/20030107-ts/src/sys/arch/powerpc/lib/libkern/bswap64.S


2002年01月11日(金) 旧暦 [n年日記]

#3 [NetBSD] ofwboot.xcf を dd で書く

15 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 a:    204800     67080     4.2BSD      0     0     0   # (Cyl.   70*- 287*)
 b:   1024000    271880       swap                      # (Cyl.  287*- 1371*)
 c:  11733120         0     unused      0     0         # (Cyl.    0 - 12415)
 d:      1480        64        HFS                      # (Cyl.    0*- 1*)
 e:     16384      1544        HFS                      # (Cyl.    1*- 18*)
 f:      1600     17928        HFS                      # (Cyl.   18*- 20*)
 g:   1024000   1295880     4.2BSD      0     0     0   # (Cyl. 1371*- 2454*)
 h:     47552     19528    unknown                      # (Cyl.   20*- 70*)
 i:    327680   2319880     4.2BSD      0     0     0   # (Cyl. 2454*- 2801*)
 j:   9084928   2647560     4.2BSD      0     0     0   # (Cyl. 2801*- 12415*)
 k:       622  11732488    unknown                      # (Cyl. 12415*- 12415*)
 l:   1024000   1295880     4.2BSD      0     0     0   # (Cyl. 1371*- 2454*)
 m:    327680   2319880     4.2BSD      0     0     0   # (Cyl. 2454*- 2801*)
 n:   9084928   2647560     4.2BSD      0     0     0   # (Cyl. 2801*- 12415*)
 o:       622  11732488    unknown                      # (Cyl. 12415*- 12415*)
disklabel: boot block size 0
disklabel: super block size 0
makoto@graphite  10:16:51/020111(...j/hfs)# dd if=800k of=/dev/wd0h

#2 [Namazu] 久し振りに software/search を更新

  • jeedosaquin の filter
  • もっと日本語
を personal/namazu-mef に組込んだおかげで楽しく使えるようになった。

#1 [Namazu] mknmz --verbose の時に色付け ?

@@ 適合:  
@@ 拒絶:  
@@ 除外:  
ansi terminal sequence で色を付ける これって信じられないくらい楽しい(のは僕だけ) (もちろん上の修正は実験だから hardcode しているけれど、それはそのままではまずい のは言うまでもない)


2001年01月11日(木) 旧暦 [n年日記]

#1 [Emacs] pretest 21.0.95 + emcws + xdisp.c

21.1 の pretest 21.0.95 が出ているので、emcws-21.0.95-20010110 と emcws-bugs
X-Ml-Name: emcws-bugs
X-Mail-Count: 517
を当ててから、 configure time make
Updating /amd/komekome/export/making-macppc/emcws-21.0.95/leim/leim-list.el ... done
1018.162u 90.285s 22:44.42 81.2%        0+0k 1495+10051io 4787pf+0w
apel-10.3.tar.gz も入れておく
さふいへば、wl の etc の問題があった気がする。 「新しい emacs を入れるたびに写す必要がある」
ここから新しい 21.0.95 と書きたかったが、
No fonts match `-misc-fixed-medium-r-normal--16-*-iso8859-1'
と言われて立上らなかった。



最近の日記
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)
以上、7 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)