you need to tell the linker what libraries you need in your Makefile. 
this is system dependent and i've not compiled enough under windows to
know what you need, though i recognize the errors.  i recommend looking
up where your socket libraries are.  if it helps, most unix systems need
the socket and/or nsl libraries but i don't know the windows equivalent.


  alex

Mike Avila wrote:
> 
> Has anybody tried to compile Analog in a Windows environment?  I am trying
> to add some modules to Analog but I am VERY rusty on my C.
> 
> ---------------------------------------------------------------------------
> --
> Errors I am getting:
> ====================
> 
> --------------------Configuration: Makefile - Win32
> Debug--------------------
> Linking...
> alias.obj : error LNK2001: unresolved external symbol _gethostbyaddr@12
> alias.obj : error LNK2001: unresolved external symbol _inet_addr@4
> win32.obj : error LNK2001: unresolved external symbol _WSAStartup@8
> win32.obj : error LNK2001: unresolved external symbol _WSACleanup@0
> Debug/Analog.exe : fatal error LNK1120: 4 unresolved externals
> Error executing link.exe.
> 
> Analog.exe - 5 error(s), 0 warning(s)
> ---------------------------------------------------------------------------
> --
> Environment:
> ============
> 
> Windows 98
> Visual Studio 6 / Visual C 6.0
> ---------------------------------------------------------------------------
> --
> What I did:
> 
> I brought all of the .c and .h files into the IDE.  I tried to compile it
> but ran into some problems.  Got them solved and was able to move forward.
> Received duplicate routine errors and removed anlgform.c from the project.
> When I compiled it I received the above errors.
> 
> Any help is appreciated.
> 
> TIA
> 
> Mike
> 
> --------------------------------------------------------------------
> This is the analog-help mailing list. To unsubscribe from this
> mailing list, send mail to [EMAIL PROTECTED]
> with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
> --------------------------------------------------------------------

-- 
GeoCities Operations
_____________________________________
--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------

Reply via email to