Mail Archives: cygwin/2005/03/18/10:33:37
---559023410-758783491-1111160002=:14302
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT
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
(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 -