From: Vamsi K. S . <va...@in...> - 2003-01-07 16:01:00
|
On Mon, Jan 06, 2003 at 03:55:09PM -0800, Luigi Semenzato wrote: > > Hello, > > I have a problem compiling a kernel with dprobes on a stock > RH 7.3 installation and I wonder if anybody ran into the > same problem (and has a workaround). > > I downloaded the dprobes 3.6.3 patches and applied them with > a few small conflicts that were trivial to fix by hand. I > configured the kernel with > > CONFIG_HOOK=y > CONFIG_DPROBES=y > CONFIG_DPROBES_CORE=y > You may want to turn on "Global Debug Registers" (CONFIG_DR_ALLOC) too. > but when I compile dprobes_hook.c, the preprocessor turns > the three USE_HOOKS statements into a bunch of spaces > (exactly the number of spaces taken by the unexpanded > statements) instead of the expected declarations. > > I am using gcc 2.96 20000731, and the kernel is 2.4.18-3 > i686. > I use the exact same compiler. no problems. Just to be sure, would you mind trying with the patch attached? It is dprobes v3.6.4 on RH 2.4.18-5, which is what I have readily on hand. Let us know how it goes. Thanks. Vamsi. -- Vamsi Krishna S. Linux Technology Center, IBM Software Lab, Bangalore. Ph: +91 80 5044959 Internet: va...@in... |