Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: further divergences Libc vs xnu



On Thursday, Mar 2002 at 13:57:48 Giuliano Gavazzi wrote:
> Very well, after the recent emotional break maybe someone can answer this:
>
> I have just checked out Libc-224 (the latest) but, of course, this is
> not in synch with the "latest" xnu (Apple-222) available on anoncvs.
>
> We are failing very early here.
>
> /Volumes/UFS/src/Libc/mach/mig_strncpy.c:73: conflicting types for
> `mig_strncpy'
> /usr/include/mach/mig_errors.h:122: previous declaration of `mig_strncpy'
>
> (note that Apple-222 mig_errors.h is not different from the stock one).

The difference here is a const char * vs a char *. You can edit the
header or the .c file to make them match and it won't hurt anything.
However, there are other differences in Libc that will prevent you
from running it on xnu's < 253 (I think?). Anyway, you'll need to
be running a recent kernel to be running Libc 224.
You may give Libc-214 a shot. That should have less dependencies on
recent xnu's.

Rob
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.