初心者もOK! FreeBSD質問スレッド その41
■ このスレッドは過去ログ倉庫に格納されています
0058名無しさん@お腹いっぱい。
NGNGgmake と libtool と lua は ports-current の最新のものをインストールしています。
gcc は gcc version 2.95.4 20020320 [FreeBSD] です。
http://www.freebsd.org/cgi/query-pr.cgi?pr=62486 を見て rules.mk と system.mk は修正したけど
gcc ion.o -o ion -Wl,--export-dynamic ../ioncore/ioncore.a ../luaextl/luaextl.a -L/tmp/ion-2-20040207/libtu
-ltu -lm -L/usr/X11R6/lib -lX11 -lXext -lXinerama -L/usr/local/lib
-llua -llualib /usr/local/lib/libltdl.so -Wl,--rpath -Wl,/usr/local/lib
-Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/lib/ion
この過程で以下のエラーでとまってしまいます。
../ioncore/ioncore.a(strings.o): In function `str_stripws':
strings.o(.text+0xa7): undefined reference to `mbrtowc'
strings.o(.text+0xcf): undefined reference to `iswspace'
strings.o(.text+0x177): undefined reference to `mbrtowc'
strings.o(.text+0x19f): undefined reference to `iswspace'
../ioncore/ioncore.a(strings.o): In function `str_prevoff':
strings.o(.text+0x2dd): undefined reference to `mbrlen'
../ioncore/ioncore.a(strings.o): In function `str_nextoff':
strings.o(.text+0x41a): undefined reference to `mbrlen'
../ioncore/ioncore.a(strings.o): In function `shorten':
strings.o(.text+0x680): undefined reference to `mbrtowc'
../ioncore/ioncore.a(key.o): In function `insstr':
key.o(.text+0xcd): undefined reference to `iswprint'
作業手順をまとめると以下のとおりです。
./configure
rules.mk system.mk にパッチあてる
gmake
(ここでコンパイル中にエラー発生)
■ このスレッドは過去ログ倉庫に格納されています