c - Building VFML Incremental Decision Tree Segmentation Fault -
i'm attempting compile vfml toolkit on ubuntu 10.04. built using gcc , hasn't been maintained in 7 years, it's open source implementation of incremental decision tree algorithm (vfdt), i'd evaluate it.
after fixing couple minor bugs in makefile , vfml/src/core/beliefnet.c, able compile it. however, attempting run vfdt or cvfdt binaries on example "banana" dataset (vfml/examples/c45interface/test.data) results in segmentation fault.
localhost:vfml$ vfdt -batch -f test segmentation fault my c little rusty, , it's been while since i've debugged these kinds of errors. can recommend best way fix such old code? route dig gdb or there other way update code work modern version of gcc?
the 'best way' fix old code start known working environment , migrate environment want. find popular stable distribution last release date.
if last release july 2003, try red hat linux 9 (shrike-i386-disc1.iso, shrike-i386-disc2.iso, shrike-i386-disc3.iso).
install distribution appropriate tool , library options. once distribution installed try building source. if lucky source build. if not, update compiler , libraries until minimum dependencies satisfied. there try updating 1 component (library or compiler) in reasonable size step until reach modern toolset. keep careful track of last configuration built sucessfully. way, if loose track, can go last successful state. may lot of work, more willing do, trying answer question asked rather encourage more modern or better supported library. luck!
Comments
Post a Comment