aMule Forum
English => Compilation problems => Topic started by: Ezeltje on December 16, 2006, 01:39:43 PM
-
Hi all,
I am getting this "make" error with today's CVS:
c -L. -lmuleappcore -pthread -lwx_baseu_net-2.6 -lwx_baseu-2.6 -lz
amuled-UserEvents.o: In function `CUserEvents::ProcessEvent(CUserEvents::EventType, void const*)':
UserEvents.cpp:(.text+0xb84): undefined reference to `CPartFile::GetDlActiveTime() const'
collect2: ld returned 1 exit status
Thanks.
$ rpm -qa | grep wx
wxGTK-devel-2.6.3-2.6.3.2.3.fc6
wxGTK-2.6.3-2.6.3.2.3.fc6
wxGTK-gl-2.6.3-2.6.3.2.3.fc6
-
Ezeltje,
This is most probably an old cvs tarball, you probably downloaded the wrong one.
I did a small script here and compiled it without problems:
#! /bin/bash
tar jxvf aMule-CVS-20061216.tar.bz2
cd amule-cvs/
./autogen.sh && ./configure --with-denoise-level=3 --enable-debug --disable-optimize --enable-verbose --enable-webserver --enable-amulecmd --enable-amule-daemon --enable-cas --enable-amule-gui && make
cd ..
Make sure you get the right version, and always untar it to a clean directory.
Cheers!
-
Originally posted by phoenix
Make sure you get the right version, and always untar it to a clean directory.
I can wholeheartedly agree with this point. "make clean" should really be called "make sorta clean". I once wasted 2h on trying to pin down a compilation problem, when the issue was just some leftover-junk that "make clean" did not take care of.
-
Thanks, it works now. I unpacked the right tarball but the directory was "pre-owned". ;)
-
Originally posted by lionel77
Originally posted by phoenix
Make sure you get the right version, and always untar it to a clean directory.
I can wholeheartedly agree with this point. "make clean" should really be called "make sorta clean". I once wasted 2h on trying to pin down a compilation problem, when the issue was just some leftover-junk that "make clean" did not take care of.
Welcome to the wonderful world of MAKE DISTCLEAN!