Cross compilation problem
Posted: Mon Aug 15, 2016 1:37 pm
hi,
i want to run this c code "world.c" on Raspberry:
but whenever i try to compile it, it keep giving this error:
i think that there is some library not included, but i don't know what it is..
i want to run this c code "world.c" on Raspberry:
Code: Select all
#include <stdio.h>
int main(void)
{
printf("Hello world!\n");
return 0;
}
Code: Select all
world.o: In function `main':
hello_world/world.c:34: undefined reference to `puts'