gcc版本不同發生問題 - Linux

By Una
at 2010-11-21T02:12
at 2010-11-21T02:12
Table of Contents
make之後出現以下錯誤訊息
/home/eda/public/Linux/gcc-3.3.3/include/c++/3.3.3/bits/stl_alloc.h:242:
undefined reference to `std::__default_alloc_template<true,
0>::deallocate(void*, unsigned int)'
collect2: ld returned 1 exit status
make: *** [path_filter] Error 1
我查了原因是因為gcc版本不同的原因(linking error)
我現在的gcc版本是gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
網路上的資料提供的解決方法都是將版本改回3.3.x
不知道有沒有其它方法可以在現在的版本解決這各問題?
非常謝謝各位
--
▄ ▆ ● ◤ ●
◢ ˙ ˙ ◣ ● ▼◥ ▲●
◆◣ ◤◆ 上吧,藍胖!! ● ▲●
◥ \◤' (OwQ )
◣ ◣ ◤ ) ) ﹀ \ \ ◣
vcfsvjf ◣ 〈 ◤◤◤◥
--
/home/eda/public/Linux/gcc-3.3.3/include/c++/3.3.3/bits/stl_alloc.h:242:
undefined reference to `std::__default_alloc_template<true,
0>::deallocate(void*, unsigned int)'
collect2: ld returned 1 exit status
make: *** [path_filter] Error 1
我查了原因是因為gcc版本不同的原因(linking error)
我現在的gcc版本是gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
網路上的資料提供的解決方法都是將版本改回3.3.x
不知道有沒有其它方法可以在現在的版本解決這各問題?
非常謝謝各位
--
▄ ▆ ● ◤ ●
◢ ˙ ˙ ◣ ● ▼◥ ▲●
◆◣ ◤◆ 上吧,藍胖!! ● ▲●
◥ \◤' (OwQ )
◣ ◣ ◤ ) ) ﹀ \ \ ◣
vcfsvjf ◣ 〈 ◤◤◤◥
--
Tags:
Linux
All Comments

By Oliver
at 2010-11-22T22:26
at 2010-11-22T22:26
Related Posts
ubuntu 10.10 macbuntu openoffice 亂봠…

By Valerie
at 2010-11-21T00:59
at 2010-11-21T00:59
顯卡的問題~

By Caitlin
at 2010-11-20T23:38
at 2010-11-20T23:38
fontconfig 問題

By Jake
at 2010-11-20T21:22
at 2010-11-20T21:22
iconv大量轉換

By Emily
at 2010-11-20T02:29
at 2010-11-20T02:29
iconv大量轉換

By Christine
at 2010-11-19T21:40
at 2010-11-19T21:40