aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule 2.1.3 gmake finished with error  (Read 3138 times)

yuriy

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
aMule 2.1.3 gmake finished with error
« 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
 ?(
Logged

czadman

  • Guest
Re: aMule 2.1.3 gmake finished with error
« Reply #1 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
Logged

yuriy

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
how to aply the patch
« Reply #2 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 ?(
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: aMule 2.1.3 gmake finished with error
« Reply #3 on: November 29, 2006, 08:37:19 PM »

There's the program 'patch'.

Try something like 'patch < filename.patch' in the source directory.
Logged

yuriy

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
where the patch
« Reply #4 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:
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: aMule 2.1.3 gmake finished with error
« Reply #5 on: November 30, 2006, 10:17:51 AM »

Just get tomorrow's tarball, it will have the patch applyed.

Cheers!
Logged