compiling in win32
compiling in win32
hi,
can anyone give the exact steps to do in compiling the modeules for win32?
thanks
can anyone give the exact steps to do in compiling the modeules for win32?
thanks
hi again,
i saw this in makefile.win32
src/l_commands.obj: src/modules/l_commands.c $(INCLUDES)
$(CC) $(CFLAGS) src/modules/l_commands.c
i wonder if i just add the same format as above but replace it with the modules i wanna compile it will do? example
src/l_commands.obj: src/modules/operonlymap.c $(INCLUDES)
$(CC) $(CFLAGS) src/modules/operonlymap.c
thanks
i saw this in makefile.win32
src/l_commands.obj: src/modules/l_commands.c $(INCLUDES)
$(CC) $(CFLAGS) src/modules/l_commands.c
i wonder if i just add the same format as above but replace it with the modules i wanna compile it will do? example
src/l_commands.obj: src/modules/operonlymap.c $(INCLUDES)
$(CC) $(CFLAGS) src/modules/operonlymap.c
thanks
In Unreal3.2/doc/compiling_win32.txt you will only see how to compile Unreal3.2 under Windows. Unfortunately, compiling modules for wircd is not so simple, and there's no official documentation on that. The only way you can get modules to be loaded in wircd is to compile them statically, therefore they will always act to be permanent (you can find the reason for this here). However this requires you to modify the UnrealIRCd source code, which might lead you to lose support from the UnrealIRCd Team. In case it doesn't matter, have a look at my documentation page, you'll find the necessary steps there.
By the way, operonlymap is one of my old modules, try hideserver instead. And if anyone decides to use such a module, please read question 57 at Syzop's FAQ page first.
By the way, operonlymap is one of my old modules, try hideserver instead. And if anyone decides to use such a module, please read question 57 at Syzop's FAQ page first.
hi angrywolf,
yeah i just tried compiling and it seems not all modules are compatiable in win32. the first which i added of 6 joinpartsno.c returns failed. so i would have to omit it out and see if the rest fails.
btw the msg is: fatal error U1073: don't know how to make 'src/modules/joinpartsno.c'
thanks again
yeah i just tried compiling and it seems not all modules are compatiable in win32. the first which i added of 6 joinpartsno.c returns failed. so i would have to omit it out and see if the rest fails.
btw the msg is: fatal error U1073: don't know how to make 'src/modules/joinpartsno.c'
thanks again
Hi there,
well its really my bad, after the first failed i deleted the whole directory and did not copy all my modules over thus the failure. all modules successfully compiled into win32 except for afew which the module itself seems to have some text error.
The error msg was something like there a extra Init_Init, Load_Load, Unload_Unload that the compiler wouldn't understand. Editing the module itself works only if you change the name of the module that has the above error example:
DLLFUNC int MOD_INIT(m_ircops)(ModuleInfo *modinfo) to
DLLFUNC int MOD_INIT(ircops)(ModuleInfo *modinfo)
and the same for Load and Unload also the filename name.
thanks again code and angry
well its really my bad, after the first failed i deleted the whole directory and did not copy all my modules over thus the failure. all modules successfully compiled into win32 except for afew which the module itself seems to have some text error.
The error msg was something like there a extra Init_Init, Load_Load, Unload_Unload that the compiler wouldn't understand. Editing the module itself works only if you change the name of the module that has the above error example:
DLLFUNC int MOD_INIT(m_ircops)(ModuleInfo *modinfo) to
DLLFUNC int MOD_INIT(ircops)(ModuleInfo *modinfo)
and the same for Load and Unload also the filename name.
thanks again code and angry
I have an idea what you are talking about, however if you find problems/bugs in 3rd party modules, you'd better report them directly to the author. (They shouldn't be reported here, because this is the official Unreal3.2 modules forum, and the Unreal Team has almost nothing to do with modules made by others.)