Re: [問題] MAKE發生錯誤
※ 引述《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 版
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.104.181.102
推
04/10 22:00, , 1F
04/10 22:00, 1F
→
04/10 22:01, , 2F
04/10 22:01, 2F
→
04/10 22:01, , 3F
04/10 22:01, 3F
→
04/10 22:03, , 4F
04/10 22:03, 4F
→
04/10 22:03, , 5F
04/10 22:03, 5F
→
04/10 22:04, , 6F
04/10 22:04, 6F
→
04/10 22:05, , 7F
04/10 22:05, 7F
討論串 (同標題文章)