This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Library Link Problem

>Date: Wed, 25 Feb 1998 18:32:58 +0000
>From: Alain CULOS <>
>Subject: Re: Library Link Problem
>Thanks Earnie,
>make (trying to compile V) produced the following output :
>gcc -o ../Bin/vgen ../Obj/vgapp.o ../Obj/vgcmdw.o ../Obj/vgcode.o 
>vgmdlg.o ../Obj/vgdlmdlg.o ../Obj/vgtnmdlg.o ../Obj/vgcnv.o -L../Lib 
>mdlg32 -lkernel32 -luser32 -ladvapi32 -lgdi32 -lstdc++ -lV -mwindows
>/gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/bin/ld.exe: warning: cannot 
>ind entry symbol _WinMainCRTStartup; defaulting to 00401000
>It does compile and generate the exe I'm looking for, and the exe looks 
OK when I run it from within bash.
>Should I worry about this warning ?

This has be discussed before, there is a way to get rid of the warning.  
I don't remember how.  One thing that I noticed, in your command line 
you've included -lkernel32.  This will bite you under b18.  It will 
cause the program to crash.  -lkernel32 gets referenced from the specs 
file and causes problems when referenced more than once.

>Thanks again,

-        \\||//

Check out these great gnu-win32 related sites:                  (ftp site)                    (Comercial Page)                   (Project Page)                     (Mail Archives)     (HTML Man Pages)                               (Sergey Okhapkin)                (Sergey's ftp site)           (Colin Peters)    (Mumit Khan)                   (Chuck Bogorad's ports) (Den Internet Services - US mirror and ports)  (GNU-Win32 Bash Configuration)                  (Rob Warner - software ports)     (more - software portals)   (Redhat Package Manager)


add gnu-win32 or gnuwin32 to the search criteria.

Get Your Private, Free Email at
For help on using this list (especially unsubscribing), send a message to
"" with one line of text: "help".

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]