On 25/04/13 10:26, Tomasz Bursztyka wrote:
Hi Jack,

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

Does you system supports termios2?

Br,

Tomasz
_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

I'm debugging for someone else here so you''ll have to bear with me. I have found that the included file:

sys/ioctls.h

includes

bits/ioctl-types.h

which includes

asm/ioctls.h

which includes

asm-generic/ioctls.h

which has the definition of TCGETS2.
However on powerpc64 bits/ioctl-types.h doesn't include asm/ioctls.h so asm-generic/ioctls.h never gets included.

Therefore TCGETS2 never gets defined. Is this a bug somewhere further upstream, 
or does it just mean that powerpc64 doesn't support the asm-generic ioctls?
--

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

--

_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to