Good Morning all,

Upgrading connman to the 1.3 git tag in OpenEmbedded threw up the following compile error under a 64bit Power PC build.

| 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)


Could anyone shed any light on this? From a quick search is it possible that 
TCGETS2 isn't defined in the PowerPC64 ioctls.h?

Cheers,
Jack.

--

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

--


_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to