When compiling µLisp for a Raspberry Pico W I got this error:
ulisp-extensions:41:14: error: redefinition of ‘tbl_entry_t* tables []’ 41 | tbl_entry_t tables[] = {lookup_table, lookup_table2}; | ^~~~~~ /tmp/ulisp-arm/ulisp-arm.ino:6510:14: note: 'tbl_entry_t tables [2]’ previously defined here 6510 | tbl_entry_t tables[] = {lookup_table, NULL}; | ^~~~~~ ulisp-extensions:42:20: error: redefinition of ‘const unsigned int tablesizes []’ 42 | const unsigned int tablesizes[] = { arraysize(lookup_table), arraysize(lookup_table2) }; | ^~~~~~~~~~ /tmp/ulisp-arm/ulisp-arm.ino:6511:20: note: ‘const unsigned int tablesizes [2]’ previously defined here 6511 | const unsigned int tablesizes[] = { arraysize(lookup_table), 0 }; | ^~~~~~~~~~ ulisp-extensions:44:20: error: redefinition of 'tbl_entry_t table(int)’ 44 | const tbl_entry_t *table (int n) { | ^~~~~ /tmp/ulisp-arm/ulisp-arm.ino:6513:20: note: ‘tbl_entry_t* table(int)’ previously defined here 6513 | const tbl_entry_t *table (int n) { | ^~~~~ ulisp-extensions:48:14: error: redefinition of ‘unsigned int tablesize(int)’ 48 | unsigned int tablesize (int n) { | ^~~~~~~~~ /tmp/ulisp-arm/ulisp-arm.ino:6517:14: note: ‘unsigned int tablesize(int)’ previously defined here 6517 | unsigned int tablesize (int n) { | ^~~~~~~~~
How can I fix it?
Cheers!
mcc