Undefined reference to 'WinMain@16'???

Roland Geier geier@forwiss.uni-passau.de
Thu Jul 3 06:36:00 GMT 1997


Sergey Okhapkin wrote:

>> Roland Geier wrote:
>> When trying to build a dll consisting of serveral c++-object-files I
>> always get an undefined reference to 'WinMain@16'. 
>
>
> Add empty main() function to one of your sources.

Thx, it works!

--- Roland.

---
Roland Geier                    Phone: ++49 (8505) 92182          
Universitaet Passau, GER 	Fax:   ++49 (8505) 922311
Lehrstuhl Prof. Dr. Donner      geier@forwiss.uni-passau.de	
D-94032 Passau                  http://www.uni-passau.de/~geier/

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



More information about the Cygwin mailing list