Re: Building glib 2.28.7



On Fri, 2013-11-08 at 10:28 -0800, Daniel Schultze wrote:


The host is Ubuntu 12.04 x86_64, the target CPU is an arm926ejs on a
Freescale board, using LTIB. It is an older system using glibc 2.5
with glibc ports 2.5. 

From a quick look, this commit to glibc looks like it updated the splice
prototype:

commit 99ea5991a4957f7a21466a4b48c5020eb70db2b7
Author:     Ulrich Drepper <drepper redhat com>
AuthorDate: Wed Aug 30 15:05:29 2006 +0000

    * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offin

Which as you can see is really quite ancient.

--- glib-2.28.7.orig/configure 2011-05-20 21:15:25.000000000 -0700
+++ glib-2.28.7/configure 2013-11-08 10:15:51.380683520 -0800
@@ -23107,7 +23107,6 @@
   ac_fn_c_check_func "$LINENO" "splice" "ac_cv_func_splice"
 if test "x$ac_cv_func_splice" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SPLICE 1
 _ACEOF

That's probably fine as a fix for you for now, this issue will go away
when you update to a version of glibc from this decade too =)





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