Re: Problems building xnu-792
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com I'm trying to build xnu-792 from the darwin 8.0 sources. I'm following the instructions given at ..... I notice that ar.h can be found in xnu-792/EXTERNAL_HEADERS, but that isn't referenced by the make. Did anyone else run in to this problem? bootstrap_cmds-49.tar.gz Libstreams-24.1.tar.gz cctools-576.tar.gz http://10k.org/jake/xnu/xnu-compiletools-20050506.tar.bz2 enjoy. jake p.s. unfortunately the vanilla kernel still won't compile % uname -a Darwin localhost 8.0.0 Darwin Kernel Version 8.0.0: Sat Mar 26 14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC Power Macintosh powerpc _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... the documentation is out of date and requires numerous tweaks to properly build cctools in a retail OS X 10.4 distro. Here is a fresh build of the following compile tools which you need to build the xnu-792, from /usr/bin/c++ -o IOWorkLoop.cpo -c -fno-rtti -fno-exceptions -fcheck-new -fapple-kext -fpermissive -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 -DIOASSERT=0 -O2 -mcpu=750 -mmultiple -fschedule-insns -DAPPLE -DNeXT -DKERNEL -DKERNEL_PRIVATE -DXNU_KERNEL_PRIVATE -DPRIVATE -D__MACHO__=1 -Dvolatile=__volatile -DIOKIT -DKERNEL -DDRIVER_PRIVATE -Wall -Wno-four-char-constants -fno-common -DIOMATCHDEBUG=1 -DIOALLOCDEBUG=1 -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wredundant-decls -fpermissive -Wno-unused-parameter -Wno-redundant-decls -Wno-write-strings -Wno-cast-qual -Wno-shadow -Wno-unused-parameter -Wno-redundant-decls -Wno-write-strings -Wno-cast-qual -Wno-shadow -Wno-unused-parameter -Wno-redundant-decls -Wno-write-strings -Wno-cast-qual -Wno-shadow -Wno-unused-parameter -Wno-redundant-decls -Wno-write-strings -Wno-cast-qual -Wno-shadow -MD -I. -I/Src/xnu-792/iokit -I/Src/xnu-792/BUILD/obj/EXPORT_HDRS/iokit -I/Src/xnu-792/BUILD/obj/EXPORT_HDRS/osfmk -I/Src/xnu-792/BUILD/obj/EXPORT_HDRS/bsd -I/Src/xnu-792/BUILD/obj/EXPORT_HDRS/pexpert -I/Src/xnu-792/BUILD/obj/EXPORT_HDRS/libkern -I/Src/xnu-792/BUILD/obj/EXPORT_HDRS/libsa -I/Src/xnu-792/BUILD/obj/EXTERN_HDRS -I/Src/xnu-792/EXTERNAL_HEADERS -I/Src/xnu-792/EXTERNAL_HEADERS/bsd -I/Src/xnu-792/BUILD/obj/EXPORT_HDRS/bsd -I/Src/xnu-792/iokit/ -I/Src/xnu-792/iokit/include /Src/xnu-792/iokit/Kernel/IOWorkLoop.cpp cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++ /Src/xnu-792/iokit/Kernel/IOWorkLoop.cpp: In member function `virtual bool IOWorkLoop::init()': /Src/xnu-792/iokit/Kernel/IOWorkLoop.cpp:73: error: converting from `IOReturn (IOWorkLoop::*)(void*, void*, void*, void*)' to `IOReturn (*)(OSObject*, void*, void*, void*, void*)' in a kext. Use OSMemberFunctionCast() instead. /Src/xnu-792/iokit/Kernel/IOWorkLoop.cpp:87: warning: invalid conversion from 'void (*)(void*, wait_result_t)' to 'void (*)(void*)' /Src/xnu-792/iokit/Kernel/IOWorkLoop.cpp:87: warning: initializing argument 1 of 'thread* IOCreateThread(void (*)(void*), void*)' make[6]: *** [IOWorkLoop.cpo] Error 1 make[5]: *** [build_all] Error 2 make[4]: *** [do_all] Error 2 make[3]: *** [build_all] Error 2 make[2]: *** [build_all] Error 2 make[1]: *** [build_all] Error 2 make: *** [all] Error 2 This email sent to site_archiver@lists.apple.com
participants (1)
-
Jake Luck