Hi Marcus,
Another user (Martial) had similar problems, and I suggested the
following (I can't find the archived message on nabble to link you to,
sorry).
Mike
I normally use this patch to fix the problem - change line 995 in the file:
~/gumstix/gumstix-oe/tmp/work/i686-linux/dbus-native-1.0.1-r0/dbus-1.0.1/dbus/dbus-sysdeps-unix.c
from:
#ifdef SO_PEERCRED
to:
#if defined(SO_PEERCRED) && defined(HAVE_GETPEERUCRED)
(I cannot remember the exact source of this solution, but I got it by googling).
You will likely come up against another problem before the build is
complete (in the kernel build). In this case, change the following
file:
~/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/gumstix-kernel-2.6.21-r1/linux-2.6.21/scripts/mod/sumversion.c
At the top of the file where you see
#include "modpost.h"
put a line under it that reads
#include "limits.h"
(from
http://bugs.gentoo.org/show_bug.cgi?id=231881)
I haven't made patches in the recipes to deal with this, and it's
possible a more elegant solution exists. This works, at least.
On Tue, Jun 30, 2009 at 3:43 AM, Marcus Wolschon<
Marcus@...> wrote:
> Any ideas?
>
>
> ..........
> | dbus-sysdeps-unix.c: In function '_dbus_read_credentials_unix_socket':
> | dbus-sysdeps-unix.c:996: error: storage size of 'cr' isn't known
> | dbus-sysdeps-unix.c:999: warning: pointer targets in passing
> argument 5 of 'getsockopt' differ in signedness
> | dbus-sysdeps-unix.c:996: warning: unused variable 'cr'
> | dbus-sysdeps-unix.c: In function 'split_paths_and_append':
> | dbus-sysdeps-unix.c:2550: warning: passing argument 1 of
> '_dbus_string_init_const' discards qualifiers from pointer target type
> | dbus-sysdeps-unix.c: In function '_dbus_get_standard_session_servicedirs':
> | dbus-sysdeps-unix.c:2719: warning: passing argument 1 of
> '_dbus_string_init_const' discards qualifiers from pointer target type
> | make[3]: *** [dbus-sysdeps-unix.lo] Error 1
> | make[3]: Leaving directory
> `/home/fox/working_on/drone/Version_0.3/gumstix-oe/tmp/work/i686-linux/dbus-native-1.0.1-r0/dbus-1.0.1/dbus'
> | make[2]: *** [all] Error 2
> | make[2]: Leaving directory
> `/home/fox/working_on/drone/Version_0.3/gumstix-oe/tmp/work/i686-linux/dbus-native-1.0.1-r0/dbus-1.0.1/dbus'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory
> `/home/fox/working_on/drone/Version_0.3/gumstix-oe/tmp/work/i686-linux/dbus-native-1.0.1-r0/dbus-1.0.1'
> | make: *** [all] Error 2
> | FATAL: oe_runmake failed
> NOTE: Task failed:
> /home/fox/working_on/drone/Version_0.3/gumstix-oe/tmp/work/i686-linux/dbus-native-1.0.1-r0/temp/log.do_compile.25549
> NOTE: package dbus-native-1.0.1-r0: task do_compile: failed
> ERROR: TaskFailed event exception, aborting
> NOTE: package dbus-native-1.0.1: failed
> ERROR: Build of
> /home/fox/working_on/drone/Version_0.3/gumstix-oe/org.openembedded.snapshot/packages/dbus/dbus-native_1.0.1.bb
> do_compile failed
> ERROR: Task 1405
> (/home/fox/working_on/drone/Version_0.3/gumstix-oe/org.openembedded.snapshot/packages/dbus/dbus-native_1.0.1.bb,
> do_compile) failed
> NOTE: Tasks Summary: Attempted 369 tasks of which 0 didn't need to be
> rerun and 1 failed.
> ERROR: '/home/fox/working_on/drone/Version_0.3/gumstix-oe/org.openembedded.snapshot/packages/dbus/dbus-native_1.0.1.bb'
> failed
>
> ------------------------------------------------------------------------------
> _______________________________________________
> gumstix-users mailing list
>
gumstix-users@...
>
https://lists.sourceforge.net/lists/listinfo/gumstix-users>
------------------------------------------------------------------------------
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users