This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: linking WXVTK with CYGWIN (Attn: stale FAQ entry)
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Torsten Schröer <torsten dot schroeer at igd dot fhg dot de>
- Cc: cygwin at cygwin dot com
- Date: Fri, 18 Mar 2005 10:33:22 -0500 (EST)
- Subject: Re: linking WXVTK with CYGWIN (Attn: stale FAQ entry)
- References: <423AAB26.4080102@igd.fhg.de>
- Reply-to: cygwin at cygwin dot com
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
(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/