New answers tagged

0

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


2

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.


1

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