# Getting an error with make on SKR Mini 3 v2

**URL:** <https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064>\
**Category:** General Discussion\
**Created:** [October 8, 2021, 3:39am UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064 "2021-10-08T03:39:10Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![clamsdown](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/clamsdown/32/488_2.png) [@clamsdown](https://klipper.discourse.group/u/clamsdown)\
**Post date:** [October 8, 2021, 3:39am UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/1 "2021-10-08T03:39:10Z")

</div>

I’m getting an error when I use the command make after doing the config. This error is:

make: arm-none-eabi-gcc: Command not found  
make: \*\*\* [Makefile:64: out/src/sched.o] Error 127

What can I do about this?

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [October 8, 2021, 4:58am UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/2 "2021-10-08T04:58:43Z")

</div>

Did you closely follow [Installation - Klipper documentation](https://www.klipper3d.org/Installation.html)?  
Especially `./klipper/scripts/install-octopi.sh`. Did it complete without error?

---

<div class="post-metadata">

**Author:** ![clamsdown](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/clamsdown/32/488_2.png) [@clamsdown](https://klipper.discourse.group/u/clamsdown)\
**Post date:** [October 10, 2021, 9:19pm UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/3 "2021-10-10T21:19:01Z")

</div>

![Screen Shot 2021-10-10 at 17.20.06](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/cdf4e485ce7581cf502d5b0cc25a49ea955c8dcb.png)

I had to go back and check but I believe it did. I’ve attached a screenshot of that command.

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [October 11, 2021, 6:25am UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/4 "2021-10-11T06:25:58Z")

</div>

Run

```auto
sudo apt-get --allow-releaseinfo-change update
sudo apt-get dist-upgrade

```

Then repeat the installation. This happens due to a update of the underlying Debian linux

---

<div class="post-metadata">

**Author:** ![clamsdown](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/clamsdown/32/488_2.png) [@clamsdown](https://klipper.discourse.group/u/clamsdown)\
**Post date:** [October 11, 2021, 3:02pm UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/5 "2021-10-11T15:02:33Z")

</div>

Great! That did work. Unfortunately, I’m hitting a new roadblock. Apparently my serial port file wasn’t written.

 ![Screen Shot 2021-10-11 at 11.01.16](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/4763618be7fac2f0e59052ad46958ee23db34f22.png)

Any idea how I can move forward with this error?

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [October 11, 2021, 4:50pm UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/6 "2021-10-11T16:50:54Z")

</div>

Make sure to have followed the information on top of [klipper/generic-bigtreetech-skr-mini-e3-v2.0.cfg at master · Klipper3d/klipper · GitHub](https://github.com/Klipper3d/klipper/blob/master/config/generic-bigtreetech-skr-mini-e3-v2.0.cfg)

You need to rename `klipper.bin` to `firmware.bin` and copy it to the SKR’s SD card and reboot. After a successful flash the file `firmware.bin` will be renamed to `firmware.cur` on the SD

---

<div class="post-metadata">

**Author:** ![clamsdown](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/clamsdown/32/488_2.png) [@clamsdown](https://klipper.discourse.group/u/clamsdown)\
**Post date:** [October 11, 2021, 5:38pm UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/7 "2021-10-11T17:38:07Z")

</div>

OK. Perfect! Thanks so much for your help!! So, it looks like the file klipper.bin is now on my raspberry pi put there via octopi. I tried removing the micro SD from the raspberry pi, putting it in my computer, and searching for that klipper.bin file from there. But the only .bin file on there is called bootcode.bin. How do I get the file klipper.bin onto the SD card?

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [October 12, 2021, 4:54am UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/8 "2021-10-12T04:54:20Z")

</div>

Well, there are a lot of options.  
Try [WinSCP-Transfering Files From Windows PC’s – Raspberry Pi Projects](https://raspberry-projects.com/pi/software_utilities/file-sharing/transfering-files-from-windows-pcs) to get the file from your Pi to your Win machine and copy to the SD from there

---

<div class="post-metadata">

**Author:** ![clamsdown](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/clamsdown/32/488_2.png) [@clamsdown](https://klipper.discourse.group/u/clamsdown)\
**Post date:** [October 12, 2021, 12:11pm UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/9 "2021-10-12T12:11:30Z")

</div>

It had to be a windows PC. Of course I’m on a Mac. 😅

---

<div class="post-metadata">

**Author:** ![gdachs](https://avatars.discourse-cdn.com/v4/letter/g/e56c9b/32.png) [@gdachs](https://klipper.discourse.group/u/gdachs)\
**Post date:** [October 12, 2021, 3:41pm UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/10 "2021-10-12T15:41:44Z")

</div>

AFAIK the Mac has scp on the command line

---

<div class="post-metadata">

**Author:** ![jakep\_82](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jakep\_82](https://klipper.discourse.group/u/jakep_82)\
**Post date:** [October 12, 2021, 5:09pm UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/11 "2021-10-12T17:09:56Z")

</div>

You should be able to use something like this in Terminal:

```auto
scp pi@octopi.local:~/klipper/out/klipper.bin ~/Desktop
```

---

<div class="post-metadata">

**Author:** ![clamsdown](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/clamsdown/32/488_2.png) [@clamsdown](https://klipper.discourse.group/u/clamsdown)\
**Post date:** [October 13, 2021, 12:01am UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/12 "2021-10-13T00:01:24Z")

</div>

Unfortunately that didn’t work. I’m seeing that…Something happened. But the file never ended up on my desktop. This is what I’m seeing:

 ![Screen Shot 2021-10-12 at 21.24.18](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/34cdcfc6e6691a20ba22e83fd30bf33b4423ad0c.png)

I also tried downloading cyberduck but couldn’t get that to work. I also followed this guide but couldn’t connect to the Pi server:  
[Transfer Files Between Your Mac and Raspberry Pi](https://www.dexterindustries.com/howto/how-to-transfer-files-to-your-raspberry-pi-from-a-mac/#:~:text=You%20can%20transfer%20files%20from%20the%20Raspberry%20Pi%20to%20the,open%20in%20the%20appropriate%20program).

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [October 13, 2021, 4:48am UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/13 "2021-10-13T04:48:01Z")

</div>

> [@jakep\_82](#):
>
> `scp pi@octopi.local:~/klipper/out/klipper.bin ~/Desktop`

You need to run this command on your Mac not on the RPi

---

<div class="post-metadata">

**Author:** ![clamsdown](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/clamsdown/32/488_2.png) [@clamsdown](https://klipper.discourse.group/u/clamsdown)\
**Post date:** [October 13, 2021, 2:59pm UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/14 "2021-10-13T14:59:10Z")

</div>

> [@jakep\_82](#):
>
> scp pi@octopi.local:~/klipper/out/klipper.bin ~/Desktop

YES!! That worked. Thank you so much for your help!!

---

<div class="post-metadata">

**Author:** ![valiantmorgan](https://avatars.discourse-cdn.com/v4/letter/v/a88e57/32.png) [@valiantmorgan](https://klipper.discourse.group/u/valiantmorgan)\
**Post date:** [February 7, 2024, 12:01am UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/15 "2024-02-07T00:01:02Z")

</div>

I did this and still got the same error when I tried running ‘make’ again. I even ran your suggestion again, then ran ‘menuconfig’ again and it still had the same result. Any tips?

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/5/53d3d4fd7afd13eba8e7f1c55dfff51e270549a3.png)

---

<div class="post-metadata">

**Author:** ![jakep\_82](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jakep\_82](https://klipper.discourse.group/u/jakep_82)\
**Post date:** [February 7, 2024, 12:27am UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/16 "2024-02-07T00:27:53Z")

</div>

My suggestion is opening a new topic rather than commenting on a thread that’s more than 2 years old.

---

<div class="post-metadata">

**Author:** ![valiantmorgan](https://avatars.discourse-cdn.com/v4/letter/v/a88e57/32.png) [@valiantmorgan](https://klipper.discourse.group/u/valiantmorgan)\
**Post date:** [February 7, 2024, 1:23am UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/17 "2024-02-07T01:23:12Z")

</div>

I figured it out. Just had to install Klipper again. I also upgraded Python since it was 3 years expired on my pi. Keeping here for future reference.

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [February 7, 2024, 9:05am UTC](https://klipper.discourse.group/t/getting-an-error-with-make-on-skr-mini-3-v2/1064/18 "2024-02-07T09:05:48Z")

</div>


