I am still having problems compiling my C code in codeblocks. So I have used my own makefile (where codeblocks was just building but never running the code) and now I wanted to try it without. So the compiler returns the code I pasted below.
/the bbb is a external library I have linked to my code. ON line 13 in my main.c is the beginning of the main function.
||=== Build: Debug in program (compiler: GNU GCC Compiler) ===|
/usr/local/bin/bbb||In function `_fini':|
/usr/local/bin/bbb||In function `data_start':|
/usr/local/bin/bbb||In function `data_start':|
/usr/local/bin/bbb||In function `_start':|
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o|| first defined here|
/usr/local/bin/bft||In function `main':|
obj/Debug/myCode/src/main.o:/home/MyName/Documents/myCode/src/main.c|13|first defined here|
/usr/local/bin/bbb||In function `_init':|
||error: ld returned 1 exit status|
||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|