aMule Forum

English => Compilation problems => Topic started by: Guest on January 13, 2006, 11:19:14 PM

Title: cant compile
Post by: Guest on January 13, 2006, 11:19:14 PM
When i tries to compile, iget this error:
Code: [Select]
i686-pc-linux-gnu-g++: ukendt tilvalg '-02'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../libwx_gtk2_core-2.6.so: undefined reference to `pango_x_get_context'
collect2: ld returnerede afslutningskoden 1
make[3]: *** [amule] Fejl 1
make[3]: Leaving directory `/var/tmp/portage/amule-2.1.0/work/aMule-2.1.0/src'
make[2]: *** [all-recursive] Fejl 1
make[2]: Leaving directory `/var/tmp/portage/amule-2.1.0/work/aMule-2.1.0/src'
make[1]: *** [all-recursive] Fejl 1
make[1]: Leaving directory `/var/tmp/portage/amule-2.1.0/work/aMule-2.1.0'
make: *** [all] Fejl 2

!!! ERROR: net-p2p/amule-2.1.0 failed.
!!! Function src_compile, Line 103, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

I have recompiled wxGTK several times with the same result... can anybody help?
Title: Re: cant compile
Post by: Guest on January 13, 2006, 11:40:04 PM
I just realised i posted this in the wrong place, can som admin move it?
Title: Re: cant compile
Post by: Kry on January 14, 2006, 12:04:43 AM
Your words are orders for me.
Title: Re: cant compile
Post by: stefanero on January 14, 2006, 08:39:52 AM
your wxGTK is not compiled with pango support, while gtk is so it fails to link in the end...
recompil wxGTK it should automaitcally pick up pango aswell, and then should work
Title: Re: cant compile
Post by: Kry on January 14, 2006, 08:50:52 AM
Directly upgrade to wx 2.6.2
Title: Re: cant compile
Post by: DoXer40 on January 14, 2006, 03:30:26 PM
Quote
Originally posted by Kry
Directly upgrade to wx 2.6.2
You were right
I use gentoo, so i emerged with:
Code: [Select]
USE="pango" ACCEPT_KEYWORDS=~x86 emerge =wxGTK-2.6.2I don't know if USE="pango" changed anything, but now i can compile it
Title: Re: cant compile
Post by: stefanero on January 14, 2006, 03:39:21 PM
jsut teh recompile fixed it...
Title: Re: cant compile
Post by: Kry on January 14, 2006, 08:35:12 PM
well stefan, it can't, because it's a bug on 2.6.1. Recompiling doesn't help.