Am Montag, den 02.05.2011, 19:26 +0200 schrieb Lennart Poettering:
> On Mon, 02.05.11 18:33, Paul Menzel (paulepan...@users.sourceforge.net) wrote:
> 
> > Date: Mon, 2 May 2011 14:13:08 +0200
> > 
> > Otherwise using uClibc compilation (OpenEmbedded [1] with
> > `minimal-uclibc` for `MACHINE = "beagleboard"`) fails with the
> > following error message.
> 
> > --- a/src/util.h
> > +++ b/src/util.h
> > @@ -25,6 +25,7 @@
> >  #include <inttypes.h>
> >  #include <time.h>
> >  #include <sys/time.h>
> > +#include <stdarg.h>
> >  #include <stdbool.h>
> >  #include <stdlib.h>
> >  #include <stdio.h>
> 
> Hmm, this should be enough to include in util.c, not util.h, right?
> 
> Normally I'd say that it is uclibc's job to ensure compat with
> glibc. But in this case I think it actually makes sense to include this,
> because we do use va_xxx and friends in util.c.
> 
> Can you rework and test the patch if you include this in util.c rather
> then util.h? I'd be willing to merge such a patch then.

I tried adding it just to `util.c` and it did not fix the problem.
Unfortunately I do not know what uClibc expects. I only know using
EGLIBC and the same tool chain does not show this problem.


Thanks,

Paul

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to