Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Need Help with Anope anope-1.9.4-p1-source  (Read 4821 times)

0 Members and 1 Guest are viewing this topic.

A

  • Anope User
  • Offline Offline
  • Posts: 21
Need Help with Anope anope-1.9.4-p1-source
« on: November 27, 2011, 02:19:26 AM »

OS: Ubuntu 11.10
gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
cmake version 2.8.5

I am having the following errors with make:
CMakeFiles/services.dir/modulemanager.o: In function `ModuleManager::LoadModule(Anope::string const&, User*)':
/home/alpha/anope-1.9.4-p1-source/src/modulemanager.cpp:132: undefined reference to `dlerror'
/home/alpha/anope-1.9.4-p1-source/src/modulemanager.cpp:134: undefined reference to `dlopen'
/home/alpha/anope-1.9.4-p1-source/src/modulemanager.cpp:135: undefined reference to `dlerror'
/home/alpha/anope-1.9.4-p1-source/src/modulemanager.cpp:142: undefined reference to `dlerror'
/home/alpha/anope-1.9.4-p1-source/src/modulemanager.cpp:143: undefined reference to `dlsym'
/home/alpha/anope-1.9.4-p1-source/src/modulemanager.cpp:144: undefined reference to `dlerror'
/home/alpha/anope-1.9.4-p1-source/src/modulemanager.cpp:148: undefined reference to `dlclose'
CMakeFiles/services.dir/modulemanager.o: In function `ModuleManager::DeleteModule(Module*)':
/home/alpha/anope-1.9.4-p1-source/src/modulemanager.cpp:226: undefined reference to `dlerror'
/home/alpha/anope-1.9.4-p1-source/src/modulemanager.cpp:227: undefined reference to `dlsym'
/home/alpha/anope-1.9.4-p1-source/src/modulemanager.cpp:228: undefined reference to `dlerror'
/home/alpha/anope-1.9.4-p1-source/src/modulemanager.cpp:239: undefined reference to `dlclose'
/home/alpha/anope-1.9.4-p1-source/src/modulemanager.cpp:240: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[2]: *** [src/services] Error 1
make[1]: *** [src/CMakeFiles/services.dir/all] Error 2
make: *** [all] Error 2

Please advise if possible, Thank you in advance  :)
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Need Help with Anope anope-1.9.4-p1-source
« Reply #1 on: November 27, 2011, 02:21:32 AM »

This was a known problem, it has been fixed in git already.  I do not think this will be backported.
Logged

A

  • Anope User
  • Offline Offline
  • Posts: 21
Re: Need Help with Anope anope-1.9.4-p1-source
« Reply #2 on: November 27, 2011, 02:50:50 AM »

Not familiar with git, point in the right direction please?
Logged

A

  • Anope User
  • Offline Offline
  • Posts: 21
Re: Need Help with Anope anope-1.9.4-p1-source
« Reply #4 on: November 27, 2011, 03:38:10 AM »

Appreciate the help so far, i am completely new to the entire git thing, how do I apply these patches?  :-\
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: Need Help with Anope anope-1.9.4-p1-source
« Reply #5 on: November 27, 2011, 03:39:18 PM »

wouldn't it be easier to go with 1.9.5.. (assuming that already has the patches?)  ::)

edit: ok it doesn't...
you could try git..
Quote
git clone git://anope.git.sf.net/gitroot/anope/anope; Use: 'git checkout -b 1.9 origin/1.9' for 1.9, default is 1.8
Tutorial available at: http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html

or to apply the patch (assuming *nix with patch installed)
"patch < mod.diff"
« Last Edit: November 27, 2011, 03:42:16 PM by Jan Milants »
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

A

  • Anope User
  • Offline Offline
  • Posts: 21
Re: Need Help with Anope anope-1.9.4-p1-source
« Reply #6 on: November 27, 2011, 05:45:21 PM »

a@xxxxx:~$ git checkout -b 1.9 origin/1.9
fatal: Not a git repository (or any of the parent directories): .git
 :-[
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 303
    • LEthaLity
Re: Need Help with Anope anope-1.9.4-p1-source
« Reply #7 on: November 27, 2011, 05:58:55 PM »

git checkout should be run from the anope directory
Logged
Pages: [1]   Go Up