New answers tagged


From man make. A status of two will be returned if any errors were encountered.


typedef struct { int startingNumber; } myStruct; The typedef declares a new type. It does not declare any instances of that type. myStruct count; declares an object of that type. myStruct count = {23}; declares an object of that type and gives an initial value.


The .o files are object files and they must be compiled for the Pi. You cannot take a .o file from an X86 platform and expect it to link on a Pi. That produces the error message that you describe, so I assume that is what you did. gcc is also a front-end for the linker, so if your object files are correct, they will be linked by gcc. As an oversimplified ...

Top 50 recent answers are included