Skip to contentSkip to conversation

connman: update to 1.13

PATCH In review Jack Mitchell 3 participants 10 messages Apr 24, 2013 – Apr 25, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 connman: update to 1.13

From: Jack Mitchell <[email protected]>

- Removed upstream commited patch
- Updated git tag srcrev

---
 .../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%)
meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch deleted +0 -20
deleted file mode 100644
index 8ee0b6f..0000000
@@ -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 <[email protected]>
-
-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"
meta/recipes-connectivity/connman/connman_1.13.bb renamed from meta/recipes-connectivity/connman/connman_1.12.bb +3 -3
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
@@ -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"
 
Signature · 1 line
1.8.2.1
#1 lore raw
Quoted 4 lines · Jack Mitchell

From: Jack Mitchell <[email protected]>

- Removed upstream commited patch
- Updated git tag srcrev

Under what environments was this tested?

Cheers,
Ross

#2 lore raw
Quoted 9 lines · Ross
Quoted 4 lines · Jack Mitchell

From: Jack Mitchell <[email protected]>

- Removed upstream commited patch
- Updated git tag srcrev

Under what environments was this tested?

Cheers,
Ross

Run time tested on a beaglebone, armv7a.

Specifically ethernet provisioning. I needed a patch present in 1.13 which was my motivation for pushing ahead.

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#3 lore raw
Quoted 4 lines · Jack Mitchell

Run time tested on a beaglebone, armv7a.

Specifically ethernet provisioning. I needed a patch present in 1.13 which was my motivation for pushing ahead.

Doing a qemu run would mean a lot as connman upgrades are great at breaking the configuration there...

Ross

A message that is not in the archive (sent off-list or not yet received): B21730BB6DA1D24B83348D9301EA417E068280D6@039-SN2MPN1-022.039d.mgd.msft.net

#5 lore raw
Quoted 100 lines · 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: [email protected] [mailto:[email protected]] On Behalf Of Jack Mitchell
Sent: Wednesday, April 24, 2013 10:26 PM
To: [email protected]
Cc: Jack Mitchell
Subject: [OE-core] [PATCH] connman: update to 1.13

From: Jack Mitchell <[email protected]>

- Removed upstream commited patch
- Updated git tag srcrev

---
  .../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%)

meta/recipes-connectivity/connman/connman/add-in.h-for-ipv6.patch deleted +0 -19
deleted file mode 100644
index 8ee0b6f..0000000
@@ -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 <[email protected]>
-
-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"
meta/recipes-connectivity/connman/connman_1.13.bb renamed from meta/recipes-connectivity/connman/connman_1.12.bb +3 -4
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
@@ -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

Quoted 6 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

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

Cheers,
Jack.

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#6 lore raw
Quoted 4 lines · Jack Mitchell
Quoted 3 lines · On 25/04/13 03:13, Guo Chunrong-B40290 wrote:

Hello,
I build connman with toolchain(64bit).

Quoted 8 lines
Quoted 2 lines

[snip]

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

Cheers,
Jack.

Could you do me a favour and see if you can find a reference to TCGETS2 in your sysroot?

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#7 lore raw

Hello,
I can find a reference to TCGETS2 in my sysroot

The following information:
p5020ds-64b/usr/include/asm-generic/ioctls.h:60:#define TCGETS2 _IOR('T', 0x2A, struct termios2)
p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:114:#ifdef TCGETS2 p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:138:#else /* TCGETS2 */ p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:150:#endif /* TCGETS2 */

p5020ds-64b/usr/src/kernel/include/asm-generic/ioctls.h:60:#define TCGETS2              _IOR('T', 0x2A, struct termios2)
p5020ds-64b/usr/src/kernel/arch/parisc/include/asm/ioctls.h:49:#define TCGETS2          _IOR('T',0x2A, struct termios2)
p5020ds-64b/usr/src/kernel/arch/xtensa/include/asm/ioctls.h:95:#define TCGETS2          _IOR('T', 42, struct termios2)
p5020ds-64b/usr/src/kernel/arch/sh/include/asm/ioctls.h:82:#define TCGETS2              _IOR('T', 42, struct termios2)
p5020ds-64b/usr/src/kernel/arch/sparc/include/asm/ioctls.h:18:#define TCGETS2           _IOR('T', 12, struct termios2)
p5020ds-64b/usr/src/kernel/arch/mips/include/asm/ioctls.h:80:#define TCGETS2            _IOR('T', 0x2A, struct termios2)
p5020ds-64b-tcbootstrap/usr/include/asm-generic/ioctls.h:60:#define TCGETS2             _IOR('T', 0x2A, struct termios2)

