building 2.6.5 zImage outside of /usr/src
dwm at austin.ibm.com
dwm at austin.ibm.com
Thu May 20 08:11:58 EST 2004
Howdy,
Has anyone successfully built a zImage on 2.6.5 outside the default
location? It does build ok in the /usr/src dir.
It seems that I keep getting the /usr/include stuff, and that is not
well liked.
Any hints would be muchly appreciated.
++doug
-------------- next part --------------
COMMAND=={make}
ARGS={O=/home/dwm/sb/linux/FOO.edit/build zImage}
STARTED Wed May 19 14:49:37 2004 ON prion
Using /home/dwm/sb/linux/FOO.edit as source for kernel
make[2]: `arch/ppc64/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
CC init/kerntypes.o
CC drivers/ide/ide.o
LD drivers/ide/ide-core.o
LD drivers/ide/built-in.o
LD drivers/built-in.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
CC init/kerntypes.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
GZIP arch/ppc64/boot/kernel-vmlinux.gz
touch arch/ppc64/boot/kernel-vmlinux.c
BOOTCC arch/ppc64/boot/kernel-vmlinux.o
objcopy arch/ppc64/boot/kernel-vmlinux.o --add-section=.kernel:vmlinux=arch/ppc64/boot/kernel-vmlinux.gz --set-section-flags=.kernel:vmlinux=contents,alloc,load,readonly,data
GZIP arch/ppc64/boot/kernel-.config.gz
touch arch/ppc64/boot/kernel-.config.c
BOOTCC arch/ppc64/boot/kernel-.config.o
objcopy arch/ppc64/boot/kernel-.config.o --add-section=.kernel:.config=arch/ppc64/boot/kernel-.config.gz --set-section-flags=.kernel:.config=contents,alloc,load,readonly,data
GZIP arch/ppc64/boot/kernel-System.map.gz
touch arch/ppc64/boot/kernel-System.map.c
BOOTCC arch/ppc64/boot/kernel-System.map.o
objcopy arch/ppc64/boot/kernel-System.map.o --add-section=.kernel:System.map=arch/ppc64/boot/kernel-System.map.gz --set-section-flags=.kernel:System.map=contents,alloc,load,readonly,data
BOOTAS arch/ppc64/boot/crt0.o
BOOTAS arch/ppc64/boot/string.o
BOOTCC arch/ppc64/boot/prom.o
BOOTCC arch/ppc64/boot/main.o
In file included from /usr/include/asm/types.h:6,
from /usr/include/linux/types.h:16,
from /usr/include/linux/elf.h:4,
from /home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:13:
/usr/include/asm-ppc/types.h:22: error: conflicting types for `__vector128'
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/ppc32-types.h:30: error: previous declaration of `__vector128'
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c: In function `start':
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:131: warning: implicit declaration of function `PAGE_ALIGN'
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c: In function `make_bi_recs':
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:222: warning: implicit declaration of function `bi_rec_init'
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:222: warning: assignment makes pointer from integer without a cast
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:224: warning: implicit declaration of function `bi_rec_alloc'
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:224: warning: assignment makes pointer from integer without a cast
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:225: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:225: error: `BI_FIRST' undeclared (first use in this function)
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:225: error: (Each undeclared identifier is reported only once
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:225: error: for each function it appears in.)
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:229: warning: implicit declaration of function `bi_rec_alloc_bytes'
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:229: warning: assignment makes pointer from integer without a cast
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:230: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:230: error: `BI_BOOTLOADER_ID' undeclared (first use in this function)
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:231: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:233: warning: assignment makes pointer from integer without a cast
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:234: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:234: error: `BI_MACHTYPE' undeclared (first use in this function)
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:235: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:235: error: `PLATFORM_PSERIES' undeclared (first use in this function)
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:236: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:239: warning: assignment makes pointer from integer without a cast
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:240: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:240: error: `BI_INITRD' undeclared (first use in this function)
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:241: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:242: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:246: warning: assignment makes pointer from integer without a cast
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:247: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:247: error: `BI_SYSMAP' undeclared (first use in this function)
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:248: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:249: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:252: warning: assignment makes pointer from integer without a cast
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:253: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:253: error: `BI_LAST' undeclared (first use in this function)
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:254: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:254: error: `bi_rec_field' undeclared (first use in this function)
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:254: error: parse error before "bi_recs"
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:259: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:259: error: parse error before "rec"
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:260: error: dereferencing pointer to incomplete type
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:260: error: parse error before "rec"
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c: In function `zalloc':
/home/dwm/sb/linux/FOO.edit/arch/ppc64/boot/main.c:279: warning: implicit declaration of function `_ALIGN'
make[2]: *** [arch/ppc64/boot/main.o] Error 1
make[1]: *** [zImage] Error 2
make: *** [zImage] Error 2
UID=uid=1000(dwm) gid=100(users) groups=10(wheel),14(uucp),16(dialout),17(audio),33(video),100(users)
COMPLETE at Wed May 19 14:50:09 2004
RETURN from {make O=/home/dwm/sb/linux/FOO.edit/build zImage} is 2
ELAPSED time 0:00:32
More information about the Linuxppc64-dev
mailing list