Re: Building glib 2.28.7



On Fri, Nov 8, 2013 at 7:34 AM, Colin Walters <walters verbum org> wrote:
On Thu, 2013-11-07 at 14:24 -0800, Daniel Schultze wrote:

> I'm trying to cross-compile glib

From what host to what target?

> gfile.c: In function 'do_splice':
> gfile.c:2749: warning: passing argument 2 of 'splice' makes integer
> from pointer without a cast

That's quite odd...can you track down where the prototype for "splice"
for your target is coming from?

Is this target some non-glibc system like Bionic?  If so you'll need to
get them to fix their splice() prototype.

As a workaround he could disable splice in config.h. Commenting out the following line should get him building again:

#define HAVE_SPLICE 1 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]