Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. rtomaszewski created this gist Jul 22, 2017.
    118 changes: 118 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,118 @@
    root@debian:~# cat rado.los
    WARNING:
    Some git sub-modules are out of date or modified, please consider runnning:
    git submodule sync --recursive
    git submodule update --init --recursive

    You can ignore this warning if you are not compiling any ChibiOS keyboards,
    or if you have modified the ChibiOS libraries yourself.

    Making ergodox/ez with keymap rado

    avr-gcc (GCC) 4.9.2
    Copyright (C) 2014 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/ergodox/ez/twimaster.c [OK]
    Compiling: keyboards/ergodox/ez/matrix.c [OK]
    Compiling: keyboards/ergodox/ergodox.c [OK]
    Compiling: keyboards/ergodox/keymaps/rado/keymap.cIn file included from ./tmk_core/common/print.h:41:0,
    from ./tmk_core/common/debug.h:22,
    from ./quantum/keymap.h:32,
    from ./quantum/quantum.h:26,
    from keyboards/ergodox/ez/ez.h:4,
    from keyboards/ergodox/ergodox.h:4,
    from keyboards/ergodox/keymaps/rado/keymap.c:1:
    keyboards/ergodox/keymaps/rado/keymap.c: In function ‘action_function’:
    ./tmk_core/common/print.h:63:45: error: expected expression before ‘...’ token
    # define uprintf(fmt, ...) xprintf(fmt, ...)
    ^
    ./tmk_core/common/avr/xprintf.h:54:67: note: in definition of macro ‘xprintf’
    #define xprintf(format, ...) __xprintf(PSTR(format), ##__VA_ARGS__)
    ^
    keyboards/ergodox/keymaps/rado/keymap.c:49:3: note: in expansion of macro ‘uprintf’
    uprintf("%d action\n", id);
    ^
    ./tmk_core/common/print.h:63:45: error: expected expression before ‘...’ token
    # define uprintf(fmt, ...) xprintf(fmt, ...)
    ^
    ./tmk_core/common/avr/xprintf.h:54:67: note: in definition of macro ‘xprintf’
    #define xprintf(format, ...) __xprintf(PSTR(format), ##__VA_ARGS__)
    ^
    keyboards/ergodox/keymaps/rado/keymap.c:54:9: note: in expansion of macro ‘uprintf’
    uprintf("%d a pressed\n", id);
    ^
    ./tmk_core/common/print.h:63:45: error: expected expression before ‘...’ token
    # define uprintf(fmt, ...) xprintf(fmt, ...)
    ^
    ./tmk_core/common/avr/xprintf.h:54:67: note: in definition of macro ‘xprintf’
    #define xprintf(format, ...) __xprintf(PSTR(format), ##__VA_ARGS__)
    ^
    keyboards/ergodox/keymaps/rado/keymap.c:59:9: note: in expansion of macro ‘uprintf’
    uprintf("%d a release\n", id);
    ^
    ./tmk_core/common/print.h:63:45: error: expected expression before ‘...’ token
    # define uprintf(fmt, ...) xprintf(fmt, ...)
    ^
    ./tmk_core/common/avr/xprintf.h:54:67: note: in definition of macro ‘xprintf’
    #define xprintf(format, ...) __xprintf(PSTR(format), ##__VA_ARGS__)
    ^
    keyboards/ergodox/keymaps/rado/keymap.c:64:8: note: in expansion of macro ‘uprintf’
    uprintf("aaa\n");
    ^
    keyboards/ergodox/keymaps/rado/keymap.c: In function ‘process_record_user’:
    ./tmk_core/common/print.h:63:45: error: expected expression before ‘...’ token
    # define uprintf(fmt, ...) xprintf(fmt, ...)
    ^
    ./tmk_core/common/avr/xprintf.h:54:67: note: in definition of macro ‘xprintf’
    #define xprintf(format, ...) __xprintf(PSTR(format), ##__VA_ARGS__)
    ^
    keyboards/ergodox/keymaps/rado/keymap.c:75:3: note: in expansion of macro ‘uprintf’
    uprintf("record %d %d %d\n", layer_mychars, keycode, aux_keycode);
    ^
    ./tmk_core/common/print.h:63:45: error: expected expression before ‘...’ token
    # define uprintf(fmt, ...) xprintf(fmt, ...)
    ^
    ./tmk_core/common/avr/xprintf.h:54:67: note: in definition of macro ‘xprintf’
    #define xprintf(format, ...) __xprintf(PSTR(format), ##__VA_ARGS__)
    ^
    keyboards/ergodox/keymaps/rado/keymap.c:90:11: note: in expansion of macro ‘uprintf’
    uprintf("r pressed\n");
    ^
    ./tmk_core/common/print.h:63:45: error: expected expression before ‘...’ token
    # define uprintf(fmt, ...) xprintf(fmt, ...)
    ^
    ./tmk_core/common/avr/xprintf.h:54:67: note: in definition of macro ‘xprintf’
    #define xprintf(format, ...) __xprintf(PSTR(format), ##__VA_ARGS__)
    ^
    keyboards/ergodox/keymaps/rado/keymap.c:94:11: note: in expansion of macro ‘uprintf’
    uprintf("r release\n");
    ^
    ./tmk_core/common/print.h:63:45: error: expected expression before ‘...’ token
    # define uprintf(fmt, ...) xprintf(fmt, ...)
    ^
    ./tmk_core/common/avr/xprintf.h:54:67: note: in definition of macro ‘xprintf’
    #define xprintf(format, ...) __xprintf(PSTR(format), ##__VA_ARGS__)
    ^
    keyboards/ergodox/keymaps/rado/keymap.c:111:5: note: in expansion of macro ‘uprintf’
    uprintf("exit layer, release key catching\n");
    ^
    ./tmk_core/common/print.h:63:45: error: expected expression before ‘...’ token
    # define uprintf(fmt, ...) xprintf(fmt, ...)
    ^
    ./tmk_core/common/avr/xprintf.h:54:67: note: in definition of macro ‘xprintf’
    #define xprintf(format, ...) __xprintf(PSTR(format), ##__VA_ARGS__)
    ^
    keyboards/ergodox/keymaps/rado/keymap.c:113:5: note: in expansion of macro ‘uprintf’
    uprintf("rrr\n");
    ^
    [ERRORS]



    tmk_core/rules.mk:358: recipe for target '.build/obj_ergodox_ez_rado/keyboards/ergodox/keymaps/rado/keymap.o' failed
    make[1]: *** [.build/obj_ergodox_ez_rado/keyboards/ergodox/keymaps/rado/keymap.o] Error 1
    ../../Makefile:498: recipe for target 'rado' failed
    make: *** [rado] Error 1
    Make finished with errors