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]

[1.7]/usr/lib/libcygwin.a(libcmain.o):(.text+0xa9): undefined reference to `_WinMain@16'


Hello

When linking gnuplot-tikz.lua.exe, which is part of gnuplot for a lua related terminal, the following
error appeared
   
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' ?

Regards

Tatsuro



--------------------------------------
What is your No.1 Entertainment of 2009? -Yahoo! JAPAN Net BANZUKE 2009
http://pr.mail.yahoo.co.jp/banzuke/

--
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]