aMule Forum

English => Compilation problems => Topic started by: yuriy on November 28, 2006, 04:27:13 PM

Title: aMule 2.1.3 gmake finished with error
Post by: yuriy on November 28, 2006, 04:27:13 PM
I'v got server on openbsd 3.9
and want to amuled be installed without X11
and with amuleweb
Have got wxGtk-2.6.1 and wxBase-2.6.1 installed
cofigure amule ok, but make failed, trying gmake instead
and gmake finished with error

if g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -D__OPENBSD__ -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2  -MT ED2KLinkParser.o -MD -MP -MF ".deps/ED2KLinkParser.Tpo" -c -o ED2KLinkParser.o ED2KLinkParser.cpp; \
then mv -f ".deps/ED2KLinkParser.Tpo" ".deps/ED2KLinkParser.Po"; else rm -f ".deps/ED2KLinkParser.Tpo"; exit 1; fi
gmake[3]: Leaving directory `/home/Amule/aMule-2.1.3/src'
gmake[2]: Leaving directory `/home/Amule/aMule-2.1.3/src'
gmake[1]: Leaving directory `/home/Amule/aMule-2.1.3'
In file included from ED2KLinkParser.cpp:44:
FileLock.h: In destructor `CFileLock::~CFileLock()':
FileLock.h:80: error: `close' undeclared (first use this function)
FileLock.h:80: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
gmake[3]: *** [ED2KLinkParser.o] Error 1
gmake[2]: *** [all-recursive] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2
 ?(
Title: Re: aMule 2.1.3 gmake finished with error
Post by: czadman on November 28, 2006, 11:50:01 PM
Apply to amule 2.1.3 patch from below thread and try again.
http://forum.amule.org/thread.php?threadid=11305&sid=&hilight=openbsd
Title: how to aply the patch
Post by: yuriy on November 29, 2006, 11:56:55 AM
But how to aply the patch?
The command "diff" is to compare files. so the question is
what files compare to ?(
Title: Re: aMule 2.1.3 gmake finished with error
Post by: wuischke on November 29, 2006, 08:37:19 PM
There's the program 'patch'.

Try something like 'patch < filename.patch' in the source directory.
Title: where the patch
Post by: yuriy on November 30, 2006, 09:41:27 AM
Oh!
That's grate!
So where is it? Where i can grab that sweety little one?
 :rolleyes:
Title: Re: aMule 2.1.3 gmake finished with error
Post by: phoenix on November 30, 2006, 10:17:51 AM
Just get tomorrow's tarball, it will have the patch applyed.

Cheers!