From: Paul <ele...@ya...> - 2005-01-27 23:03:05
|
Did you extract all the contents of all the relevant packages that are new? libmingw32.a is in the runtime package, i think. maybe that one needs updating? SourceForge.net wrote: > Read and respond to this message at: > https://sourceforge.net/forum/message.php?msg_id=2962463 > By: neonpill > > I have now also tried the solution suggested by vbguy. I'm getting a different > error now (extracted the contents of gcc-core-3.3.1-20030804-1.tar.gz and > gcc-java-3.3.1-20030804-1.tar.gz over an installation of MinGW32 3.2.0 RC3, > and now I get this error: > > /mingw/lib/libmingw32.a(main.o)(.text+0x106): undefined reference > to `WinMain@16' > > This is my program, in "HelloWorld.java": > > // HelloWorld.java > import java.util.*; > > public class HelloWorld { > public static void main(String[] args) { > System.out.println("Hello World"); > } > } > > I am compiling by calling gcj -o HelloWorld HelloWorld.java. > > What am I doing wrong? > > ______________________________________________________________________ > You are receiving this email because you elected to monitor this forum. > To stop monitoring this forum, login to SourceForge.net and visit: > https://sourceforge.net/forum/unmonitor.php?forum_id=286533 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > |