[Debian] Kernel images

Kir Kolyshkin kir at openvz.org
Sun Dec 10 17:29:48 EST 2006


Ola Lundqvist wrote:
> * The second thing is that the ia64 build do not work for some reason.
>   I do not know why. Maybe you can help me?
>
>   CC      arch/ia64/ia32/ia32_signal.o
>   CC      arch/ia64/ia32/ia32_support.o
>   CC      arch/ia64/ia32/ia32_traps.o
>   CC      arch/ia64/ia32/binfmt_elf32.o
> arch/ia64/ia32/binfmt_elf32.c: In function 'ia64_elf32_init':
> arch/ia64/ia32/binfmt_elf32.c:141: warning: implicit declaration of function 'ub_memory_charge'
> arch/ia64/ia32/binfmt_elf32.c:144: error: 'UB_SOFT' undeclared (first use in this function)
> arch/ia64/ia32/binfmt_elf32.c:144: error: (Each undeclared identifier is reported only once
> arch/ia64/ia32/binfmt_elf32.c:144: error: for each function it appears in.)
> arch/ia64/ia32/binfmt_elf32.c:169: warning: implicit declaration of function 'ub_memory_uncharge'
> arch/ia64/ia32/binfmt_elf32.c: In function 'ia32_setup_arg_pages':
> arch/ia64/ia32/binfmt_elf32.c:231: error: 'UB_SOFT' undeclared (first use in this function)
> make[2]: *** [arch/ia64/ia32/binfmt_elf32.o] Error 1
> make[1]: *** [arch/ia64/ia32] Error 2
> make[1]: Leaving directory `/home/opal/openvz-2.6/linux-source-2.6.18'
> make: *** [debian/stamp-build-kernel] Error 2
>
>
> opal at merulo:~/openvz-2.6$ uname -a
> Linux merulo 2.6.18-dsa-mckinley #1 SMP Tue Dec 5 13:32:29 MST 2006 ia64 GNU/Linux
>   

Looks like you have CONFIG_IA32_SUPPORT=y in your .config, unlike ours. 
Adding include for ub/ub_vmpages.h should help (unfortunately I can not 
check that at the moment) -- attached is the patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ia64_ia32-ubc-compilefix.patch
Type: text/x-patch
Size: 348 bytes
Desc: not available
Url : http://openvz.org/pipermail/debian/attachments/20061211/07f3fe64/ia64_ia32-ubc-compilefix.bin


More information about the Debian mailing list