On 25/04/13 03:13, Guo Chunrong-B40290 wrote:
Hello,
  I build connman with toolchain(64bit).

The following error:
| powerpc64-poky-linux-gcc   -mhard-float  -m64 -mcpu=e5500 --sysroot=/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b -DHAVE_CONFIG_H -I.  -I./include -I./src -I./gdbus  
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/dbus-1.0 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/dbus-1.0/include   
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include   -pthread 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include  -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/var/run/connman"\" 
-DPLUGINDIR=\""/usr/lib64/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib64/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" 
-DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -O2 -pipe -g -feliminate-unused-debug-types -g -c -o tools/supplicant.o 
tools/supplicant.c
| plugins/tist.c: In function 'set_custom_baud_rate':
| plugins/tist.c:283:18: error: 'TCGETS2' undeclared (first use in this 
function)
| plugins/tist.c:283:18: note: each undeclared identifier is reported only once 
for each function it appears in
| plugins/tist.c:291:18: error: 'TCSETS2' undeclared (first use in this 
function)
| powerpc64-poky-linux-gcc   -mhard-float  -m64 -mcpu=e5500 --sysroot=/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b -DHAVE_CONFIG_H -I.  -I./include -I./src -I./gdbus  
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/dbus-1.0 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/dbus-1.0/include   
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include   -pthread 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include  -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/var/run/connman"\" 
-DPLUGINDIR=\""/usr/lib64/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib64/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" 
-DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -O2 -pipe -g -feliminate-unused-debug-types -g -c -o gdhcp/common.o gdhcp/common.c
| powerpc64-poky-linux-gcc   -mhard-float  -m64 -mcpu=e5500 --sysroot=/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b -DHAVE_CONFIG_H -I.  -I./include -I./src -I./gdbus  
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/dbus-1.0 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/dbus-1.0/include   
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include   -pthread 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include  -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/var/run/connman"\" 
-DPLUGINDIR=\""/usr/lib64/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib64/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" 
-DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -O2 -pipe -g -feliminate-unused-debug-types -g -c -o gdhcp/client.o gdhcp/client.c
| powerpc64-poky-linux-gcc   -mhard-float  -m64 -mcpu=e5500 --sysroot=/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b -DHAVE_CONFIG_H -I.  -I./include -I./src -I./gdbus  
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/dbus-1.0 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/dbus-1.0/include   
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include   -pthread 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/include/glib-2.0 
-I/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/sysroots/p5020ds-64b/usr/lib64/glib-2.0/include  -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/var/run/connman"\" 
-DPLUGINDIR=\""/usr/lib64/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib64/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" 
-DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -O2 -pipe -g -feliminate-unused-debug-types -g -c -o gdhcp/server.o gdhcp/server.c
| make[1]: *** [plugins/plugins_tist_la-tist.lo] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see 
/local/home/b19537/gcr/opensource/poky/buildmaster/tmp/work/ppc64e5500-poky-linux/connman/1.12-r19.0/temp/log.do_compile.24096
 for further information)
$<50>ERROR: Task 6 
(/local/home/b19537/gcr/opensource/poky/meta/recipes-connectivity/connman/connman_1.12.bb,
 do_compile) failed with exit code '1'
$<50>NOTE: Tasks Summary: Attempted 1684 tasks of which 1107 didn't need to be 
rerun and 1 failed.
No currently running tasks (1684 of 1691)

Can this be avoided?

Thanks,
chunrong



-----Original Message-----
From: openembedded-core-boun...@lists.openembedded.org 
[mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Jack 
Mitchell
Sent: Wednesday, April 24, 2013 10:26 PM
To: openembedded-core@lists.openembedded.org
Cc: Jack Mitchell
Subject: [OE-core] [PATCH] connman: update to 1.13

From: Jack Mitchell <jack.mitch...@dbbroadcast.co.uk>

- Removed upstream commited patch
- Updated git tag srcrev

Signed-off-by: Jack Mitchell <jack.mitch...@dbbroadcast.co.uk>
---
  .../connman/connman/add-in.h-for-ipv6.patch          | 20 --------------------
  .../connman/{connman_1.12.bb => connman_1.13.bb}     |  6 +++---
  2 files changed, 3 insertions(+), 23 deletions(-)  delete mode 100644 
meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch
  rename meta/recipes-connectivity/connman/{connman_1.12.bb => connman_1.13.bb} 
(78%)

diff --git a/meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch 
b/meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch
deleted file mode 100644
index 8ee0b6f..0000000
--- a/meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-
-The 3.8 Kernel headers for if_bridge.h uses the in6_addr struct -which is 
defined by netinet/in.h which is not included prior.
-
-Upstream-Status: Pending
-
-Signed-off-by: Saul Wold <s...@linux.intel.com>
-
-Index: git/src/tethering.c
-===================================================================
---- git.orig/src/tethering.c
-+++ git/src/tethering.c
-@@ -35,6 +35,7 @@
- #include <string.h>
- #include <fcntl.h>
- #include <linux/if_tun.h>
-+#include <netinet/in.h>
- #include <linux/if_bridge.h>
-
- #include "connman.h"
diff --git a/meta/recipes-connectivity/connman/connman_1.12.bb 
b/meta/recipes-connectivity/connman/connman_1.13.bb
similarity index 78%
rename from meta/recipes-connectivity/connman/connman_1.12.bb
rename to meta/recipes-connectivity/connman/connman_1.13.bb
index 5ba4032..4f23538 100644
--- a/meta/recipes-connectivity/connman/connman_1.12.bb
+++ b/meta/recipes-connectivity/connman/connman_1.13.bb
@@ -1,13 +1,13 @@
  require connman.inc
-# 1.12 tag
-SRCREV = "8397cbbc0a79d39cf3b1880f4fd3f3405b6bc6ad"
+# 1.13 tag
+SRCREV = "96fcd8871531c9012135110769618d65a3523b4d"
  SRC_URI  = "git://git.kernel.org/pub/scm/network/connman/connman.git \
              
file://0001-plugin.h-Change-visibility-to-default-for-debug-symb.patch \
              file://add_xuser_dbus_permission.patch \
              file://connman \
              file://inet-fix-ip-cleanup-functions.patch \
-            file://add-in.h-for-ipv6.patch"
+            "
  S = "${WORKDIR}/git"
  PR = "${INC_PR}.0"
--
1.8.2.1


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



Looks like one for upstream, I'll chase it up.

Cheers,
Jack.

--

  Jack Mitchell (j...@embed.me.uk)
  Embedded Systems Engineer
  http://www.embed.me.uk

--



_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to