[Top][All Lists]

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

Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

From: Antti Kantee
Subject: Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O
Date: Sun, 30 Aug 2015 14:44:44 +0000

On 30/08/15 10:22, Robert Millan wrote:
I figured out how to generate those off-tree and wrote a small Makefile
snippet to do it:

experimentalUser.c experimental_U.h:
     echo '#include <mach/experimental.defs>' \
         | gcc -E -x c - -o - \
         | mig -cc cat - /dev/null -subrprefix __ \
             -user experimentalUser.c \
             -server /dev/null \
             -header experimental_U.h

However no matter how I try to tell rumpmake the experimentalUser.c
build instructions, it seems uncapable
of doing so:

nbmake[1]: don't know how to make experimentalUser.c. Stop

I've tried using absolute paths to rule out that it's a cwd problem, but
still same error.

Any idea what I'm doing wrong?

One thing you are doing wrong is creating a rule which creates two targets. If both targets happen to be made in parallel, you usually get corrupt output. So e.g. make the .h depend on the .c (or simply omit it entirely if nothing on the chain depends on the .h).

Might also consider replacing gcc with ${CC}?

But that's not what you were asking for. I don't know what's wrong based on the above. Can you paste the entire Makefile and command line?

reply via email to

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