Re: [jnc-users] JNC hangs
Status: Beta
Brought to you by:
soapy
From: Marco T. <mt...@gm...> - 2007-02-21 07:48:15
|
Lee D. Painter wrote: > Marco, > >>> All of the jar files are compiled as a whole except swt.jar which is >>> references only. >> Can you try a compilation with reference only by starting JNC by > running >> "autocompiler -debug"? This will start the gui but keep the console > open >> and print exceptions if any... > > I tried this and I see no additional exceptions in the console. > > Yesterday something else started happening, it started to compile > without getting stuck when using it through the JNC 1.1 GUI but the link > fails with multiple definition errors again (see below). This seems to > have no pattern as sometimes it compiles and others it gets stuck as per > the original problem. I did change some virtual memory settings before > this happened though but when monitoring the compile everything seems to > be within limits. Hmmm... If it works now, I'd suggest we blame the memory (swap) and go on with life... After all, I never had problems compiling SWT. > The same project file executed above compiles and links correctly in > 1.0.1 without modification. This is rather quite confusing :( > > Lee > > ----- > > c:/workspace.head/build-tools/jnc/gcc-121694-win/bin/../lib/gcc/i686-pc- > mingw32/4.3.0/../../../libgcj.a(gui_java_text.o): In function > `ZN4java4text8Collator11getInstanceEJPS1_PNS_4util6LocaleE':D:/programmi > ng/jnc/libs/gui/win/java/text/Collator.java:255: multiple definition of > `java::text::Collator* > java::text::Collator::getInstance(java::util::Locale*)' > libs/win/libjncNoGui.a:ccuecaaa.jar:(.text+0x840): first defined > here > > c:/workspace.head/build-tools/jnc/gcc-121694-win/bin/../lib/gcc/i686-pc- > mingw32/4.3.0/../../../libgcj.a(gui_java_text.o): In function > `ZN4java4text8CollatorC1Ev':D:/programming/jnc/libs/gui/win/java/text/Co > llator.java:453: multiple definition of > `java::text::Collator::Collator()' Since 1.1, the package java.text is also excluded if you check the "exclude gui" box. Your code depends on it... Either change the code or uncheck the "exclude gui" box. There's a faq entry on the homepage about these "multiple definition" errors if you're interested... Marco |