Error while running helloworld in PULPino - Printable Version +- PULP Community (https://pulp-platform.org/community) +-- Forum: PULP's Community forum (https://pulp-platform.org/community/forumdisplay.php?fid=1) +--- Forum: PULP General questions (https://pulp-platform.org/community/forumdisplay.php?fid=2) +--- Thread: Error while running helloworld in PULPino (/showthread.php?tid=202) |
Error while running helloworld in PULPino - Tresa Febina Francis - 08-12-2020 root@tresa-Inspiron-5567:~/pulpino/sw/build1# make helloworld [ 0%] Built target bench [ 0%] Building C object CMakeFiles/crt0.dir/ref/crt0.riscv.S.o /root/pulpino/sw/ref/crt0.riscv.S:17:3: error: expected identifier or '(' before '.' token .section .text ^ /root/pulpino/sw/ref/crt0.riscv.S:84:3: error: unknown type name 'addi' addi x10, x0, 0 ^ /root/pulpino/sw/ref/crt0.riscv.S:84:17: error: expected identifier or '(' before numeric constant addi x10, x0, 0 ^ /root/pulpino/sw/ref/crt0.riscv.S:89:3: error: unknown type name 'mv' mv a0, s0 ^ /root/pulpino/sw/ref/crt0.riscv.S:91:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jal' jal x1, exit ^ /root/pulpino/sw/ref/crt0.riscv.S:254:5: error: invalid preprocessing directive #These # These don't have to do anything since we use init_array/fini_array. ^ /root/pulpino/sw/ref/crt0.riscv.S:254:14: warning: missing terminating ' character # These don't have to do anything since we use init_array/fini_array. ^ /root/pulpino/sw/ref/crt0.riscv.S:265:3: error: expected identifier or '(' before '.' token .org 0x00 ^ CMakeFiles/crt0.dir/build.make:81: recipe for target 'CMakeFiles/crt0.dir/ref/crt0.riscv.S.o' failed make[3]: *** [CMakeFiles/crt0.dir/ref/crt0.riscv.S.o] Error 1 CMakeFiles/Makefile2:3980: recipe for target 'CMakeFiles/crt0.dir/all' failed make[2]: *** [CMakeFiles/crt0.dir/all] Error 2 CMakeFiles/Makefile2:5086: recipe for target 'apps/helloworld/CMakeFiles/helloworld.dir/rule' failed make[1]: *** [apps/helloworld/CMakeFiles/helloworld.dir/rule] Error 2 Makefile:720: recipe for target 'helloworld' failed make: *** [helloworld] Error 2 Got this error while running helloworld. Kindly look into this error and help me out. Thanks in advance! |