aMule Forum
English => Compilation problems => Topic started by: Ju1i3n on March 19, 2006, 06:44:44 PM
-
When linking in directory src/utils/wxcas/src and in src/ it fails because pango_x_... functions could not be found.
I solve it by modifying Makefiles of these directory with LIBS = -lpangox-1.0
It might be a problem with aMule configure script or with my wxGTK... I don't know.
If somebody has the same problem, modify your makefile and it will works fine.
Configuration:
Gentoo sparc64
Linux sparc 2.4.32-sparc-r2 (last stable kernel on sparc64)
wxGTK: 2.6.1
pango: 1.10.2
edit: It may be a problem with my wxGTK:
wx-config --libs
-pthread -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6
nowhere -lpangox-1.0
-
Originally posted by Ju1i3n
I solve it by modifying Makefiles of these directory with LIBS = -lpangox-1.0
Very creative solution, but the more obvious one is updating to wxGTK >= 2.6.2.
With GTK 2.8, these functions were moved from libgtk-x11 to libpangox. That's why they are not found. The wWidgets people solved this problem by removing all usage of these functions, starting with wxGTK 2.6.2.