delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/18/10:57:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 18 Mar 2005 10:57:33 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
cc: =?ISO-8859-15?Q?Torsten_Schr=F6er?= <torsten DOT schroeer AT igd DOT fhg DOT de>
Subject: Re: linking WXVTK with CYGWIN (Attn: stale FAQ entry)
In-Reply-To: <Pine.GSO.4.61.0503181009400.14302@slinky.cs.nyu.edu>
Message-ID: <Pine.GSO.4.61.0503181056520.14302@slinky.cs.nyu.edu>
References: <423AAB26 DOT 4080102 AT igd DOT fhg DOT de> <Pine DOT GSO DOT 4 DOT 61 DOT 0503181009400 DOT 14302 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0

---559023410-758783491-1111160002=:14302
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1
Content-Transfer-Encoding: 8BIT
Content-ID: <Pine DOT GSO DOT 4 DOT 61 DOT 0503181056522 DOT 14302 AT slinky DOT cs DOT nyu DOT edu>

On Fri, 18 Mar 2005, Igor Pechtchanski wrote:

> On Fri, 18 Mar 2005, Torsten Schröer wrote:
>
> > Hello all,
> >
> > I need help on compiling / linking WXVTK (http://wxvtk.sourceforge.net/)
> > with *cygwin*.
> > [snip]
> >
> > Now, with *cygwin*, WXVTK compiles, but won't link. This is the Linker Info
> > troubling me:
> > .
> > Info: resolving
> > __/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../libcygwin.a(lib
> > cmain.o)(.text+0xb3): undefined reference to `_WinMain AT 16'
> > .
> >
> > Is this a cygwin-problem? I assume it is, that's why I posting it in here.
> > Please correct me, when I'm wrong.
>
> Does <http://cygwin.com/faq/faq_3.html#SEC94> help (actually, the part
> about libm is out of date[*], but the missing main() still applies).  A
> web search for 'cygwin "_WinMain AT 16" inurl:2004' also proved productive

As Dave Korn pointed out (and as the "inurl:" modifier should imply) this
is, of course, a *Google* web search. :-)
	Igor

> (make sure you "repeat the search with the omitted results included").
>
> If not, please read and follow the Cygwin problem reporting guidelines
> outlined at <http://cygwin.com/problems.html> (pay special attention to
> the part that says "attach the output of 'cygcheck -svr'").  It might also
> be interesting to see the *exact* gcc/ld invocation that fails.
> 	Igor
> [*] Joshua, should this be updated?

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

---559023410-758783491-1111160002=:14302
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
---559023410-758783491-1111160002=:14302--

- Raw text -


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