[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU Mach: MIG stubs not generated

From: Ludovic Courtès
Subject: GNU Mach: MIG stubs not generated
Date: Wed, 26 May 2010 14:07:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)


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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]