Occasionally, after making a non-critical change in frysk and running 'make', the following error is presented: frysk/bindir/fstack.o: In function `fstack$4::notifyFile(java::lang::String*)': /home/yyz/mcvet/workspace/frysk/frysk-core/frysk/bindir/fstack.java:154: undefined reference to `frysk::proc::Manager::class$' /home/yyz/mcvet/workspace/frysk/frysk-core/frysk/bindir/fstack.java:154: undefined reference to `frysk::proc::Manager::host' /home/yyz/mcvet/workspace/frysk/frysk-core/frysk/bindir/fstack.java:159: undefined reference to `frysk::proc::Manager::eventLoop' /home/yyz/mcvet/workspace/frysk/frysk-core/frysk/bindir/fstack.java:162: undefined reference to `frysk::proc::ProcId::class$' /home/yyz/mcvet/workspace/frysk/frysk-core/frysk/bindir/fstack.java:162: undefined reference to `frysk::proc::ProcId::ProcId(int)' frysk/bindir/fstack.o: In function `fstack::main(JArray<java::lang::String*>*)': /home/yyz/mcvet/workspace/frysk/frysk-core/frysk/bindir/fstack.java:182: undefined reference to `frysk::util::StacktraceObserver::class$'/home/yyz/mcvet/workspace/frysk/frysk-core/frysk/bindir/fstack.java:182: undefined reference to `frysk::util::StacktraceObserver::StacktraceObserver(frysk::proc::Proc*, frysk::event::Event*)' /home/yyz/mcvet/workspace/frysk/frysk-core/frysk/bindir/fstack.java:190: undefined reference to `frysk::proc::Manager::class$' /home/yyz/mcvet/workspace/frysk/frysk-core/frysk/bindir/fstack.java:190: undefined reference to `frysk::proc::Manager::eventLoop' /home/yyz/mcvet/workspace/frysk/frysk-core/frysk/bindir/fstack.java:191: undefined reference to `frysk::util::StacktraceObserver::toPrint()' frysk/bindir/fstack.o: In function `fstack$5::execute()': /home/yyz/mcvet/workspace/frysk/frysk-core/frysk/bindir/fstack.java:186: undefined reference to `frysk::proc::Manager::class$' /home/yyz/mcvet/workspace/frysk/frysk-core/frysk/bindir/fstack.java:186: undefined reference to `frysk::proc::Manager::eventLoop' frysk/bindir/fstack.o:(.data.rel+0x5a4): undefined reference to `frysk::proc::Proc::class$' collect2: ld returned 1 exit status make[2]: *** [frysk/bindir/fstack] Error 1 make[2]: *** Waiting for unfinished jobs.... frysk/bindir/fcrash.o: In function `fcrash::finit$()': /home/yyz/mcvet/workspace/frysk/frysk-core/frysk/bindir/fcrash.java:54: undefined reference to `frysk::util::FCrash::class$' /home/yyz/mcvet/workspace/frysk/frysk-core/frysk/bindir/fcrash.java:54: undefined reference to `frysk::util::FCrash::FCrash()' frysk/bindir/fcrash.o:(.data.rel+0x3e4): undefined reference to `frysk::util::FCrash::class$' collect2: ld returned 1 exit status make[2]: *** [frysk/bindir/fcrash] Error 1 make[2]: Leaving directory `/notnfs/build/frysk-core' make[1]: *** [all] Error 2 make[1]: Leaving directory `/notnfs/build/frysk-core' make: *** [all-recursive] Error 1 This requires a deletion of the build directory and a re-runnning of the autogen script to rectify.
There was an issue with the way we were testing classes for main files. previously we used a "grep main" sort of thing and now we are using a jv-scan --find_main which is a little more robust and avoids finding the word main inside a string quote or comment for example. This was marked as Bug 3454 Can you confirm that this fixes your issue.
*** This bug has been marked as a duplicate of 3454 ***