Re: [PATCH/RFC] samples/: move kprobes sources to samples

From: Mathieu Desnoyers
Date: Mon Sep 24 2007 - 18:45:40 EST


* Randy Dunlap (randy.dunlap@xxxxxxxxxx) wrote:
> Mathieu Desnoyers wrote:
> >* Randy Dunlap (randy.dunlap@xxxxxxxxxx) wrote:
> >>This is RFC patch 2/2.
> >>Patch 1/2 introduces the samples/ infrastructure:
> >> http://lkml.org/lkml/2007/9/24/397
> >>
> >
> >Hi Randy,
> >
> >I got this when building my markers (which looks alike your kprobes):
> >
> >ld: samples/built-in.o: No such file: No such file or directory
> >make: *** [.tmp_vmlinux1] Error 1
> >
> >And the Makefile from samples does not seem to be executed. And why is
> >there a Kbuild file in your first patch ?
>
> samples/Kbuild should be renamed to samples/Makefile.
> Sorry about that.
>
> I made the kprobes files build only as modules.
> You are probably attempting to build markers built-in, not as
> modules? That needs some makefile foo, I think. Sam??
>
>

Ok, fixed.. Was due either to Kbuild being there (?!?) and/or the fact
that I used += markers instead of += markers/.

Mathieu

--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
-
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/