[Buildroot] [autobuild.buildroot.net] Build results for 2018-12-09

Eric Le Bihan eric.le.bihan.dev at free.fr
Mon Dec 10 22:47:40 UTC 2018


Hi!

On 2018-12-10 08:00, Thomas Petazzoni wrote:

>         i686 |                    eudev-3.2.7 | NOK | http://autobuild.buildroot.net/results/e9d94084be8ed3296ba63cffdb9d69ffcc3b7140 |

>From the log:

```
udev-builtin-input_id.c:52:19: error: 'BTN_DPAD_UP' undeclared here (not
in a function)
         { KEY_OK, BTN_DPAD_UP },
```

It looks like this one (as well as the one for mips) is related to this
commit [1] in systemd's udev about Linux 3.11 compatibility:

- the i686 defconfig mentions BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2=y
- the mips one has BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9=y.

Adding the following in src/shared/missing.h solves the issue:

```
/* available as of kernel 3.11 */
#ifndef BTN_DPAD_UP
#define BTN_DPAD_UP 0x220
#define BTN_DPAD_RIGHT 0x223
#endif /* BTN_DPAD_UP */
```

I'll shortly send a proper patch.

[1] https://github.com/systemd/systemd/pull/6267

Regards,

--
ELB



More information about the buildroot mailing list