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

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

2003年07月13日() 旧暦 [n年日記]

#1 [MacOSX] MacOSX/NFS client -noresvport (/etc/exports)

Permission denied --- NFS server 側の設定を変えて見る

kakasi-2.3.4:

gcc -dynamiclib -undefined suppress -o .libs/libkakasi.2.1.0.dylib libdict.lo libkakasi.lo libkanjiio.lo liba2.lo libg2.lo libj2.lo libk2.lo libee2.lo libhh2.lo libjj2.lo libkk2.lo libitaiji.lo lib78_83.lo -lc -install_name /usr/local/lib/libkakasi.2.dylib
ld: -undefined error must be used when -twolevel_namespace is in effect
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libkakasi.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
[quick:~/local-src/kakasi-2.3.4] makoto%

allow_undefined_flag="-undefined suppress":

--- libtool.original    Sat Jul 12 07:06:40 2003
+++ libtool     Sat Jul 12 07:09:23 2003
@@ -197,7 +197,7 @@
 file_magic_cmd="/usr/bin/file -L"
 
 # Flag that allows shared libraries with undefined symbols to be built.
-allow_undefined_flag="-undefined suppress"
+allow_undefined_flag=""
 
 # Flag that forces no undefined symbols.
 no_undefined_flag=""

libtool-1.4.1:

/usr/bin/libtool があると、 libtool --version に都合良く答えてくれない。
echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin
..
 set path=(/usr/local/bin $path)

gettext-0.10.40:

env CPPFLAGS="-no-cpp-precomp" ./configure --with-included-gettext
sudo make install

`AM_GNU_GETTEXT' not found:

aclocal: configure.in: 89: macro `AM_GNU_GETTEXT' not found in library
変更前
[quick:/usr/share/aclocal] makoto% ls -lg
total 256
-rw-r--r--  1 root  wheel  117724 Jul 14  2002 libtool.m4
-rw-r--r--  1 root  wheel   10311 Jul 14  2002 ltdl.m4
cd /usr/share/aclocal
sudo ln -s /usr/local/share/aclocal/* .

make:

gcc -g -O2 -Wall -pedantic -o .libs/namazu form.o namazu.o output.o rcfile.o result.o usage.o namazu-cmd.o -L/usr/local/lib -lintl -L../nmz/.libs -lnmz ../lib/libnmzut.a -lm
ld: multiple definitions of symbol _getopt
/usr/lib/libm.dylib(getopt.So) definition of _getopt
../lib/libnmzut.a(getopt.o) definition of _getopt in section (__TEXT,__text)
ld: multiple definitions of symbol _opterr
/usr/lib/libm.dylib(getopt.So) definition of _opterr
../lib/libnmzut.a(getopt.o) definition of _opterr in section (__DATA,__data)
ld: multiple definitions of symbol _optind
/usr/lib/libm.dylib(getopt.So) definition of _optind
../lib/libnmzut.a(getopt.o) definition of _optind in section (__DATA,__data)
ld: multiple definitions of symbol _optopt
/usr/lib/libm.dylib(getopt.So) definition of _optopt
../lib/libnmzut.a(getopt.o) definition of _optopt in section (__DATA,__data)
make[2]: *** [namazu] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[quick:namazu-dev/stable-2-0/namazu] makoto%

_getopt _opterr _optind _optopt:

gcc -v hoge.c:

CITE
[quick:namazu-dev/stable-2-0/namazu] makoto% gcc -v test.c
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1151, based on gcc version 3.1 20020420 (prerelease)
/usr/libexec/gcc/darwin/ppc/cpp-precomp -smart -arch ppc -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=0 -D__APPLE_CC__=1151 -D__ppc__ -D__POWERPC__ -D__NATURAL_ALIGNMENT__ -D__MACH__ -D__BIG_ENDIAN__ -D__APPLE__ -D__ppc__ -D__POWERPC__ -D__NATURAL_ALIGNMENT__ -D__MACH__ -D__BIG_ENDIAN__ -D__APPLE__ -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D__DYNAMIC__ test.c -isystem /usr/include/gcc/darwin/3.1 -ispecs=/usr/libexec/gcc/darwin/ppc/3.1/specs -D__SIZE_TYPE__=long unsigned int -D__PTRDIFF_TYPE__=int -D__WCHAR_TYPE__=int -D__WINT_TYPE__=unsigned int /var/tmp//ccKQK1ng.i
Apple cpp-precomp 6.14 (devkit-213/devkit_tools-214)
Reading predefined macros from '/usr/libexec/gcc/darwin/ppc/3.1/specs'
test.c:4: illegal external declaration, missing `;' after `normal'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
/usr/libexec/gcc/darwin/ppc/3.1/cc1 -cpp-precomp /var/tmp//ccKQK1ng.i -fPIC -quiet -dumpbase test.c -version -o /var/tmp//ccUPFpJo.s
GNU CPP version 3.1 20020420 (prerelease) (cpplib) (Darwin/PowerPC)
GNU C version 3.1 20020420 (prerelease) (ppc-darwin)
compiled by GNU C version 3.1 20020420 (prerelease).
test.c:6: parse error at end of input
[quick:namazu-dev/stable-2-0/namazu] makoto%
make check
FAIL: namazu-1
FAIL: namazu-2
FAIL: namazu-3
FAIL: namazu-4
FAIL: namazu-5
FAIL: namazu-6
FAIL: namazu-7
FAIL: namazu-8
FAIL: namazu-9
-c を拾っていなかったため。namazu-cmd.c の中を一点修正。

#2 [Namazu] わかち書きに MeCab




最近の日記
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
2024年03月10日
停電 (瞬電)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)