From: Stefan S. <se...@sy...> - 2005-02-01 15:27:43
|
Grzegorz Jakacki wrote: > Stefan Seefeld wrote: > >> I'v just tried compiling occ-core myself (on fedora core 3) >> but got a bunch of errors during the build. So I can't >> even reproduce your test :-( > > > I have just built on fedora core 2. Maybe you missed instructions in > BUILDING ? I have just added ./configure to streamline the process, HTH. The main problem stems from the use of '-fprofile-arcs -ftest-coverage' during compilation. If I add '-fprofile-arcs' to the link command everything works fine (ommitting that option during linking will result in unresolved symbols, as some profiler library needs to be linked in). If you intend the toplevel Makefile to be generic you probably want to left the above options out alltogether to be safe. Else an additional configure step may be in order so you can check what is and is not available on the current platform. Some nit-picking: Makefile: All occurences of '$?' should probably be replaced by '$^'. Using '$?' make will only consider modified files, which is wrong as you need always all for linking. BUILDING: The line 1. change to directory opencxx/parser and execute ptree-gen.sh should read 1. change to directory occ-core/parser and execute ptree-gen.sh Regards, Stefan |