[Barrelfish-users] trace_defs.h error compiling latest release
Georgios Varisteas
yorgos at kth.se
Wed Mar 27 13:20:47 CET 2013
Hi,
I had an issue with the latest release. Cloned afresh I got the following:
Generating x86_64/kernel/arch/x86/misc.o.depend
../src/include/trace/trace.h:65:42: fatal error: trace_definitions/trace_defs.h: No such file or directory
compilation terminated.
I fixed the issue doing the following (../src/ is my source folder):
1. manually built pleco:
ghc -i../src/tools/pleco -odir ./tools/tools/pleco -hidir ./tools/tools/pleco -rtsopts=all --make ../src/tools/pleco/Main.lhs -o ./tools/bin/pleco $(LDFLAGS) -i../src/tools/fof
2. manually created <arch>/include/trace_definitions/ and <arch>/trace_definitions/ folders. Otherwise pleco aborted with:
pleco: ./x86_64/include/trace_definitions/trace_defs.h: openFile: does not exist (No such file or directory)
3. manually generate the missing files:
./tools/bin/pleco ../src/trace_definitions/trace_defs.pleco ./x86_64/include/trace_definitions/trace_defs.h ./x86_64/trace_definitions/trace_defs.json ./x86_64/trace_definitions/trace_defs.c
4. make normally
cheers,
Georgios
More information about the Barrelfish-users
mailing list