The program now runs and is uploaded via gdb without a hitch.