aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: cant compile  (Read 3408 times)

Guest

  • Guest
cant compile
« 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?
Logged

Guest

  • Guest
Re: cant compile
« Reply #1 on: January 13, 2006, 11:40:04 PM »

I just realised i posted this in the wrong place, can som admin move it?
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: cant compile
« Reply #2 on: January 14, 2006, 12:04:43 AM »

Your words are orders for me.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: cant compile
« Reply #3 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
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: cant compile
« Reply #4 on: January 14, 2006, 08:50:52 AM »

Directly upgrade to wx 2.6.2
Logged

DoXer40

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Re: cant compile
« Reply #5 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
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: cant compile
« Reply #6 on: January 14, 2006, 03:39:21 PM »

jsut teh recompile fixed it...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: cant compile
« Reply #7 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.
Logged