aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Glib 2.8.1, GTK 2.8.3, Cairo 1.0, Pango 1.10.0 linking problem!  (Read 3007 times)

lesiu1111

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Glib 2.8.1, GTK 2.8.3, Cairo 1.0, Pango 1.10.0 linking problem!
« on: September 12, 2005, 03:48:10 PM »

I have this problem when I do "make":

g++  -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0    -lpthread -o amule  amule-AddFriend.o amule-AddFileThread.o amule-AICHSyncThread.o amule-amule.o amule-amule-gui.o amule-amuleDlg.o amule-BarShader.o amule-BaseClient.o amule-ChatSelector.o amule-ChatWnd.o amule-CatDialog.o amule-CFile.o amule-ClientCredits.o amule-ClientDetailDialog.o amule-ClientList.o amule-ClientListCtrl.o amule-ClientUDPSocket.o amule-ColorFrameCtrl.o amule-CommentDialog.o amule-CommentDialogLst.o amule-DataToText.o amule-DeadSourceList.o amule-DirectoryTreeCtrl.o amule-DownloadClient.o amule-DownloadListCtrl.o amule-DownloadQueue.o amule-ECSocket.o amule-ECPacket.o amule-ECSpecialTags.o amule-ED2KLink.o amule-EditServerListDlg.o amule-EMSocket.o amule-ExternalConn.o amule-FileDetailDialog.o amule-FileDetailListCtrl.o amule-filefn.o amule-Format.o amule-Friend.o amule-FriendList.o amule-FriendListCtrl.o amule-HTTPDownload.o amule-IPFilter.o amule-KnownFile.o amule-KadDlg.o amule-KnownFileList.o amule-ListenSocket.o amule-listctrl.o amule-Logger.o amule-MemFile.o amule-MD5Sum.o amule-MuleGifCtrl.o amule-MuleListCtrl.o amule-MuleNotebook.o amule-MuleTextCtrl.o amule-muuli_wdr.o amule-NetworkFunctions.o amule-OScopeCtrl.o amule-OtherFunctions.o amule-Packet.o amule-PartFile.o amule-Preferences.o amule-PrefsUnifiedDlg.o amule-Proxy.o amule-SafeFile.o amule-SearchDlg.o amule-SearchList.o amule-SearchListCtrl.o amule-Server.o amule-ServerConnect.o amule-ServerList.o amule-ServerListCtrl.o amule-ServerSocket.o amule-ServerUDPSocket.o amule-ServerWnd.o amule-SharedFileList.o amule-SharedFilesCtrl.o amule-SharedFilesWnd.o amule-SHA.o amule-SHAHashSet.o amule-Statistics.o amule-StatisticsDlg.o amule-StateMachine.o amule-StringFunctions.o amule-TransferWnd.o amule-UploadClient.o amule-UploadQueue.o amule-ByteIO.o amule-DataIO.o amule-FileIO.o amule-IOException.o amule-UInt128.o    amule-MuleTrayIcon.o amule-CryptoPP.o -L/usr/local/kde/lib -pthread   -L/usr/X11R6/lib  -lwx_gtk2_xrc-2.6 -lwx_gtk2_qa-2.6 -lwx_gtk2_html-2.6 -lwx_gtk2_adv-2.6 -lwx_gtk2_core-2.6 -lwx_base_xml-2.6 -lwx_base_net-2.6 -lwx_base-2.6  -lz
/usr/bin/ld: warning: libstdc++.so.5, needed by /usr/local/kde/lib/libwx_gtk2_xrc-2.6.so, may conflict with libstdc++.so.6
/usr/local/kde/lib/libwx_gtk2_core-2.6.so: undefined reference to `pango_x_get_context'
collect2: ld returned 1 exit status
make[3]: *** [amule] BBd 1
make[3]: Leaving directory `/home/leszek/aMule-2.0.3/src'
make[2]: *** [all-recursive] BBd 1
make[2]: Leaving directory `/home/leszek/aMule-2.0.3/src'
make[1]: *** [all-recursive] BBd 1
make[1]: Leaving directory `/home/leszek/aMule-2.0.3'
make: *** [all] BBd 2

This is similary problem to: http://forum.amule.org/thread.php?threadid=7226&sid=

but when I do:

./configure LDFLAGS="pangox-1.0" I have another problem, in this time with "./configure" step:

checking for g++... g++
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.

When I do only "./configure" without any options "make" crush with error... .

What should I do to solve this problem?
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Glib 2.8.1, GTK 2.8.3, Cairo 1.0, Pango 1.10.0 linking problem!
« Reply #1 on: September 12, 2005, 03:58:39 PM »

LDFLAGS="pangox-1.0"

maybe

 LDFLAGS="-lpangox"
Logged

lesiu1111

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: Glib 2.8.1, GTK 2.8.3, Cairo 1.0, Pango 1.10.0 linking problem!
« Reply #2 on: September 12, 2005, 06:25:39 PM »

No, this is not good tip :(
Logged

lesiu1111

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: Glib 2.8.1, GTK 2.8.3, Cairo 1.0, Pango 1.10.0 linking problem!
« Reply #3 on: September 15, 2005, 12:10:43 AM »

I have answer for my problem.
I installed last CVS-Version of wx-GTK (from 14.09.2005) and linking is working!!!!
Logged