| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-ID: | <000c01c05b19$bc9f9960$32b40280@sp.cs.cmu.edu> |
| From: | Anthony Gallagher <anthonyg+@cs.cmu.edu> |
| To: | cygwin <cygwin AT sourceware DOT cygnus DOT com> |
| References: | <20001128123520 DOT A183 AT dothill DOT com> <VA DOT 0000057f DOT 00501876 AT thesoftwaresource DOT com> <20001130162749 DOT F299 AT dothill DOT com> |
| Subject: | Please help with making DLL |
| Date: | Thu, 30 Nov 2000 17:06:05 -0500 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook Express 5.50.4133.2400 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
Hi I am having great trouble making a DLL. The compiler complains that there is an undefined reference to WinMain AT 16. I do not understand why does it want a WinMain when I am trying to create a DLL, and do not know how to get around this problem. My DOS command is the following: gcc -s -Wl,--base-file,FaceDetectDLL.base -o FaceDetectDLL.dll FaceDetectDLL.o libfacedetect.a -L..\Misc_Object_Code\adalib\ -L..Misc_Object_Code\Win32Ada ..\Ada_libraries\libgnarl.a ..Ada_libraries\libgnat.a -Wl,-e,-DllMain AT 12 The error message is: D:\GNAT\lib/libmingw32.a(main.o)(.text+0x7f):main.c: undefined reference to 'WinMain AT 16' Does anybody know what this could mean? TIA, Anthony -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |