lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <344183.64836.qm@web65503.mail.ac4.yahoo.com>
Date:	Wed, 15 Apr 2009 07:18:13 -0700 (PDT)
From:	Jerry Wang <jerry18th@...oo.com>
To:	linux-kernel@...r.kernel.org
Subject: Linux Kernel Cross-Compiling question


Hi,

I am trying to cross-compile the linux 2.6.11.1 kernel on
i686 vm for ppc, and I've been getting the following
errors. Has anyone had this issue before?

Thanks,
Jerry 

> In file included from arch/ppc/kernel/asm-offsets.c:13:
> include/linux/sched.h: In function
> `arch_pick_mmap_layout':
> include/linux/sched.h:1174: error: `CONFIG_TASK_SIZE'
> undeclared (first use in this function)
> include/linux/sched.h:1174: error: (Each undeclared
> identifier is reported only once
> include/linux/sched.h:1174: error: for each function it
> appears in.)
> In file included from include/linux/mman.h:5,
>                  from arch/ppc/kernel/asm-offsets.c:19:
> include/linux/mm.h: In function `lowmem_page_address':
> include/linux/mm.h:437: error: `CONFIG_KERNEL_START'
> undeclared (first use in this function)
> In file included from arch/ppc/kernel/asm-offsets.c:21:
> include/asm/io.h: In function `virt_to_bus':
> include/asm/io.h:396: error: `CONFIG_KERNEL_START'
> undeclared (first use in this function)
> include/asm/io.h: In function `bus_to_virt':
> include/asm/io.h:407: error: `CONFIG_KERNEL_START'
> undeclared (first use in this function)
> include/asm/io.h: In function `virt_to_phys':
> include/asm/io.h:420: error: `CONFIG_KERNEL_START'
> undeclared (first use in this function)
> include/asm/io.h: In function `phys_to_virt':
> include/asm/io.h:429: error: `CONFIG_KERNEL_START'
> undeclared (first use in this function)
> arch/ppc/kernel/asm-offsets.c: In function `main':
> arch/ppc/kernel/asm-offsets.c:139: error:
> `CONFIG_TASK_SIZE' undeclared (first use in this
> function)
> make[1]: *** [arch/ppc/kernel/asm-offsets.s] Error 1
> make: *** [arch/ppc/kernel/asm-offsets.s] Error 2


      
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