[oe-commits] [Bug 5399] New: On both collie and tosa, kexec-tools-static fails (due to klibc includes not finding mach/memory.h )
bugzilla-daemon at git.openembedded.org
bugzilla-daemon at git.openembedded.org
Wed Feb 17 09:58:31 UTC 2010
http://bugs.openembedded.org/show_bug.cgi?id=5399
Summary: On both collie and tosa, kexec-tools-static fails (due
to klibc includes not finding mach/memory.h )
Product: Openembedded
Version: org.openembedded.dev
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Keywords: angstrom, collie
Severity: critical
Priority: P3
Component: Devices
AssignedTo: openembedded-commits at lists.openembedded.org
ReportedBy: deathstalker at gmail.com
Blocks: 2148,2309
Trying to build on both collie and tosa, results in mach/memory.h not being
found.
A few messages to the list archives and the error below seem to point to klibc
as the problem.
I've temporarily gotten around it by providing the mach/ directory as a symlink
to one of the include directories from what I think is the appropriate kernel
source, which is by no means a good solution. (It worked to get at least
kexecboot working on collie.)
Log file contents (snipped):
NOTE: make -j4
mkdir -p
/home/james/OE/angstrom-dev/work/armv5te-angstrom-linux-gnueabi/kexec-tools-static-1.101-r4/kexec-tools-1.101/objdir-arm-angstrom-linux-gnueabi/kexec/arch/arm
arm-angstrom-linux-gnueabi-klcc -Wall -g -fno-strict-aliasing -I./include
-I./util_lib/include -DVERSION='"1.101"' -DRELEASE_DATE='"15 February 2005"'
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -Ikexec/arch/arm/include -o
/home/james/OE/angstrom-dev/work/armv5te-angstrom-linux-gnueabi/kexec-tools-static-1.101-r4/kexec-tools-1.101/objdir-arm-angstrom-linux-gnueabi/kexec/arch/arm/kexec-zImage-arm.o
-c kexec/arch/arm/kexec-zImage-arm.c
mkdir -p
/home/james/OE/angstrom-dev/work/armv5te-angstrom-linux-gnueabi/kexec-tools-static-1.101-r4/kexec-tools-1.101/objdir-arm-angstrom-linux-gnueabi/kdump
In file included from
/home/james/OE/angstrom-dev/staging/armv5te-angstrom-linux-gnueabi/lib/klibc/include/asm/page.h:189,
from kexec/arch/arm/kexec-zImage-arm.c:18:
/home/james/OE/angstrom-dev/staging/armv5te-angstrom-linux-gnueabi/lib/klibc/include/asm/memory.h:18:25:
error: mach/memory.h: No such file or directory
In file included from
/home/james/OE/angstrom-dev/staging/armv5te-angstrom-linux-gnueabi/lib/klibc/include/asm/page.h:189,
from kexec/arch/arm/kexec-zImage-arm.c:18:
/home/james/OE/angstrom-dev/staging/armv5te-angstrom-linux-gnueabi/lib/klibc/include/asm/memory.h:
In function 'virt_to_phys':
/home/james/OE/angstrom-dev/staging/armv5te-angstrom-linux-gnueabi/lib/klibc/include/asm/memory.h:160:
error: 'CONFIG_DRAM_BASE' undeclared (first use in this function)
/home/james/OE/angstrom-dev/staging/armv5te-angstrom-linux-gnueabi/lib/klibc/include/asm/memory.h:160:
error: (Each undeclared identifier is reported only once
/home/james/OE/angstrom-dev/staging/armv5te-angstrom-linux-gnueabi/lib/klibc/include/asm/memory.h:160:
error: for each function it appears in.)
/home/james/OE/angstrom-dev/staging/armv5te-angstrom-linux-gnueabi/lib/klibc/include/asm/memory.h:
In function 'phys_to_virt':
/home/james/OE/angstrom-dev/staging/armv5te-angstrom-linux-gnueabi/lib/klibc/include/asm/memory.h:165:
error: 'CONFIG_DRAM_BASE' undeclared (first use in this function)
/home/james/OE/angstrom-dev/staging/armv5te-angstrom-linux-gnueabi/lib/klibc/include/asm/memory.h:
In function 'virt_to_bus':
/home/james/OE/angstrom-dev/staging/armv5te-angstrom-linux-gnueabi/lib/klibc/include/asm/memory.h:188:
error: 'CONFIG_DRAM_BASE' undeclared (first use in this function)
/home/james/OE/angstrom-dev/staging/armv5te-angstrom-linux-gnueabi/lib/klibc/include/asm/memory.h:
In function 'bus_to_virt':
/home/james/OE/angstrom-dev/staging/armv5te-angstrom-linux-gnueabi/lib/klibc/include/asm/memory.h:193:
error: 'CONFIG_DRAM_BASE' undeclared (first use in this function)
make: ***
[/home/james/OE/angstrom-dev/work/armv5te-angstrom-linux-gnueabi/kexec-tools-static-1.101-r4/kexec-tools-1.101/objdir-arm-angstrom-linux-gnueabi/kexec/arch/arm/kexec-zImage-arm.o]
Error 1
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-commits
mailing list