Here is the error message I get when I try to compile(Big shoutout to everyone here for helping me out and being so friendly, and apologies to everyone for being a beginner):
Code: Select all
C:\Users\Miguel\Desktop\tmk_keyboard-master\keyboard\gh60>make -f Makefile
-------- begin --------
avr-gcc (GCC) 4.8.2 20131010 (prerelease)
Copyright (C) 2013 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.
mkdir -p obj_gh60_lufa
Compiling C: keymap_poker.c
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DINTERRUPT_CONTROL_ENDPOINT -DBOOTLOADER_SIZE=4096 -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8 -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DVERSION=unknown -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fdata-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_gh60_lufa/keymap_poker.lst -I. -I../../tmk_core -I../../tmk_core/protocol/lufa -I../../tmk_core/protocol/lufa/LUFA-git -I../../tmk_core/common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_gh60_lufa_keymap_poker.o.d keymap_poker.c -o obj_gh60_lufa/keymap_poker.o
In file included from keymap_poker.c:1:0:
keymap_common.h:47:1: error: parameter name missing
) { \
^
keymap_poker.c:5:5: warning: implicit declaration of function 'KEYMAP' [-Wimplicit-function-declaration]
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:12: error: 'ESC' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:18: error: 'F1' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:24: error: 'F2' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:30: error: 'F3' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:36: error: 'F4' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:42: error: 'F5' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:48: error: 'F6' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:54: error: 'F7' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:60: error: 'F8' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:66: error: 'F9' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:79: error: 'F10' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:85: error: 'F11' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:92: error: 'F12' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:98: error: 'PSCR' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:106: error: 'Q' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:5:110: error: 'PAUS' undeclared here (not in a function)
KEYMAP(ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F9, F10, F11, F12, PSCR , Q, PAUS, \
^
keymap_poker.c:6:13: error: 'MUTE' undeclared here (not in a function)
MUTE, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, BSPC, INST, HOME, PGUP, \
^
keymap_poker.c:6:71: error: 'MINS' undeclared here (not in a function)
MUTE, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, BSPC, INST, HOME, PGUP, \
^
keymap_poker.c:6:78: error: 'EQL' undeclared here (not in a function)
MUTE, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, BSPC, INST, HOME, PGUP, \
^
keymap_poker.c:6:84: error: 'BSPC' undeclared here (not in a function)
MUTE, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, BSPC, INST, HOME, PGUP, \
^
keymap_poker.c:6:91: error: 'INST' undeclared here (not in a function)
MUTE, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, BSPC, INST, HOME, PGUP, \
^
keymap_poker.c:6:97: error: 'HOME' undeclared here (not in a function)
MUTE, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, BSPC, INST, HOME, PGUP, \
^
keymap_poker.c:6:103: error: 'PGUP' undeclared here (not in a function)
MUTE, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, BSPC, INST, HOME, PGUP, \
^
keymap_poker.c:7:12: error: 'TAB' undeclared here (not in a function)
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, \
^
keymap_poker.c:7:23: error: 'W' undeclared here (not in a function)
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, \
^
keymap_poker.c:7:28: error: 'E' undeclared here (not in a function)
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, \
^
keymap_poker.c:7:33: error: 'R' undeclared here (not in a function)
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, \
^
keymap_poker.c:7:38: error: 'T' undeclared here (not in a function)
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, \
^
keymap_poker.c:7:43: error: 'Y' undeclared here (not in a function)
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, \
^
keymap_poker.c:7:48: error: 'U' undeclared here (not in a function)
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, \
^
keymap_poker.c:7:53: error: 'I' undeclared here (not in a function)
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, \
^
keymap_poker.c:7:58: error: 'O' undeclared here (not in a function)
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, \
^
keymap_poker.c:7:63: error: 'P' undeclared here (not in a function)
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, \
^
keymap_poker.c:7:68: error: 'LBRC' undeclared here (not in a function)
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, \
^
keymap_poker.c:7:73: error: 'RBRC' undeclared here (not in a function)
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, \
^
keymap_poker.c:7:78: error: 'BSLS' undeclared here (not in a function)
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, \
^
keymap_poker.c:7:85: error: 'DEL' undeclared here (not in a function)
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, \
^
keymap_poker.c:7:96: error: 'PGDN' undeclared here (not in a function)
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, DEL, END, PGDN, \
^
keymap_poker.c:8:12: error: 'LCTL' undeclared here (not in a function)
LCTL, A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
^
keymap_poker.c:8:18: error: 'A' undeclared here (not in a function)
LCTL, A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
^
keymap_poker.c:8:23: error: 'S' undeclared here (not in a function)
LCTL, A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
^
keymap_poker.c:8:28: error: 'D' undeclared here (not in a function)
LCTL, A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
^
keymap_poker.c:8:33: error: 'F' undeclared here (not in a function)
LCTL, A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
^
keymap_poker.c:8:38: error: 'G' undeclared here (not in a function)
LCTL, A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
^
keymap_poker.c:8:43: error: 'H' undeclared here (not in a function)
LCTL, A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
^
keymap_poker.c:8:48: error: 'J' undeclared here (not in a function)
LCTL, A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
^
keymap_poker.c:8:53: error: 'K' undeclared here (not in a function)
LCTL, A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
^
keymap_poker.c:8:58: error: 'L' undeclared here (not in a function)
LCTL, A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
^
keymap_poker.c:8:63: error: 'SCLN' undeclared here (not in a function)
LCTL, A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
^
keymap_poker.c:8:68: error: 'QUOT' undeclared here (not in a function)
LCTL, A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
^
keymap_poker.c:8:73: error: 'ENT' undeclared here (not in a function)
LCTL, A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \
^
keymap_poker.c:9:12: error: 'LSFT' undeclared here (not in a function)
LSFT, Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT, UP, \
^
keymap_poker.c:9:18: error: 'Z' undeclared here (not in a function)
LSFT, Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT, UP, \
^
keymap_poker.c:9:23: error: 'X' undeclared here (not in a function)
LSFT, Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT, UP, \
^
keymap_poker.c:9:28: error: 'C' undeclared here (not in a function)
LSFT, Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT, UP, \
^
keymap_poker.c:9:33: error: 'V' undeclared here (not in a function)
LSFT, Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT, UP, \
^
keymap_poker.c:9:38: error: 'B' undeclared here (not in a function)
LSFT, Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT, UP, \
^
keymap_poker.c:9:43: error: 'N' undeclared here (not in a function)
LSFT, Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT, UP, \
^
keymap_poker.c:9:48: error: 'M' undeclared here (not in a function)
LSFT, Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT, UP, \
^
keymap_poker.c:9:53: error: 'COMM' undeclared here (not in a function)
LSFT, Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT, UP, \
^
keymap_poker.c:9:58: error: 'DOT' undeclared here (not in a function)
LSFT, Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT, UP, \
^
keymap_poker.c:9:63: error: 'SLSH' undeclared here (not in a function)
LSFT, Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT, UP, \
^
keymap_poker.c:9:68: error: 'RSFT' undeclared here (not in a function)
LSFT, Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT, UP, \
^
keymap_poker.c:9:75: error: 'UP' undeclared here (not in a function)
LSFT, Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT, UP, \
^
keymap_poker.c:10:19: error: 'WIN' undeclared here (not in a function)
LCTL, WIN, LALT, SPC, RALT, WIN, PAUS, RCTL, LEFT, DOWN, RGHT),
^
keymap_poker.c:10:25: error: 'LALT' undeclared here (not in a function)
LCTL, WIN, LALT, SPC, RALT, WIN, PAUS, RCTL, LEFT, DOWN, RGHT),
^
keymap_poker.c:10:42: error: 'SPC' undeclared here (not in a function)
LCTL, WIN, LALT, SPC, RALT, WIN, PAUS, RCTL, LEFT, DOWN, RGHT),
^
keymap_poker.c:10:67: error: 'RALT' undeclared here (not in a function)
LCTL, WIN, LALT, SPC, RALT, WIN, PAUS, RCTL, LEFT, DOWN, RGHT),
^
keymap_poker.c:10:85: error: 'RCTL' undeclared here (not in a function)
LCTL, WIN, LALT, SPC, RALT, WIN, PAUS, RCTL, LEFT, DOWN, RGHT),
^
keymap_poker.c:10:91: error: 'LEFT' undeclared here (not in a function)
LCTL, WIN, LALT, SPC, RALT, WIN, PAUS, RCTL, LEFT, DOWN, RGHT),
^
keymap_poker.c:10:97: error: 'DOWN' undeclared here (not in a function)
LCTL, WIN, LALT, SPC, RALT, WIN, PAUS, RCTL, LEFT, DOWN, RGHT),
^
keymap_poker.c:10:103: error: 'RGHT' undeclared here (not in a function)
LCTL, WIN, LALT, SPC, RALT, WIN, PAUS, RCTL, LEFT, DOWN, RGHT),
^
../../tmk_core/rules.mk:550: recipe for target 'obj_gh60_lufa/keymap_poker.o' failed
make: *** [obj_gh60_lufa/keymap_poker.o] Error 1