MAKE發生錯誤 - Linux
By Megan
at 2010-04-10T20:41
at 2010-04-10T20:41
Table of Contents
※ 引述《nkbnkbab (TEMPO)》之銘言:
: 各位大大不好意思,想請問一個問題,我在MAKE一個檔案時,它產生了這個錯誤,
: /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
: /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
: /root/opensees//lib/libBlas.a(dnrm2.o): In function `dnrm2_':
: dnrm2.f:(.text+0xaa): undefined reference to `_gfortran_runtime_error_at'
: collect2: ld returned 1 exit status
: make[1]: *** [tcl] Error 1
: make[1]: Leaving directory `/root/opensees/OpenSees/SRC/modelbuilder/tcl'
: make: *** [all] Error 2
你的centos是裝 x86_64 還是x86版本的?
用uname -a 確認一下
或是 file /usr/lib/libc.so
確認之後看一下你的 opensees的makefile
把裡面有 -m32 或 -m64 之類的參數都刪掉。
或如果你是x86版本就加上 -m32, x86-64版本就加上 -m64
加在 CFLAGS CXXFLAGS LDFLAGS
--
2008年 台灣國 愛滋感染人數統計
異性性行為女 40 異性性行為男 296 同性性行為男 866
2009年 台灣國 愛滋感染人數統計
異性性行為女 42 異性性行為男 273 同性性行為男 895
詳情請看ptt.cc L_BoyMeetsGi 版
--
: 各位大大不好意思,想請問一個問題,我在MAKE一個檔案時,它產生了這個錯誤,
: /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
: /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
: /root/opensees//lib/libBlas.a(dnrm2.o): In function `dnrm2_':
: dnrm2.f:(.text+0xaa): undefined reference to `_gfortran_runtime_error_at'
: collect2: ld returned 1 exit status
: make[1]: *** [tcl] Error 1
: make[1]: Leaving directory `/root/opensees/OpenSees/SRC/modelbuilder/tcl'
: make: *** [all] Error 2
你的centos是裝 x86_64 還是x86版本的?
用uname -a 確認一下
或是 file /usr/lib/libc.so
確認之後看一下你的 opensees的makefile
把裡面有 -m32 或 -m64 之類的參數都刪掉。
或如果你是x86版本就加上 -m32, x86-64版本就加上 -m64
加在 CFLAGS CXXFLAGS LDFLAGS
--
2008年 台灣國 愛滋感染人數統計
異性性行為女 40 異性性行為男 296 同性性行為男 866
2009年 台灣國 愛滋感染人數統計
異性性行為女 42 異性性行為男 273 同性性行為男 895
詳情請看ptt.cc L_BoyMeetsGi 版
--
Tags:
Linux
All Comments
By Donna
at 2010-04-12T18:43
at 2010-04-12T18:43
By Brianna
at 2010-04-14T07:23
at 2010-04-14T07:23
By Frederic
at 2010-04-16T18:30
at 2010-04-16T18:30
By Michael
at 2010-04-18T07:06
at 2010-04-18T07:06
By Kumar
at 2010-04-21T09:27
at 2010-04-21T09:27
Related Posts
經由NFS安裝ubuntu的問題
By Hardy
at 2010-04-10T17:10
at 2010-04-10T17:10
MAKE發生錯誤
By Yedda
at 2010-04-10T16:21
at 2010-04-10T16:21
請教關於cscope的問題
By Hedy
at 2010-04-10T15:26
at 2010-04-10T15:26
想請問一個網路的問題
By Tom
at 2010-04-09T22:44
at 2010-04-09T22:44
yum的疑問
By Vanessa
at 2010-04-09T22:32
at 2010-04-09T22:32