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



At 10:23 am -0800 28/3/02, Rob Braun wrote:
On Thursday, Mar 2002 at 13:57:48 Giuliano Gavazzi wrote:
[...]
> 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.

sorry, I should have been clearer. Of course I can fix that, but the problem is that Libc-207 and later do not seem compatible with the kernel up to Apple-222. As I said in my email of the 22nd (mach_absolute_time.c and others (Libc-207)), there is an undefined SYS_sigwait in the (previously absent) implementation of sigwait. This is one of the reasons for me to get the new kernel and Libc (and Libsystem).

I have given Libc-214 a try and I noticed that the Makefile.inc(s)' problems have gone (see my email above) but the SYS_sigwait problem is still there as it depends on external (to Libc) headers.

So my question remains, is it really impossible to have a better synch between the various components on anoncvs? This is not meant to be a criticism, just a question.

Thanks

Giuliano
--
H U M P H
|| |||
software

Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X
http://www.humph.com/
_______________________________________________
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.

References: 
 >Re: further divergences Libc vs xnu (From: Rob Braun <email@hidden>)



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.