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: [1.7]/usr/lib/libcygwin.a(libcmain.o):(.text+0xa9): undefined reference to `_WinMain@16'


2009/11/27 Tatsuro MATSUOKA:
> gcc-4 ?-O3 -fomit-frame-pointer ?-L/usr/lib -o gnuplot-tikz.lua.exe ? -lpangocairo-1.0 -lcairo
> -lpangoft2-1.0 -lpixman-1 -lglitz -lpng12 -lxcb-render-util -lXrender -lxcb-render -lX11 -lxcb -lXau
> -lXdmcp -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
> -lintl -liconv
> /usr/lib/libcygwin.a(libcmain.o):(.text+0xa9): undefined reference to `_WinMain@16'
>
> What library should I link to overcome the above: undefined reference to `_WinMain@16' ?

You may want to check http://www.bloodshed.net/dev/faq.html#winmain
There appears to be no .o in that commandline, so there may be no
main() defined.

-- 
Life is complex, with real and imaginary parts

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


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