Re: [問題] 安裝 Glibc2.7 遇到 abi-versions.h 這 …
按照回文的建議,我剛剛根據網頁上面的編譯環境安裝了需要的東西
目前configure過了。
pcmanx_gtk2 ..................... : Version 0.3.8
Prefix........................... : /usr/local
Debug support ................... : no
MMX optimization ................ : yes
Docklet / system tray support ... : yes
Popup notifier support........... : yes
Libnotify support................ : no
Nancy bot support ............... : yes
Mouse click and wheel support ... : yes
External SSH/Telnet support...... : yes
Mozilla/Firefox plugin support... : no
wget support..................... : no
iplookup support................. : no
proxy support.................... : no
pcmanx_gtk2 ..................... : Version 0.3.8
The binary will be installed in /usr/local/bin
configure complete, now type 'make' and pray.
接著輸入make
過程中出現一堆undefined reference
...
...
...
略了數十行
asic_string<char, std::char_traits<char>, std::allocator<char> >)'
autologinpage.cpp:(.text+0x2f5): undefined reference to `CSite::SetPostLogin(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
autologinpage.o: In function `CAutoLoginPage::CAutoLoginPage(CSite&)':
autologinpage.cpp:(.text+0xc3f): undefined reference to `CSite::GetPreLoginPrompt()'
autologinpage.cpp:(.text+0xc7c): undefined reference to `CSite::GetPreLogin()'
autologinpage.cpp:(.text+0xcb9): undefined reference to `CSite::GetLoginPrompt()'
autologinpage.cpp:(.text+0xcf6): undefined reference to `CSite::GetLogin()'
autologinpage.cpp:(.text+0xd33): undefined reference to `CSite::GetPasswdPrompt()'
autologinpage.cpp:(.text+0xd70): undefined reference to `CSite::GetPasswd()'
autologinpage.cpp:(.text+0xdad): undefined reference to `CSite::GetPostLogin()'
autologinpage.o: In function `CAutoLoginPage::CAutoLoginPage(CSite&)':
autologinpage.cpp:(.text+0x16a3): undefined reference to `CSite::GetPreLoginPrompt()'
autologinpage.cpp:(.text+0x16e0): undefined reference to `CSite::GetPreLogin()'
autologinpage.cpp:(.text+0x171d): undefined reference to `CSite::GetLoginPrompt()'
autologinpage.cpp:(.text+0x175a): undefined reference to `CSite::GetLogin()'
autologinpage.cpp:(.text+0x1797): undefined reference to `CSite::GetPasswdPrompt()'
autologinpage.cpp:(.text+0x17d4): undefined reference to `CSite::GetPasswd()'
autologinpage.cpp:(.text+0x1811): undefined reference to `CSite::GetPostLogin()'
collect2: ld returned 1 exit status
make[3]: *** [pcmanx] Error 1
make[3]: Leaving directory `/home/magicallove/pcmanx-gtk2-0.3.8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/magicallove/pcmanx-gtk2-0.3.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/magicallove/pcmanx-gtk2-0.3.8'
make: *** [all] Error 2
咕狗有看到跟我一樣的錯誤討論文章
http://forums.gentoo.tw/viewtopic.php?t=44361
不過沒有討論出結果
下面貼上我的編譯環境訊息
#dpkg -l |grep libgtk2.0-dev
ii libgtk2.0-dev 2.12.9-3ubuntu5
#dpkg -l |grep libxft-dev
ii libxft-dev 2.1.12-2ubuntu5
# dpkg -l |grep intltool
ii intltool 0.37.1-1ubuntu1
ii intltool-debian 0.35.0+20060710.1
# dpkg -l |grep automake
ii automake1.7 1.7.9-9
#dpkg -l |grep libtool
ii libguile-ltdl-1 1.6.8-6ubuntu1
ii libtool 1.5.26-1ubuntu1
接下來該怎麼作?
應該不是trace吧!
※ 引述《jserv.bbs@bbs.sayya.org (松鼠)》之銘言:
: ※ 引述《magicallove.bbs@ptt.cc (小判)》之銘言:
: > 最初址是想要編譯pcman而已...
: > cd pcmanx-gtk2-0.3.8/
: 請參考 http://pcmanx.csie.net/ 網頁的資訊,安裝建議的套件再行編譯。
: > 套件管理程式安裝 glibc-source 2.7
: 其實,編譯 glibc 的過程比您想像的稍微複雜一點,詳情可參閱 source package
: 中的 Debian rules,這裡就不贅述。除非真的對 GNU glibc 的實做本身有興趣,
: 否則,還是專注於「編譯 pcmanx」這個項目比較好。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.142.30.219
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 4 篇):