aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2]

Author Topic: Errors by compiling amule 1.2.4  (Read 9427 times)

TechnoFan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
    • http://www.antihiphop.de
Re: Errors by compiling amule 1.2.4
« Reply #15 on: February 09, 2004, 08:03:44 PM »

the result by making:

collect2: ld returned 1 exit status
make[2]: *** [amulecmdDLG] Error 1
make[2]: Leaving directory `/home/technofan/Desktop/wx/aMule-1.2.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/technofan/Desktop/wx/aMule-1.2.4'
make: *** [all] Error 2
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Errors by compiling amule 1.2.4
« Reply #16 on: February 09, 2004, 08:36:40 PM »

hi,
now some smart thoughts from me, or maybe not  ;)
if you don't plan on using the amule console based you can always compile it without teh amulecmd and amulecmdDLG using the option
--disable-amulecmd
in the ./configure, hope maybe that works
so you can maybe finally atleast get your amule up and running and figure out the compile error while finally downloading something  ;)
amulecmd is only for remote anyways and you can still set up the webinterface for that, and this definatly looks nicer  :)

have fun
stefanero
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."

TechnoFan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
    • http://www.antihiphop.de
Re: Errors by compiling amule 1.2.4
« Reply #17 on: February 09, 2004, 08:48:01 PM »

same error:

amule-amuleDlg.o(.gnu.linkonce.r._ZTV9CamuleDlg+0x3c): undefined reference to `wxWindowBase::CreateItem(wxItemResource const*, wxItemResource const*, wxResourceTable const*)'
collect2: ld returned 1 exit status
make[2]: *** [amule] Error 1
make[2]: Leaving directory `/home/technofan/Desktop/wx/aMule-1.2.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/technofan/Desktop/wx/aMule-1.2.4'
make: *** [all] Error 2


command was:

 ./configure --disable-debug --enable-optimise --with-wx-config=/usr/bin/wx-config --with-wxbase-config=/usr/bin/wxbase-config --disable-amulecmd
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Errors by compiling amule 1.2.4
« Reply #18 on: February 09, 2004, 09:01:09 PM »

well it is not the same  ;)
but that still does not help,
did you probaly install wxbase and wxgtk both from the source from the sourceforge page?
because as far as I know that mixing up rpm installation from wxbase and wxgtk and then compiling amule from source never worked on my system.
so the only hint I can give you with my not so good knowledge is that try compiling wxbase and wxgtk from source. I once made the mistake that I ran teh ./configure from wxgtk as root instead as user and then amule did not compile also.
so maybe recheck that ?!  ?( or maybe kry and deltaHF an better idear with the new error
sorry

stefanero
« Last Edit: February 09, 2004, 09:02:23 PM by stefanero »
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."

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Errors by compiling amule 1.2.4
« Reply #19 on: February 09, 2004, 09:53:42 PM »

i have wxGTK and wxBase rpms and compiled amule without any problems ..

TechnoFan, plz tell us all steps u did.. 1st compiled/installed etc ..

greets

TechnoFan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
    • http://www.antihiphop.de
Re: Errors by compiling amule 1.2.4
« Reply #20 on: February 11, 2004, 12:43:13 PM »

Hi have configure all exactly like in the HowTo from deltaHF for the TAR-Files, not for the RPM's.
Than I download amule (now amule1.2.5) untar it like in the HowTo, do cd amule....

./configure --disable-debug --enable-optimise --with-wx-config=/usr/bin/wx-config --with-wxbase-config=/usr/bin/wxbase-config

no errors, last line:

  Configure script has finished system check.

  Configured aMule 1.2.5 for `i686-pc-linux-gnu'.

  Should aMule be compiled in debug mode?                  no
  Should aMule be compiled with release grp code?          no
  Should aMule be compiled without debug reporting?        no
  Should aMule be compiled with profiling?                 no
  Should aMule be compiled with optimizations?             yes
  Should aMule be compiled with systray?                   yes
  Should aMule be compiled with safe systray?              no
  Should aMule be compiled with pure GTK code?             yes
  Should aMule be compiled without bar drawing?            no
  Should aMule be linked against patched gsocket?          yes
  Should amulecmd be built?                                yes
  Should amulecmd (TextClient) be linked against wxbase?   yes

  Which libraries should aMule use?
                                       wxWindows          2.4.2
                                       GTK                1.2.10

than In entered "make", the result:

g++  -I/usr/local/include  -O2    -o amulecmdDLG  amulecmdDLG-TextClient.o amulecmdDLG-MD5Sum.o -pthread -lwx_gtk-2.4 -L/usr/local/lib -lcurl -lz -ldl
amulecmdDLG-TextClient.o(.gnu.linkonce.r._ZTV14CamulecmdFrame+0x38): undefined reference to `wxWindowBase::LoadFromResource(wxWindow*, wxString const&, wxResourceTable const*)'
amulecmdDLG-TextClient.o(.gnu.linkonce.r._ZTV14CamulecmdFrame+0x3c): undefined reference to `wxWindowBase::CreateItem(wxItemResource const*, wxItemResource const*, wxResourceTable const*)'
collect2: ld returned 1 exit status
make[2]: *** [amulecmdDLG] Error 1
make[2]: Leaving directory `/home/technofan/Desktop/aMule-1.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/technofan/Desktop/aMule-1.2.5'
make: *** [all] Error 2

uih, hier gibts ja auch n deutsches forum, ist mir nie aufgefallen :-)
« Last Edit: February 11, 2004, 12:43:36 PM by TechnoFan »
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Errors by compiling amule 1.2.4
« Reply #21 on: February 11, 2004, 12:58:49 PM »

plz dl get-info.sh and post the output here

or join #amule channel ..

TechnoFan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
    • http://www.antihiphop.de
Re: Errors by compiling amule 1.2.4
« Reply #22 on: February 11, 2004, 01:03:31 PM »

get-info said:

I.   Development Environment

     A. Compiler Info
        Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux Thread model: posix gcc version 3.3 20030226 (prerelease) (SuSE Linux)

     B. wxWindows Info
        Version: 2.4.2
        -L/usr/local/lib -pthread -lwx_gtk-2.4

     C. GTK Info
        GTK 1: 1.2.10
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
        GTK 2:

II.  System Environment

     A. CPU Info
        Type:  GenuineIntel
        Model: Intel(R) Pentium(R) 4 CPU 2.40GHz
        Speed: 2609.542
        BMips: 5203.55
        Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm

     B. Memory Info
        Total:   514876 kB
        Unused:  316772 kB

     C. Kernel Info
        Version: 2.4.21-144-default

     D. Library Info
./get-info.sh: line 33: ldconfig: command not found
        wxWindows library:


öhm, amule channel on which server? In quakenet, the channel is empty
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Errors by compiling amule 1.2.4
« Reply #23 on: February 11, 2004, 01:13:54 PM »

irc.efnet.nl

TechnoFan

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
    • http://www.antihiphop.de
Re: Errors by compiling amule 1.2.4
« Reply #24 on: February 13, 2004, 12:18:06 PM »

[12:17:46]  Can't join #emule: channel is full

:-(
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Errors by compiling amule 1.2.4
« Reply #25 on: February 13, 2004, 01:36:19 PM »

Quote
Originally posted by deltaHF
plz dl get-info.sh and post the output here

or join #amule channel ..

amule, not emule
Pages: 1 [2]