xnu-792.1.5 link error
xnu-792.1.5 link error
- Subject: xnu-792.1.5 link error
- From: mario park <email@hidden>
- Date: Fri, 3 Jun 2005 07:15:49 +0900
hi,
i'm trying to compile darwin kernel(xnu-792.1.5) on my tiger box.
but got error on very last link stage.
i don't know what's the problem. :(
----------------------------------------------------------------------------------------------------------------
[ building mach_kernel ]
newvers.pl: Stamping version "8.1.0" into
"/var/root/kerntool/xnu/BUILD/obj/RELEASE_PPC/version.c" ... 5
replacements
/usr/bin/cc -c -static -g -nostdinc -nostdlib -no-cpp-precomp
-fno-builtin -finline -fno-keep-inline-functions -msoft-float
-fsigned-bitfields -arch ppc -Dppc -DPPC -D__PPC__ -DPAGE_SIZE_FIXED
-O2 -mcpu=750 -mmultiple -fschedule-insns -DAPPLE -DNeXT -DKERNEL
-DKERNEL_PRIVATE -DXNU_KERNEL_PRIVATE -DPRIVATE -D__MACHO__=1
-Dvolatile=__volatile -I. -I/var/root/kerntool/xnu/.
-I/var/root/kerntool/xnu/BUILD/obj/EXPORT_HDRS/.
-I/var/root/kerntool/xnu/BUILD/obj/EXPORT_HDRS/osfmk
-I/var/root/kerntool/xnu/BUILD/obj/EXPORT_HDRS/bsd
-I/var/root/kerntool/xnu/BUILD/obj/EXPORT_HDRS/iokit
-I/var/root/kerntool/xnu/BUILD/obj/EXPORT_HDRS/pexpert
-I/var/root/kerntool/xnu/BUILD/obj/EXPORT_HDRS/libkern
-I/var/root/kerntool/xnu/BUILD/obj/EXPORT_HDRS/libsa
-I/var/root/kerntool/xnu/BUILD/obj/EXTERN_HDRS
-I/var/root/kerntool/xnu/EXTERNAL_HEADERS
-I/var/root/kerntool/xnu/EXTERNAL_HEADERS/bsd
/var/root/kerntool/xnu/BUILD/obj/RELEASE_PPC/version.c -o
/var/root/kerntool/xnu/BUILD/obj/RELEASE_PPC/version.o
/usr/bin/ld -static -force_cpusubtype_ALL -e __start -segalign 0x1000
-sectalign __TEXT __text 0x1000 -sectalign __DATA __common 0x1000
-sectalign __DATA __bss 0x1000 -sectcreate __PRELINK __text /dev/null
-sectcreate __PRELINK __symtab /dev/null -sectcreate __PRELINK __info
/dev/null -arch ppc -segaddr __VECTORS 0x0 -segaddr __HIB 0x7000
-segaddr __TEXT 0xe000
/var/root/kerntool/xnu/BUILD/obj/RELEASE_PPC/./osfmk/RELEASE/osfmk.o
/var/root/kerntool/xnu/BUILD/obj/RELEASE_PPC/./bsd/RELEASE/bsd.o
/var/root/kerntool/xnu/BUILD/obj/RELEASE_PPC/./iokit/RELEASE/iokit.o
/var/root/kerntool/xnu/BUILD/obj/RELEASE_PPC/./pexpert/RELEASE/pexpert.o
/var/root/kerntool/xnu/BUILD/obj/RELEASE_PPC/./libkern/RELEASE/libkern.o
/var/root/kerntool/xnu/BUILD/obj/RELEASE_PPC/./libsa/RELEASE/libsa.o
/var/root/kerntool/xnu/BUILD/obj/RELEASE_PPC/version.o -o
/var/root/kerntool/xnu/BUILD/obj/RELEASE_PPC/./mach_kernel.sys
-lcc_kext; \
/usr/bin/strip -S -x
/var/root/kerntool/xnu/BUILD/obj/RELEASE_PPC/./mach_kernel.sys -o
/var/root/kerntool/xnu/BUILD/obj/RELEASE_PPC/./mach_kernel;
/usr/bin/ld: Undefined symbols:
_getpagesize
_mach_task_self_
make[2]: *** [do_build_mach_kernel] Error 1
make[1]: *** [build_all] Error 2
make: *** [all] Error 2
mario:~/kerntool/xnu root# cc --version
cc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809)
mario:~/kerntool/xnu root# c++ --version
c++ (GCC) 3.3 20030304 (Apple Computer, Inc. build 1809)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden