delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/10/04/21:44:57

From: raucd AT sk DOT sympatico DOT ca (Darren Rauckman)
Subject: Troubles with gnuwin32.....
4 Oct 1997 21:44:57 -0700 :
Message-ID: <34371844.5BE7.cygnus.gnu-win32@sk.sympatico.ca>
Reply-To: raucd AT sk DOT sympatico DOT ca
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

I try to compile a program and get this error, 

\lib\gcc-lib\i386-cygwin32\cygnus-2.7.2-970404\../../../../i386-cygwin32\lib/libcygwin.a(libcmain.o)(text+Oxle):libcmain.cc
undefined reference to 'Winmain AT 16'

gcc.exe: Internal compiler error: program ld got fatal signal 1

I am fairly new to this and I cannot solve this problem.  This is with
one program in another there is a similer error but instead of just
Winmain there is a whole bunch of functions that are in functions.h in
the /windows32 directory.  The files I am trying to compile are pretty
basic so the commands should be put into the .h file alright. If anyone
has had this problem and knows how to fix it or just knows how to fix it
please email me.

Darren
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019