[Barrelfish-users] [Barrelfish] Missing Makefile rule

Simon Peter speter at inf.ethz.ch
Fri Jun 3 17:50:04 CEST 2011


Hi Calum,

> I'm currently trying to compile Barrelfish20110301 on ubuntu 11.04 but I get the following error after make has been running for 15mins or so:
> make: *** No rule to make target `x86_64/sbin/splash_barnes', needed by `all'. Stop.

The default build will try to build the SPLASH2 benchmarks, which we 
cannot distribute due to licensing reasons. You can simply remove the 
benchmark from your symbolic_targets.mk file in your build directory.

> I also get the following error whilst running make(same version of barrelfish) on an arch linux system using GCC 4.6.0 20110513 (prerelease):
> ./x86_32/usr/drivers/lpc_kbd/_for_app_lpc_kbd/keyboard_flounder_bindings.c
> ./x86_32/usr/drivers/lpc_kbd/_for_app_lpc_kbd/keyboard_flounder_bindings.c: In function ‘keyboard_ump_send_handler’:
> ./x86_32/usr/drivers/lpc_kbd/_for_app_lpc_kbd/keyboard_flounder_bindings.c:736:14: error: variable ‘err’ set but not used [-Werror=unused-but-set-variable]
> ./x86_32/usr/drivers/lpc_kbd/_for_app_lpc_kbd/keyboard_flounder_bindings.c: In function ‘keyboard_ump_cap_send_handler’:
> ./x86_32/usr/drivers/lpc_kbd/_for_app_lpc_kbd/keyboard_flounder_bindings.c:832:14: error: variable ‘err’ set but not used [-Werror=unused-but-set-variable]
> ./x86_32/usr/drivers/lpc_kbd/_for_app_lpc_kbd/keyboard_flounder_bindings.c: In function ‘keyboard_ump_cap_rx_handler’:
> ./x86_32/usr/drivers/lpc_kbd/_for_app_lpc_kbd/keyboard_flounder_bindings.c:971:14: error: variable ‘err’ set but not used [-Werror=unused-but-set-variable]
> cc1: all warnings being treated as errors

This is a new type of warning added in GCC 4.6 (you seem to have a 
mislabeled, patched GCC). We compile with -Werror, so it gets turned 
into an error. You should add -Wno-unused-but-set-variable to the 
compiler commandline, e.g. in hake/X86_64.hs.

Hope this helps,
Simon



More information about the Barrelfish-users mailing list