Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Compiling modules in 1.7.23b?  (Read 3062 times)

0 Members and 1 Guest are viewing this topic.

illusion

  • Anope User
  • Offline Offline
  • Posts: 5
Compiling modules in 1.7.23b?
« on: October 08, 2008, 12:27:26 AM »

I'm assuming that most of the 3rd party modules won't work with 1.7.23b? Just a thought


- (~/anope-1.7.23) - make modules

gcc -pipe -g -O2 -I/usr/local/include/mysql -pipe -march=pentium4  -fno-strict-aliasing -export-dynamic -rdynamic -Wall -fPIC -DPIC -shared -I../../include -c ircd_init.c
gcc -shared ../mod_version.o ircd_init.o -o ircd_init.so
make all in dummy...
make all in modules...
make all in dummy...
*** All done, now (g)make install to install Anope/Modules


- (~/anope-1.7.23) - make install
*** All done, Anope is now installed. Please read docs/INSTALL for details on what to do now.


(09:25:17) (Global) OperServ: illusion: modload ircd_init
(09:25:17) (Global) Trying to load module [ircd_init]
(09:25:17) (Global) Module ircd_init is compiled against an old version of anope (1440) current is 1469
(09:25:17) (Global) Rebuild module ircd_init against the current version to resolve this error
(09:25:17) (Global) Module loading status: 6 (Module Error, Error during load time or module returned MOD_STOP)
(09:25:17) -OperServ- Unable to load module ircd_init
« Last Edit: October 08, 2008, 12:38:00 AM by illusion »
Logged

katsklaw

  • Guest
Re: Compiling modules in 1.7.23b?
« Reply #1 on: October 08, 2008, 10:32:56 AM »

you should really search the forums before creating new threads.

Read: http://forum.anope.org/index.php?topic=2387.msg12948
Logged

illusion

  • Anope User
  • Offline Offline
  • Posts: 5
Re: Compiling modules in 1.7.23b?
« Reply #2 on: October 08, 2008, 11:10:41 AM »

you should really search the forums before creating new threads.

Read: http://forum.anope.org/index.php?topic=2387.msg12948

I saw that thread, that's why I posted

You might successfully compile those 2 modules on your newest and latest anope shell without warning and stuffs (which in case you are at luck)

It compiled without any errors using build 1469, but the modload error returns it was compiled with build 1440.
Also, n00bie states the code won't be updated for the win32 dll's, doesn't say anything about the source, hence why I asked.
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
Re: Compiling modules in 1.7.23b?
« Reply #3 on: October 08, 2008, 11:56:14 AM »

Run make distclean, and the recompile Anope completely.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/
Pages: [1]   Go Up