support on compileing module :P

These are old archives. They are kept for historic purposes only.
Post Reply
SliderMan
Posts: 19
Joined: Fri Jul 29, 2005 1:34 pm
Contact:

support on compileing module :P

Post 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
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

You should really first read the sticky posts :!:

http://forums.unrealircd.com/viewtopic.php?t=653
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
SliderMan
Posts: 19
Joined: Fri Jul 29, 2005 1:34 pm
Contact:

Post 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
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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.
SliderMan
Posts: 19
Joined: Fri Jul 29, 2005 1:34 pm
Contact:

Post by SliderMan »

thanks i will try it :P
SliderMan
Posts: 19
Joined: Fri Jul 29, 2005 1:34 pm
Contact:

Post 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
Post Reply