delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/03/00:55:19

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: Undefined reference to 'WinMain AT 16'???
3 Jul 1997 00:55:19 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC879C.DB205B30.cygnus.gnu-win32@sos>
Original-To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'Roland Geier'"
<geier AT forwiss DOT uni-passau DOT de>
Encoding: 10 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Roland Geier wrote:
> When trying to build a dll consisting of serveral c++-object-files I
> always get an undefined reference to 'WinMain AT 16'. 

Add empty main() function to one of your sources.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job

-
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