bughelp wanted
倉庫指標
- Star
- (20,368 star)
- PR 合併指標
- (平均合併 20天 9小時) (30 天內合併 27 個 PR)
描述
Describe the Bug
I'm following along with the newbs guide and when it has me build the default keymap to test my environment works, it fails with error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
System Information
-
Keyboard: Pinky4
- Revision (if applicable): v0.2
-
Operating system: Guix System GNU/Linux
-
AVR GCC version: avr-gcc (GCC) 7.5.0
- ARM GCC version: arm-none-eabi-gcc (GCC) 7.3.1 20180622 (7-2018-q2-update)
- QMK Firmware version: 0.11.64
- Any keyboard related software installed?
- AutoHotKey
- Karabiner
- Other:
Additional Context
brad@anpan:~/ > ~/.local/bin/qmk compile -kb pinky/4 -km default
Ψ Compiling keymap with make -j 1 pinky/4:default
QMK Firmware 0.11.64
Making pinky/4 with keymap default
avr-gcc (GCC) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiling: keyboards/pinky/pinky.c In file included from quantum/quantum.h:19:0,
from keyboards/pinky/pinky.h:19,
from keyboards/pinky/pinky.c:16:
/home/brad/.guix-profile/avr/include/avr/pgmspace.h:1456:25: error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
extern size_t strlen_PF(uint_farptr_t src) __ATTR_CONST__; /* program memory can't change */
^~~~~~~~~~~~~
uint_fast8_t
/home/brad/.guix-profile/avr/include/avr/pgmspace.h:1472:26: error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
extern size_t strnlen_PF(uint_farptr_t src, size_t len) __ATTR_CONST__; /* program memory can't change */
^~~~~~~~~~~~~
uint_fast8_t
/home/brad/.guix-profile/avr/include/avr/pgmspace.h:1487:36: error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
extern void *memcpy_PF(void *dest, uint_farptr_t src, size_t len);
^~~~~~~~~~~~~
uint_fast8_t
/home/brad/.guix-profile/avr/include/avr/pgmspace.h:1502:36: error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
extern char *strcpy_PF(char *dest, uint_farptr_t src);
^~~~~~~~~~~~~
uint_fast8_t
/home/brad/.guix-profile/avr/include/avr/pgmspace.h:1522:37: error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
extern char *strncpy_PF(char *dest, uint_farptr_t src, size_t len);
^~~~~~~~~~~~~
uint_fast8_t
/home/brad/.guix-profile/avr/include/avr/pgmspace.h:1538:36: error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
extern char *strcat_PF(char *dest, uint_farptr_t src);
^~~~~~~~~~~~~
uint_fast8_t
/home/brad/.guix-profile/avr/include/avr/pgmspace.h:1559:37: error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
extern size_t strlcat_PF(char *dst, uint_farptr_t src, size_t siz);
^~~~~~~~~~~~~
uint_fast8_t
/home/brad/.guix-profile/avr/include/avr/pgmspace.h:1576:37: error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
extern char *strncat_PF(char *dest, uint_farptr_t src, size_t len);
^~~~~~~~~~~~~
uint_fast8_t
/home/brad/.guix-profile/avr/include/avr/pgmspace.h:1592:38: error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
extern int strcmp_PF(const char *s1, uint_farptr_t s2) __ATTR_PURE__;
^~~~~~~~~~~~~
uint_fast8_t
/home/brad/.guix-profile/avr/include/avr/pgmspace.h:1609:39: error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
extern int strncmp_PF(const char *s1, uint_farptr_t s2, size_t n) __ATTR_PURE__;
^~~~~~~~~~~~~
uint_fast8_t
/home/brad/.guix-profile/avr/include/avr/pgmspace.h:1625:42: error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
extern int strcasecmp_PF(const char *s1, uint_farptr_t s2) __ATTR_PURE__;
^~~~~~~~~~~~~
uint_fast8_t
/home/brad/.guix-profile/avr/include/avr/pgmspace.h:1643:43: error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
extern int strncasecmp_PF(const char *s1, uint_farptr_t s2, size_t n) __ATTR_PURE__;
^~~~~~~~~~~~~
uint_fast8_t
/home/brad/.guix-profile/avr/include/avr/pgmspace.h:1659:40: error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
extern char *strstr_PF(const char *s1, uint_farptr_t s2);
^~~~~~~~~~~~~
uint_fast8_t
/home/brad/.guix-profile/avr/include/avr/pgmspace.h:1671:37: error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
extern size_t strlcpy_PF(char *dst, uint_farptr_t src, size_t siz);
^~~~~~~~~~~~~
uint_fast8_t
/home/brad/.guix-profile/avr/include/avr/pgmspace.h:1687:36: error: unknown type name ‘uint_farptr_t’; did you mean ‘uint_fast8_t’?
extern int memcmp_PF(const void *, uint_farptr_t, size_t) __ATTR_PURE__;
^~~~~~~~~~~~~
uint_fast8_t
[ERRORS]
|
|
|
make[1]: *** [tmk_core/rules.mk:412: .build/obj_pinky_4_default/keyboards/pinky/pinky.o] Error 1
Make finished with errors
make: *** [Makefile:523: pinky/4:default] Error 1