Scott D Friedemann <[EMAIL PROTECTED]> wrote:
> I followed the detailed instructions from the 2007-01-14 posting for
> re-compiling analog to recognize the Vista operating system and
> receive this error upon running make
> 
> alias.o:alias.c:(.text+0x1287): undefined reference to [EMAIL PROTECTED]'
> alias.o:alias.c:(.text+0x12ad): undefined reference to
> [EMAIL PROTECTED]' win32.o:win32.c:(.text+0x1b): undefined reference
> to [EMAIL PROTECTED]' win32.o:win32.c:(.text+0x75): undefined reference
> to [EMAIL PROTECTED]' collect2: ld returned 1 exit status
> make: *** [analog] Error 1
> 
> 
> Can someone help me get past this error?

It looks like you didn't modify the Makefile to tell MinGW to compile the code 
as a Win32 Executable.

You need to edit two files:

C:\MinGW\analog-6.0\src\Makefile
Line 32:
Change   OS = UNIX
to       OS = WIN32

Line 34:
Change   LIBS = -lm
to       LIBS = -lwsock32 -lm

Aengus

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

Reply via email to