[Click] click kernel module compile for Debian Lenny

springbo at cs.wisc.edu springbo at cs.wisc.edu
Thu Oct 16 15:34:14 EDT 2008


Hi Steve,

Kernel configuration options differ significantly from one version to the
next. So you cannot simply use one kernel's .config to build another
kernel. Configuration options not assigned a value are not compiled (See
Documentation/kbuild/makefiles.txt). Configuration option renames and
removals from one version to the next will likely cause module
dependencies to not be satisfied.

If you really want to use the 2.6.26 .config try 'make oldconfig'. This
will attempt to use as much of the old(new) config as possible. Another
option would be to configure the kernel using one of the other targets
('make menuconfig', see 'make help' for more options)

I would recommend configuring and testing a stock 2.6.19.2 kernel before
worrying about the click patches.

Hope this helps,
Kevin Springborn

> Hi,
>
> I have installed the latest Debian testing system (Lenny) and I'm trying
> to follow your Installation instructions for making a new kernel (I
> downloaded the 2.6.19.2 sources from
> www.kernel.org and applied your click kernel patch for this distribution
> and everything went fine.
>
> I followed the kernel build instructions in it blew up in make bzImage:
>
> LD      init/built-in.o
> LD      .tmp_vmlinux1
> arch/x86_64/kernel/built-in.o: In function `dump_task_regs':
> (.text+0x22f): undefined reference to `_proxy_pda'
> arch/x86_64/kernel/built-in.o: In function `affinity_set':
> mce_amd.c:(.text+0xb6cc): undefined reference to `_proxy_pda'
> arch/x86_64/kernel/built-in.o: In function `smp_apic_timer_interrupt':
> (.text+0x110ee): undefined reference to
>  `_proxy_pda'
> arch/x86_64/kernel/built-in.o: In function `do_nmi':
> (.text+0x11587): undefined reference to `_proxy_pda'
> arch/x86_64/mm/built-in.o: In function `pgtable_bad':
> fault.c:(.text+0x76f): undefined reference to `_proxy_pda'
> arch/x86_64/ia32/built-in.o:(.text+0x2650): more undefined references to
> `_proxy_pda' follow
> make: *** [.tmp_vmlinux1] Error 1
>
> I used the config file that was in my boot directory:
>
> /boot/config-2.6.26-1-amd64
>
> as my .config
>
> What am I doing wrong?
>
> Thanks,
>
> Steve
>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>





More information about the click mailing list