Re: [PATCH v2 1/7] liblockdep: wrap kernel/lockdep.c to allow usagefrom userspace

From: Ingo Molnar
Date: Sun Feb 03 2013 - 14:10:46 EST



* Sasha Levin <sasha.levin@xxxxxxxxxx> wrote:

> On 02/03/2013 06:04 AM, Ingo Molnar wrote:
> >
> > So I applied your patches and did:
> >
> > cd tools/lib/lockdep
> > make
> >
> > and got:
> >
> > comet:~/tip/tools/lib/lockdep> make
> > CC FPIC common.o
> > In file included from ./uinclude/linux/lockdep.h:13:0,
> > from
> > /fast/mingo/tip/tools/lib/lockdep/common.c:4:
> > ./../../../include/linux/lockdep.h:21:27: fatal error: linux/linkage.h: No such file or directory
> > compilation terminated.
> > make: *** [common.o] Error 1
>
> That's odd, uinclude/linux/linkage.h is an empty file which is
> needed there just so gcc won't complain (like it did in the
> example above).

Ah, indeed - an empty file that Quilt mishandles, so the problem
is on my side.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/