[Barrelfish-users] trace_defs.h error compiling latest release

Stefan Kästle stefan.kaestle at inf.ethz.ch
Wed Mar 27 14:28:35 CET 2013

Hi Georgios,

thanks for reporting this.

We cannot reproduce this on our systems, but it is obviously a 
dependency bug in the Makefile. Attached is a patch attempting to fix 
this for x86. Can you run it on your machine and see if it works?


On 03/27/2013 01:20 PM, Georgios Varisteas wrote:
> 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
> _______________________________________________
> Barrelfish-users mailing list
> Barrelfish-users at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users


-------------- next part --------------
A non-text attachment was scrubbed...
Name: tracing_depend.patch
Type: text/x-patch
Size: 1037 bytes
Desc: not available
Url : https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20130327/d9591efe/attachment.bin 

More information about the Barrelfish-users mailing list