It appears to compile fine, but then when I go to start the server, I get "* unrealircd.conf:34: loadmodule src/modules/commands.so: failed to load: Module is lacking Mod_Version. Perhaps a very old one you forgot to recompile?"
Now, it's definitely not an old one, I think there's a problem in the linking when the modules are compiled.
I've been getting the error "cc: -flat_namespace: linker input file unused since linking not done" while modules are compiling, then a bunch of warnings:
Code: Select all
cc -I/usr/local/irc/Unreal3.2/include -I/usr/local/irc/Unreal3.2/extras/regexp/include -I/usr/local/irc/Unreal3.2/extras/c-ares/include -L/usr/local/irc/Unreal3.2/extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -dynamic -flat_namespace -bundle -undefined warning -c m_time.c
cc: -flat_namespace: linker input file unused since linking not done
Code: Select all
cc -I/usr/local/irc/Unreal3.2/include -I/usr/local/irc/Unreal3.2/extras/regexp/include -I/usr/local/irc/Unreal3.2/extras/c-ares/include -L/usr/local/irc/Unreal3.2/extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -dynamic -flat_namespace -bundle -undefined warning -DDYNAMIC_LINKING \
-o m_akill.so m_akill.c
/usr/bin/ld: warning undefined symbols:
_ModuleSetOptions
_TSoffset
_UMODE_OPER
_add_Command
_del_Command
_getreply
_ircsprintf
_loop
_m_tkl
_me
_sendto_one
_sendto_realops
_timeofday
Code: Select all
cc -I/usr/local/irc/Unreal3.2/include -I/usr/local/irc/Unreal3.2/extras/regexp/include -I/usr/local/irc/Unreal3.2/extras/c-ares/include -L/usr/local/irc/Unreal3.2/extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -dynamic -bundle -undefined error -c m_quit.c
Another change, and then I got "* unrealircd.conf:34: loadmodule src/modules/commands.so: failed to load: not a Mach-O MH_BUNDLE file type" when I tried to start the server..
Code: Select all
cc -I/usr/local/irc/Unreal3.2/include -I/usr/local/irc/Unreal3.2/extras/regexp/include -I/usr/local/irc/Unreal3.2/extras/c-ares/include -L/usr/local/irc/Unreal3.2/extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -nostdlib -r -shared -flat_namespace -undefined warning -DDYNAMIC_LINKING \
-o m_part.so m_part.c
Thanks for any advice, and thanks for a great ircd.