Page 1 of 1

support on compileing module :P

Posted: Fri Jul 29, 2005 1:38 pm
by SliderMan
hey all :P
i wander if someone know how to compile a c file to a dll
on cygwin or other linux shell :P
thanks for helping

Posted: Fri Jul 29, 2005 2:09 pm
by Dukat
You should really first read the sticky posts :!:

http://forums.unrealircd.com/viewtopic.php?t=653

Posted: Fri Jul 29, 2005 2:45 pm
by SliderMan
i tryed!

Code: Select all

Administrator@zor-o89vw6qxhpv ~/unreal3.2
$ make -f makefile.win32 custommodule MODULEFILE=<m_whois>
bash: syntax error near unexpected token `newline'
thanks for helping :P

Posted: Fri Jul 29, 2005 8:14 pm
by Stealth
You can't make DLL's on a Linux Shell, and Cygwin is unsuported because Unreal is fully compatable with Windows. If you want the DLL, you need to compile it yourself with MSVS, or read the sticky post and ask me.

Posted: Fri Jul 29, 2005 8:50 pm
by SliderMan
thanks i will try it :P

Posted: Fri Jul 29, 2005 9:26 pm
by SliderMan
im trying to compile a new module m_whois.c
and thats what i get:

Code: Select all

--------------------Configuration: m_whois3 - Win32 Debug--------------------
Compiling...
m_whois.c
Linking...
   Creating library Debug/m_whois3.lib and object Debug/m_whois3.exp
m_whois.obj : error LNK2001: unresolved external symbol _ModuleSetOptions
m_whois.obj : error LNK2001: unresolved external symbol _add_Command
m_whois.obj : error LNK2001: unresolved external symbol _sendto_realops
m_whois.obj : error LNK2001: unresolved external symbol _del_Command
m_whois.obj : error LNK2001: unresolved external symbol _TSoffset
m_whois.obj : error LNK2001: unresolved external symbol _timeofday
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_SECURE
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_BOT
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_HELPOP
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_COADMIN
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_ADMIN
m_whois.obj : error LNK2001: unresolved external symbol _strlcat
m_whois.obj : error LNK2001: unresolved external symbol _iConf
m_whois.obj : error LNK2001: unresolved external symbol _get_access
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_SADMIN
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_NETADMIN
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_SERVICES
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_HIDEWHOIS
m_whois.obj : error LNK2001: unresolved external symbol _find_membership_link
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_REGNICK
m_whois.obj : error LNK2001: unresolved external symbol _get_mode_str
m_whois.obj : error LNK2001: unresolved external symbol _get_sno_str
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_HIDE
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_WEBTV
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_WHOIS
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_LOCOP
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_OPER
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_HIDEOPER
m_whois.obj : error LNK2001: unresolved external symbol _find_server_quickx
m_whois.obj : error LNK2001: unresolved external symbol _UMODE_INVISIBLE
m_whois.obj : error LNK2001: unresolved external symbol _find_client
m_whois.obj : error LNK2001: unresolved external symbol _strtoken
m_whois.obj : error LNK2001: unresolved external symbol _hunt_server_token
m_whois.obj : error LNK2001: unresolved external symbol _sendto_one
m_whois.obj : error LNK2001: unresolved external symbol _getreply
m_whois.obj : error LNK2001: unresolved external symbol _me
Debug/m_whois3.dll : fatal error LNK1120: 36 unresolved externals
Error executing link.exe.

m_whois3.dll - 37 error(s), 0 warning(s)
why?!?
thanks for helping