thanks,

chunrong

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jack Mitchell
Sent: Thursday, April 25, 2013 4:48 PM
To: [email protected]
Subject: Re: [OE-core] [PATCH] connman: update to 1.13

Quoted 4 lines · Jack Mitchell
Quoted 3 lines · On 25/04/13 03:13, Guo Chunrong-B40290 wrote:

Hello,
I build connman with toolchain(64bit).

Quoted 8 lines
Quoted 2 lines

[snip]

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

Cheers,
Jack.

Could you do me a favour and see if you can find a reference to TCGETS2 in your sysroot?

Signature · 11 lines
   Jack Mitchell ([email protected])
   Embedded Systems Engineer
   http://www.embed.me.uk

--


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
#8 lore raw

Interesting, could you check the following for me please:

1) p5020ds-64b/usr/include/sys/ioctls.h and see if it includes bits/ioctl-types.h

2) p5020ds-64b/usr/include/bits/ioctl-types.h and see if it includes asm/ioctls.h

3) p5020ds-64b/usr/include/asm/ioctls.h and see if it includes includes asm-generic/ioctls.h

Thanks,
Jack.

Quoted 41 lines · On 25/04/13 09:59, Guo Chunrong-B40290 wrote:

Hello,
I can find a reference to TCGETS2 in my sysroot

The following information:
p5020ds-64b/usr/include/asm-generic/ioctls.h:60:#define TCGETS2 _IOR('T', 0x2A, struct termios2)
p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:114:#ifdef TCGETS2 p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:138:#else /* TCGETS2 */ p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:150:#endif /* TCGETS2 */

p5020ds-64b/usr/src/kernel/include/asm-generic/ioctls.h:60:#define TCGETS2              _IOR('T', 0x2A, struct termios2)
p5020ds-64b/usr/src/kernel/arch/parisc/include/asm/ioctls.h:49:#define TCGETS2          _IOR('T',0x2A, struct termios2)
p5020ds-64b/usr/src/kernel/arch/xtensa/include/asm/ioctls.h:95:#define TCGETS2          _IOR('T', 42, struct termios2)
p5020ds-64b/usr/src/kernel/arch/sh/include/asm/ioctls.h:82:#define TCGETS2              _IOR('T', 42, struct termios2)
p5020ds-64b/usr/src/kernel/arch/sparc/include/asm/ioctls.h:18:#define TCGETS2           _IOR('T', 12, struct termios2)
p5020ds-64b/usr/src/kernel/arch/mips/include/asm/ioctls.h:80:#define TCGETS2            _IOR('T', 0x2A, struct termios2)
p5020ds-64b-tcbootstrap/usr/include/asm-generic/ioctls.h:60:#define TCGETS2             _IOR('T', 0x2A, struct termios2)

thanks,

chunrong

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jack Mitchell
Sent: Thursday, April 25, 2013 4:48 PM
To: [email protected]
Subject: Re: [OE-core] [PATCH] connman: update to 1.13

Quoted 11 lines · Jack Mitchell
Quoted 5 lines · On 25/04/13 03:13, Guo Chunrong-B40290 wrote:

Hello,
I build connman with toolchain(64bit).

[snip]

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

Cheers,
Jack.

Could you do me a favour and see if you can find a reference to TCGETS2 in your sysroot?

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#9 lore raw

1) p5020ds-64b/usr/include/sys/ioctls.h and it includes bits/ioctl-types.h
2) p5020ds-64b/usr/include/bits/ioctl-types.h and it doesn't include asm/ioctls.h

3) p5020ds-64b/usr/include/asm/ioctls.h and it includes asm/ioctls.h

BTW, I modify TIST = "--disable-tist" in meta/recipes-connectivity/connman/connman.inc"
And build Connman for p5020ds-64b successfully.

-----Original Message-----
From: Jack Mitchell [mailto:[email protected]]
Sent: Thursday, April 25, 2013 5:13 PM
To: Guo Chunrong-B40290; Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [PATCH] connman: update to 1.13

