[ updating libsa.o RELEASE ] /usr/bin/ld -static -r -arch ppc -o libsa.o bootstrap.cpo catalogue.cpo c++rem3.o kld_patch.o kmod.cpo mach.o misc.o mkext.o vers_rsrc.o bsearch.o malloc.o sort.o strrchr.o strstr.o setjmp.o vers.o /usr/local/lib/libkld.a /usr/bin/ld: table of contents for archive: /usr/local/lib/libkld.a is out of date; rerun ranlib(1) (can't load from it) make[6]: *** [libsa.o] 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 I am trying to compile the latest version of xnu kernel, and I get this error. What is wrong?
From memory this error is self-explanatory - the library libkld.a, in /usr/local/lib, is too old (or possibly too new, if you're probably building a 10.2.x kernel on 10.2.4). Apply ranlib to it ("ranlib /usr/local/lib/libkld.a" might do it).
At least, that's what I remember doing to overcome that problem. I'd be interested, if you are building a 10.2.x kernel on 10.2.4, to hear how well it goes. All my attempts have indicated you can't do any kernel development with MacOS X, because the Apple CVS sources are always at least one minor version behind the current release. As a pre-emptive to the inevitable response: I'd love to install Darwin on another partition so as to do kernel stuff, but apart from the fact my hard drive is full of things I need [and would lose in a repartition & format], the stuff I want to do relates directly to userland OS X apps. :( Wade Tregaskis _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Wade Tregaskis