severity 449608 minor thanks Dean Provins writes: > Package: gcj-4.1-base > Version: 4.1.1-20 > Severity: important > > > As root, the compilation of either example Makefile (Makefile.java2d or > Makefile.jawt) fails: > > ve6wvc:/usr/share/doc/gcj-4.1-base/examples# make -f Makefile.java2d > make: *** No rule to make target > `../../../../../src/libjava/classpath/examples/gnu/classpath/examples/java2d/bench.c', > needed by `all'. Stop.
ugly; this only seems to work in the source code location. > ve6wvc:/usr/share/doc/gcj-4.1-base/examples# make -f Makefile.jawt > gcjh -jni gnu.classpath.examples.jawt.DemoJAWT -o DemoJAWT.h > make: gcjh: Command not found > make: *** [DemoJAWT.h] Error 127 gcjh-4.1 should be used. > The "swing demo" described in the README also fails: > > ve6wvc:/usr/share/doc/gcj-4.1-base/examples# gcj -o swingdemo > --main=gnu.classpath.examples.swing.Demo \ > > gnu/classpath/examples/swing/Demo.java \ > > gnu/classpath/examples/swing/GNULookAndFeel.java > /tmp/ccIC2bYw.o: In function `void > gnu::classpath::examples::swing::Demo$PopupAction::actionPerformed(java::awt::event::ActionEvent*)': > ccAAmJOpjx:(.text+0x441): undefined reference to > `gnu::classpath::examples::swing::DemoFactory::class$' > /tmp/ccIC2bYw.o: In function `javax::swing::JMenuBar* > gnu::classpath::examples::swing::Demo::mkMenuBar()': > ccAAmJOpjx:(.text+0x1226): undefined reference to > `gnu::classpath::examples::swing::DemoFactory* > gnu::classpath::examples::swing::ButtonDemo::createDemoFactory()' > -------------many lines deleted---------- > /tmp/ccIC2bYw.o: In function `javax::swing::JDesktopPane* > gnu::classpath::examples::swing::Demo::createDesktop()': > ccAAmJOpjx:(.text+0x326d): undefined reference to > `gnu::classpath::examples::swing::DemoDesktop::class$' > ccAAmJOpjx:(.text+0x327c): undefined reference to > `gnu::classpath::examples::swing::DemoDesktop::DemoDesktop()' > /tmp/ccIC2bYw.o:(.data+0xc74): undefined reference to > `gnu::classpath::examples::swing::DemoFactory::class$' > collect2: ld returned 1 exit status missing classpath? maybe it's better not to ship the examples. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]