Interesting, could you check the following for me please:

1) p5020ds-64b/usr/include/sys/ioctls.h and see if it includes bits/ioctl-types.h

2) p5020ds-64b/usr/include/bits/ioctl-types.h and see if it includes asm/ioctls.h

3) p5020ds-64b/usr/include/asm/ioctls.h and see if it includes includes asm-generic/ioctls.h

Thanks,
Jack.

Quoted 43 lines · On 25/04/13 09:59, Guo Chunrong-B40290 wrote:

Hello,
I can find a reference to TCGETS2 in my sysroot

The following information:
p5020ds-64b/usr/include/asm-generic/ioctls.h:60:#define TCGETS2 _IOR('T', 0x2A, struct termios2)
p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:114:#ifdef
TCGETS2
p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:138:#else /* TCGETS2 */ p5020ds-64b/usr/src/kernel/include/asm-generic/termios.h:150:#endif /* TCGETS2 */

p5020ds-64b/usr/src/kernel/include/asm-generic/ioctls.h:60:#define TCGETS2              _IOR('T', 0x2A, struct termios2)
p5020ds-64b/usr/src/kernel/arch/parisc/include/asm/ioctls.h:49:#define TCGETS2          _IOR('T',0x2A, struct termios2)
p5020ds-64b/usr/src/kernel/arch/xtensa/include/asm/ioctls.h:95:#define TCGETS2          _IOR('T', 42, struct termios2)
p5020ds-64b/usr/src/kernel/arch/sh/include/asm/ioctls.h:82:#define TCGETS2              _IOR('T', 42, struct termios2)
p5020ds-64b/usr/src/kernel/arch/sparc/include/asm/ioctls.h:18:#define TCGETS2           _IOR('T', 12, struct termios2)
p5020ds-64b/usr/src/kernel/arch/mips/include/asm/ioctls.h:80:#define TCGETS2            _IOR('T', 0x2A, struct termios2)
p5020ds-64b-tcbootstrap/usr/include/asm-generic/ioctls.h:60:#define TCGETS2             _IOR('T', 0x2A, struct termios2)

thanks,

chunrong

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jack Mitchell
Sent: Thursday, April 25, 2013 4:48 PM
To: [email protected]
Subject: Re: [OE-core] [PATCH] connman: update to 1.13

Quoted 11 lines · Jack Mitchell
Quoted 5 lines · On 25/04/13 03:13, Guo Chunrong-B40290 wrote:

Hello,
I build connman with toolchain(64bit).

[snip]

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

Cheers,
Jack.

Could you do me a favour and see if you can find a reference to TCGETS2 in your sysroot?

Signature · 5 lines
   Jack Mitchell ([email protected])
   Embedded Systems Engineer
   http://www.embed.me.uk

--
#10 lore raw
Quoted 20 lines · On 25/04/13 11:09, Guo Chunrong-B40290 wrote:

1) p5020ds-64b/usr/include/sys/ioctls.h and it includes bits/ioctl-types.h
2) p5020ds-64b/usr/include/bits/ioctl-types.h and it doesn't include asm/ioctls.h

3) p5020ds-64b/usr/include/asm/ioctls.h and it includes asm/ioctls.h

BTW, I modify TIST = "--disable-tist" in meta/recipes-connectivity/connman/connman.inc"
And build Connman for p5020ds-64b successfully.

-----Original Message-----
From: Jack Mitchell [mailto:[email protected]]
Sent: Thursday, April 25, 2013 5:13 PM
To: Guo Chunrong-B40290; Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [PATCH] connman: update to 1.13

Interesting, could you check the following for me please:

1) p5020ds-64b/usr/include/sys/ioctls.h and see if it includes bits/ioctl-types.h

2) p5020ds-64b/usr/include/bits/ioctl-types.h and see if it includes asm/ioctls.h

Quoted 8 lines

3) p5020ds-64b/usr/include/asm/ioctls.h and see if it includes includes asm-generic/ioctls.h

Thanks,
Jack.

[snip]

Ok, well what that means is that as bits/ioctl-types.h doesn't include asm/ioctls.h, asm-generic/ioctls.h never gets included which is where TCGETS2 is defined. Whether this is an upstream bug or an unsupported feature on powerpc64 I don't know, anyone more knowledgeable care to chime in?

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--