This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: linking WXVTK with CYGWIN (Attn: stale FAQ entry)


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@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@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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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
--
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/

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