[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:10219] Re: octave compile error
-
From:Masazumi Arai
-
Date:Mon, 18 Jun 2001 09:29:17 +0900
- Subject: [plamo:10219] Re: octave compile error
- From: Masazumi Arai <arai@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 18 Jun 2001 09:29:17 +0900
- Posted: Mon, 18 Jun 2001 09:29:14 +0900
At Mon, 18 Jun 2001 06:55:26 +0900,
tmori@ta2.so-net.ne.jp さん wrote:
> GNU octave という MATLAB like なソフトウェアのコンパイルでエラーが出ま
> した。一応、解決したのですが、このような方法で良いのかどうか識者のかた
> のご意見を伺いたく投稿します。
>
> 【環境】
> Plamo 2.0 ,egcs-2.91.66,octave-2.0.16
>
> 【エラー発生時のログ】
>
> octave.o builtins.o balance.o besselj.o betainc.o chol.o colloc.o dassl.o det.o eig.o expm.o fft.o fft2.o filter.o find.o fsolve.o gammainc.o getgrent.o getpwent.o getrusage.o givens.o hess.o ifft.o ifft2.o inv.o log.o lpsolve.o lsode.o lu.o minmax.o pinv.o qr.o quad.o qzval.o rand.o schur.o sort.o svd.o syl.o time.o \
> -L../liboctave -L../libcruft -L../src -Xlinker -rpath -Xlinker /usr/local/lib/octave-2.0.16 \
> ../src/liboctinterp.a ../liboctave/liboctave.a ../libcruft/libcruft.a ../readline/libreadline.a ../kpathsea/libkpathsea.a ../glob/libglob.a \
> -lg2c -lm -L/usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66 -lm -lncurses -ldl -lm
> /usr/lib/libieee.a(.data+0x0): multiple definition of `_LIB_VERSION'
> /usr/lib/libm.a(s_lib_version.o)(.data+0x0): first defined here
> collect2: ld returned 1 exit status
> make[2]: *** [octave] Error 1
> make[2]: Leaving directory `/home/mori/src/octave/octave-2.0.16/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/home/mori/src/octave/octave-2.0.16'
> make: *** [all] Error 2
このエラーに対する対処法は、octave パッケージの付属文書 README.Linux
に記されています。
当方では、以下の修正をしてmakeに成功しました。
環境は Plamo2.1ですが。
/usr/lib/gcc-lib/i386-pc-linux/2.95.2/specs の修正が必要
修正箇所
---
*lib:
%{shared: -lc} %{!shared: %{mieee-fp:-lieee} %{pthread:-lpthread} \
%{profile:-lc_p} %{!profile: -lc}}
---
修正内容
%{mieee-fp:-lieee} を削除する
--
荒井 正純
広島大学大学院 工学研究科 社会環境システム専攻 地球環境工学講座
arai@ocean.hiroshima-u.ac.jp
- Follow-Ups
-
- [plamo:10222] Re: octave compile error, KOJIMA Mitsuhiro
- References
-
- [plamo:10218] octave compile error, tmori
[検索ページ]
[メール一覧]
Plamo ML 公開システム