Hello, GNU Mach currently fails to build for me:
--8<---------------cut here---------------start------------->8--- i586-pc-gnu-gcc -DHAVE_CONFIG_H -I. -nostdinc -imacros config.h -Ii386 -I. -I./i386 -I./i386/include/mach/sa -I./include -Wall -fno-strict-aliasing -fno-stack-protector -g -O2 -c -o vm/memory_object.o vm/memory_object.c vm/memory_object.c:51:40: fatal error: vm/memory_object_user.user.h: No such file or directory --8<---------------cut here---------------end--------------->8--- (From <http://hydra.nixos.org/build/424416>.) >From a quick glance, the reason seems to be that MIG-generated stubs are listed in ‘nodist_libkernel_a_SOURCES’, whereas they should really be ‘BUILT_SOURCES’, so that they get built before the libkernel.a sources are compiled. I noticed that ‘configure.ac’ reads this: --8<---------------cut here---------------start------------->8--- # See <http://lists.gnu.org/archive/html/automake/2006-05/msg00038.html>. # # We don't use `BUILT_SOURCES' (as it was suggested in the follow-up message), # as we also want things like `make SPECIFIC_TARGET' to work. --8<---------------cut here---------------end--------------->8--- However I don’t see any reason why ‘BUILT_SOURCES’ wouldn’t work here. What am I missing? Thanks, Ludo’.