Thanks for the push in the right direction.  In previous VC installs and
builds things were setup automatically.  But most of that ran in background
under DOS.  I had a minor problem with the install so the correct batch
file did not install correctly.  In any case, I found the winsock lib, made
sure the path was in the Integrated Developer Environment settings, added
the library to the list so it was forced to use it, recompiled, and now it
works.

Now I can move onward with adding some modules to Analog and testing them.

THANKS!

Mike


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of alex
> Sent: Monday, December 28, 1998 2:44 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [analog-help] Need Help Compiling Analog in Windows
> Environment
>
>
> 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.
> --------------------------------------------------------------------
>

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