Intell Galileo Gen1 Error Compiling Arduino 1.8.16

It looks like @lmanmen was able to solve the upload failure and is now experiencing a runtime problem, for which they have created a dedicated topic:

As for the uploading failure, I notice that during the failed upload you had COM3 selected from the Tools > Port menu:

whereas during the successful upload you had COM8 selected:

So maybe the upload failure reported here was caused by having the wrong port selected.