bob@debian-parallella:~/src/dl/epiphany-examples/apps/shm_test$ e-gcc -T /opt/adapteva/esdk/bsps/current/fast.ldf src/e_shm_test.c -o bin/e_shm_test.elf -le-lib
bob@debian-parallella:~/src/dl/epiphany-examples/apps/shm_test$ rm bin/e_shm_test.elf
bob@debian-parallella:~/src/dl/epiphany-examples/apps/shm_test$ e-g++ -T /opt/adapteva/esdk/bsps/current/fast.ldf src/e_shm_test.c -o bin/e_shm_test.elf -le-lib
/opt/adapteva/esdk.2014.11/tools/e-gnu.armv7l/bin/../lib/gcc/epiphany-elf/4.8.2/../../../../epiphany-elf/bin/ld: bin/e_shm_test.elf section `.text' will not fit in region `INTERNAL_RAM'
/opt/adapteva/esdk.2014.11/tools/e-gnu.armv7l/bin/../lib/gcc/epiphany-elf/4.8.2/../../../../epiphany-elf/bin/ld: region `INTERNAL_RAM' overflowed by 19120 bytes
/tmp/ccyTAuUg.o: In function `main':
e_shm_test.c:(.text+0xf4): undefined reference to `trace_init()'
e_shm_test.c:(.text+0xf8): undefined reference to `trace_init()'
e_shm_test.c:(.text+0x10e): undefined reference to `trace_start()'
e_shm_test.c:(.text+0x112): undefined reference to `trace_start()'
e_shm_test.c:(.text+0x12e): undefined reference to `trace_write(unsigned int, unsigned int, unsigned int, unsigned int)'
e_shm_test.c:(.text+0x132): undefined reference to `trace_write(unsigned int, unsigned int, unsigned int, unsigned int)'
e_shm_test.c:(.text+0x142): undefined reference to `e_get_coreid()'
.....
e-gcc compiles fine, but I see that e-g++ fails. Is there anything in this specific example that I should be doing?
BobStatistics: Posted by bobblestiltskin — Wed Jan 27, 2016 3:29 pm
]]>