Created
November 13, 2013 09:25
-
-
Save mikeymckay/7446173 to your computer and use it in GitHub Desktop.
Errors while trying to make a trb file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for dir in tests/*; do \ | |
(cd "$dir" && make) \ | |
done | |
make[1]: Entering directory `/var/www/muvuku/tests/charset' | |
avr-gcc -c -D_MUVUKU_TINY_STRINGS -Os -Wall -fno-strict-aliasing -fomit-frame-pointer -std=gnu99 -mmcu=atmega128 -fno-jump-tables -Wimplicit-function-declaration -fno-builtin -I../../../turbo-devel-1.5.24/include -I../../src -I. charset.c -o charset.o | |
charset.c:11:17: error: variable ‘lc_test_str’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ | |
charset.c:30:19: error: variable ‘l_test’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ | |
charset.c:41:17: error: variable ‘lc_topmenu_name’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ | |
charset.c:47:17: error: variable ‘lc_menu_top’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ | |
charset.c:52:17: error: variable ‘lc_select_str’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ | |
charset.c:63:8: error: variable ‘menu_top_n’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ | |
charset.c:75:8: error: variable ‘menu_test_n’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ | |
charset.c:92:8: error: variable ‘menu_select_n’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ | |
charset.c:97:8: error: variable ‘menu_edges_p’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ | |
make[1]: *** [charset.o] Error 1 | |
make[1]: Leaving directory `/var/www/muvuku/tests/charset' | |
make[1]: Entering directory `/var/www/muvuku/tests/pool' | |
avr-gcc -c -D_MUVUKU_TINY_STRINGS -Os -Wall -fno-strict-aliasing -fomit-frame-pointer -std=gnu99 -mmcu=atmega128 -fno-jump-tables -Wimplicit-function-declaration -fno-builtin -I../../../turbo-devel-1.5.24/include -I../../src -I. ../../src/flash.c -o ../../src/flash.o | |
In file included from ../../src/flash.c:24:0: | |
../../src/flash.h:44:19: error: variable ‘muvuku_flash_reserved’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ | |
../../src/flash.c:29:12: error: variable ‘muvuku_flash_reserved’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ | |
make[1]: *** [../../src/flash.o] Error 1 | |
make[1]: Leaving directory `/var/www/muvuku/tests/pool' | |
make[1]: Entering directory `/var/www/muvuku/tests/prototype' | |
cc -D_MUVUKU_TINY_STRINGS -D_MUVUKU_PROTOTYPE \ | |
-fno-builtin -Wno-pointer-to-int-cast -Wno-attributes \ | |
-I../../src -g -o prototype ../../src/flash.c ../../src/string.c ../../src/settings.c ../../src/pool.c ../../src/schema.c ../../src/util.c prototype.c | |
/tmp/cc9Bz1c3.o: In function `test_simple_serialization': | |
/var/www/muvuku/tests/prototype/prototype.c:98: undefined reference to `SCHEMA_ITEM_DELIMITER' | |
/var/www/muvuku/tests/prototype/prototype.c:101: undefined reference to `SCHEMA_ITEM_DELIMITER' | |
/var/www/muvuku/tests/prototype/prototype.c:137: undefined reference to `schema_list_unserialize' | |
/var/www/muvuku/tests/prototype/prototype.c:150: undefined reference to `schema_list_unserialize' | |
/var/www/muvuku/tests/prototype/prototype.c:163: undefined reference to `schema_list_unserialize' | |
/var/www/muvuku/tests/prototype/prototype.c:176: undefined reference to `schema_list_unserialize' | |
/var/www/muvuku/tests/prototype/prototype.c:235: undefined reference to `schema_list_unserialize' | |
/tmp/cc9Bz1c3.o: In function `test_date_serialization': | |
/var/www/muvuku/tests/prototype/prototype.c:264: undefined reference to `SCHEMA_ITEM_DELIMITER' | |
/var/www/muvuku/tests/prototype/prototype.c:266: undefined reference to `SCHEMA_ITEM_DELIMITER' | |
/tmp/cc9Bz1c3.o: In function `test_selective_serialization': | |
/var/www/muvuku/tests/prototype/prototype.c:368: undefined reference to `schema_list_unserialize' | |
/var/www/muvuku/tests/prototype/prototype.c:383: undefined reference to `schema_list_unserialize' | |
collect2: error: ld returned 1 exit status | |
make[1]: *** [prototype] Error 1 | |
make[1]: Leaving directory `/var/www/muvuku/tests/prototype' | |
make: *** [all-tests] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment