aMule Forum

English => aMule Help => Topic started by: TechnoFan on February 08, 2004, 08:46:31 PM

Title: Errors by compiling amule 1.2.4
Post by: TechnoFan on February 08, 2004, 08:46:31 PM
Hi
I want to install amule like describe in the HowTo, but I got the following Error Message by compiling amule....:

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/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


Can someone help me?
thx

CU David
Title: Re: Errors by compiling amule 1.2.4
Post by: deltaHF on February 08, 2004, 08:51:45 PM
yes, u miss wxBase..

plz take a look at my compilation howto (my sig) or compile amule with

./configure --disable-amulecmd --disable-debug --enable-optimise

greets

if u need more/faster help -> #amule (efnet network)
Title: Re: Errors by compiling amule 1.2.4
Post by: deltaHF on February 08, 2004, 09:04:41 PM
and u forgot to do the symlinks propably (like in the steps  for wxBase)

greets
Title: Re: Errors by compiling amule 1.2.4
Post by: Kry on February 08, 2004, 09:29:21 PM
it's symlinks stuff, he doesn't miss wxBase
Title: Re: Errors by compiling amule 1.2.4
Post by: deltaHF on February 08, 2004, 09:35:37 PM
yah, i read it 2nd time  :]

will change the symlinks stuff tomorrow to -> better? ;)
Title: Re: Errors by compiling amule 1.2.4
Post by: TechnoFan on February 08, 2004, 09:44:56 PM
i've set the system link like it is describe in the HowTo....

I use SuSE 8.2 and I hate rpm's.......
Title: Re: Errors by compiling amule 1.2.4
Post by: deltaHF on February 08, 2004, 09:51:02 PM
after installing the rpms u have to do the symlinks too ..
step by step ..

part A in my howto is the manual compilation
part B is the installation (rpm)

maybe u didn't foundt it? :(


edit:

rpm -e aMule-1.2.4-XXX


rpm -Uvh aMule-1.2.4-XXX

if it doesn't help, please join #amule on the efnet network (irc)
Title: Re: Errors by compiling amule 1.2.4
Post by: TechnoFan on February 08, 2004, 11:41:40 PM
i don't use rpm's, i have done the manual compilation....
Title: Re: Errors by compiling amule 1.2.4
Post by: deltaHF on February 08, 2004, 11:44:57 PM
ls -l /usr/bin/wx*  plz
Title: Re: Errors by compiling amule 1.2.4
Post by: TechnoFan on February 09, 2004, 08:42:20 AM
lrwxrwxrwx    1 root     root           25 2004-02-08 20:38 /usr/bin/wx-config -> /usr/bin/wxgtk-2.4-config
-rwxr-xr-x    1 root     root         4864 2004-02-08 20:38 /usr/bin/wxbase-2.4-config
lrwxrwxrwx    1 root     root           26 2004-02-08 20:38 /usr/bin/wxbase-config -> /usr/bin/wxbase-2.4-config
-rwxr-xr-x    1 root     root         5058 2004-02-08 20:35 /usr/bin/wxgtk-2.4-config
Title: Re: Errors by compiling amule 1.2.4
Post by: Kry on February 09, 2004, 08:50:32 AM
links are ok, you still getting the errors?
Title: Re: Errors by compiling amule 1.2.4
Post by: TechnoFan on February 09, 2004, 01:02:28 PM
Yes, I haven't change anything, the links were so, since I started compiling
Title: Re: Errors by compiling amule 1.2.4
Post by: Kry on February 09, 2004, 01:30:12 PM
can you join #amule, irc.efnet.net?
Title: Re: Errors by compiling amule 1.2.4
Post by: deltaHF on February 09, 2004, 02:36:47 PM
rerun ./configure doesn't help ?
Title: Re: Errors by compiling amule 1.2.4
Post by: deltaHF on February 09, 2004, 07:01:10 PM
ok, try to compile with ./configure --disable-debug --enable-optimise --with-wx-config=/usr/bin/wx-config --with-wxbase-config=/usr/bin/wxbase-config

thx bootstrap for this hint  :)
Title: Re: Errors by compiling amule 1.2.4
Post by: TechnoFan 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
Title: Re: Errors by compiling amule 1.2.4
Post by: stefanero 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
Title: Re: Errors by compiling amule 1.2.4
Post by: TechnoFan 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
Title: Re: Errors by compiling amule 1.2.4
Post by: stefanero 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
Title: Re: Errors by compiling amule 1.2.4
Post by: deltaHF 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
Title: Re: Errors by compiling amule 1.2.4
Post by: TechnoFan 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 :-)
Title: Re: Errors by compiling amule 1.2.4
Post by: deltaHF on February 11, 2004, 12:58:49 PM
plz dl get-info.sh and post the output here

or join #amule channel ..
Title: Re: Errors by compiling amule 1.2.4
Post by: TechnoFan 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
Title: Re: Errors by compiling amule 1.2.4
Post by: deltaHF on February 11, 2004, 01:13:54 PM
irc.efnet.nl
Title: Re: Errors by compiling amule 1.2.4
Post by: TechnoFan on February 13, 2004, 12:18:06 PM
[12:17:46]  Can't join #emule: channel is full

:-(
Title: Re: Errors by compiling amule 1.2.4
Post by: deltaHF 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