|
|
便利なツール Emacs らくらく 入門 ![]() |
|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
|||||||||||||||||||||||||||||||||||||||||||||||||||
2014年01月11日(土) 旧暦 [n年日記] [更新:"2014/08/31 21:22:48"]#1 [pkgsrc] gnuradio-core-3.7.2.1CMake 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}とすると、その名前の譜から読んで、行番号付のリストを印刷する。 この行番号の付かないものが欲しかった。特にマクロの中で 呼ぶので 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 で
@ :@ きょうの .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 ( つっこみ )
#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 を張っておいて)のようにするのだけれど、 src.tgz を開けた時(だけ)は、/usr の区画の方に開けてくれてしまう。何故か分らない。 開けた後で、mv で移動する。 @ share.tgz 開忘れ:ERROR: src/share/mk is missing; please re-fetch the source treeあとは、 と同じ。 /export/20030107-ts/src/sys/kern/subr_autoconf.c: In function `configure':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 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 ( つっこみ )
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 を更新
( つっこみ )
#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+0wapel-10.3.tar.gz も入れておく さふいへば、wl の etc の問題があった気がする。 「新しい emacs を入れるたびに写す必要がある」 ここから新しい 21.0.95 と書きたかったが、 No fonts match `-misc-fixed-medium-r-normal--16-*-iso8859-1'と言われて立上らなかった。 ( つっこみ )
|
最近の日記 2025年02月13日 ・dvipdfmx ICC profile format spec. version 4.3.0 2025年01月29日 ・ham/wsjtx 2025年01月27日 ・wip/wsjtx 5.4.2 2025年01月25日 ・ham/wsjtx 2025年01月15日 ・今更 advent calendar | ||