[問題] Compiling error ---> gcc g++ version mismatch?
我想在ubuntu上重新compile (加我抓的code進去)
卻發現一直出現以下訊息...
---------------------------------------------------------------------------
...
checking for a C compiler (trying gcc gcc-4.1 gcc-4.0 gcc-3.4 gcc-3.3)...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a C++ compiler (trying g++ g++-4.0 g++-4.0 g++-3.4 g++-3.3)...
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether the C++ compiler works... yes
checking how to run the C preprocessor... gcc -E
checking for the version of the GNU C compiler... gcc
checking for the version of the GNU C++ compiler... g++
***
*** warning: C compiler version gcc doesn't equal
*** C++ compiler version g++
***
error: unsupported compiler version gcc
---------------------------------------------------------------------------
有人知道如何解決嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 125.229.32.119
推
11/11 23:59, , 1F
11/11 23:59, 1F
→
11/12 00:02, , 2F
11/12 00:02, 2F
→
11/12 00:03, , 3F
11/12 00:03, 3F
推
11/12 00:07, , 4F
11/12 00:07, 4F
→
11/12 00:07, , 5F
11/12 00:07, 5F
→
11/12 00:08, , 6F
11/12 00:08, 6F
→
11/12 00:08, , 7F
11/12 00:08, 7F
→
11/12 00:46, , 8F
11/12 00:46, 8F
推
11/12 03:09, , 9F
11/12 03:09, 9F
→
11/12 12:25, , 10F
11/12 12:25, 10F
推
11/12 12:40, , 11F
11/12 12:40, 11F
推
11/12 17:56, , 12F
11/12 17:56, 12F
→
11/12 17:57, , 13F
11/12 17:57, 13F
→
11/12 22:40, , 14F
11/12 22:40, 14F
→
11/12 22:41, , 15F
11/12 22:41, 15F
討論串 (同標題文章)