aMule Forum
English => Compilation problems => Topic started by: Skuromis on January 27, 2005, 03:53:33 AM
-
Moin Moin!
I have a strange problem compiling an aMUle-CVS. Configureoutput is fine but while make it occurs an error:
/usr/local/lib/libwx_gtk_adv-2.5.so: undefined reference to `wxTaskBarIconAreaBase::DoPopupMenu(wxMenu*, int, int)'
I tried together with some other guys to fix this problem. First caught wxWidget-CVS and compiled it with --disable-gtk2 --with-gtk. It worked well and make install was a success. No other wx versions were installed. After that I did make clean (later try distclean), ./autogen.sh,
./configure --prefix=/home/skuromis/aMule/ --with-wx-config=/home/skuromis/aMule/bin/wx-config --enable-alc --enable-alcc --enable-webserver --enable-webservergui --enable-amule-daemon (with different options, e.g. without any, without alc and alcc)
make.
But evry try, the error above occured. Without alc and alcc somewhat later but it occured.
At least I set
#if wxCHECK_VERSION(2, 5, 3)
#define USE_WX_TRAY 1
#endif
to #define USE_WX_TRAY 0 in MuleTrayIcon.h file. It made no difference. I tested the install in /home/skuromis/ too, it didn't work, same error.
Frustrade I went back to wx2.4 and compiled the aMule without deamon. This version works very very well, but without deamon.
BTW: same wxWidgets-CVS aso did it on a friends machine...
Does anybody have a hint for me? Thx, Skuro.
-
As I am the one where it works I have to add that _my_ wxCVS is from 14.01.2005, so it is not exactly the same...
-
post
ls -la /usr/local/bin/wx*
ls -la /usr/bin/wx*
-
Originally posted by Skuromis
/usr/local/lib/libwx_gtk_adv-2.5.so: undefined reference to `wxTaskBarIconAreaBase::DoPopupMenu(wxMenu*, int, int)'
This is certainly a problem with the wx library you generated. Try first with a tarball of wx-2.5.3, then go to wxCVS, because wxCVS is changing a lot these days. I compile wx like that:
$ ./configure --enable-debug --disable-optimise --enable-debug_flag --enable-debug_info --enable-debug_gdb --enable-gtk2 --disable-unicode --prefix=/usr/local/wxWidgets-cvs && make
$ su
$ make install
You don't need the --prefix if you install it in the default location, but I do that because I use several versions of wx. To run amule with wx in a different directory, you do:
$ LD_LIBRARY_PATH=/usr/local/wxWidgets-cvs/lib/ /path/to/amule &
Cheers!
-
It's a bug in wxCVS already reported to the wx developers.
-
Ok first thx for replying.
I have to point out, that really the _same_ wxCVS worked on deltas machine. I downloaded the wxCVS 2 times, a few hours before, an directly after deltas succuess on his machine.
Using the *nonCVS* wx2.5widgets works good, but the aMule crashes all the time. Thats why I want to compile CVS. And I link it to gtk1.2 because of memory leaks...
I'll try again (later CVS) with your hints, phoenix, (in home directory as descriped in aMuleWiki) and report here.
Stefanero, I deleted these files, because I went back to wx2.4. In my ~diretory it is deleted too. ;O/ AFAIR it were 3 files
777 wx-config -> gtk-ansi-release-2.5
777 wxrc-2.5 -> wxrc-2.5
755 wxrc-2.5
by install in ~ dir.
Edit: Kry ok, I'll have a look on their Website.
Greets, Skuro
-
you're wrong, delta's one doesn't compile either. Unless you use wxGTK2. *GTK2*