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

From: Sasha Levin
Date: Sun Feb 03 2013 - 11:19:58 EST


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).

Can you please verify that uinclude/linux/linkage.h actually exists after you've
applied the patches? If it does, I'm not really sure why it's not getting found.


Thanks,
Sasha

--
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/