GrumpyOldPizza / arduino-STM32L4

69 stars 60 forks source link

dfu-suffix #23

Closed flybrianfly closed 6 years ago

flybrianfly commented 6 years ago

Writing software for Ladybug and I get this error: Build options changed, rebuilding all fork/exec /home/brian/.arduino15/packages/grumpyoldpizza/hardware/stm32l4/0.0.26/tools/linux//dfu-suffix: no such file or directory Error compiling for board Ladybug-L432KC.

I'm using Arduino 1.8.3 on Fedora 27. Ladybug shows up correctly under "Port" when it's plugged in.

GrumpyOldPizza commented 6 years ago

Is the dfu-suffix binary in the directory ? Should be there, but perhaps a download issue when you installed the package ?

It's also a 32bit binary. Does Fedora 27 install the 32 bit libs by default ?

On Tue, Nov 14, 2017 at 5:07 PM, Brian Taylor notifications@github.com wrote:

Writing software for Ladybug and I get this error: Build options changed, rebuilding all fork/exec /home/brian/.arduino15/ packages/grumpyoldpizza/hardware/stm32l4/0.0.26/tools/linux//dfu-suffix: no such file or directory Error compiling for board Ladybug-L432KC.

I'm using Arduino 1.8.3 on Fedora 27. Ladybug shows up correctly under "Port" when it's plugged in.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/23, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfGRmvm7dVsZXMtcGa-mG9W9xmbcaks5s2itYgaJpZM4QeMWw .

flybrianfly commented 6 years ago

The dfu-prefix, dfu-suffix, and dfu-util binaries are all there and executable.

Unfortunately, my understanding is that by default Fedora does not install 32 bit libs. Which libs should be installed? Thanks!

GrumpyOldPizza commented 6 years ago

Mind trying quickly:

sudo dnf install glibc.i686

On Wed, Nov 15, 2017 at 10:08 AM, Brian Taylor notifications@github.com wrote:

The dfu-prefix, dfu-suffix, and dfu-util binaries are all there and executable.

Unfortunately, my understanding is that by default Fedora does not install 32 bit libs. Which libs should be installed? Thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/23#issuecomment-344659869, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfChwfE7z4vyBj9p5mPlRnxXiOSHPks5s2xnzgaJpZM4QeMWw .

flybrianfly commented 6 years ago

That fixed the issue. Code builds and uploads correctly now, thanks!

GrumpyOldPizza commented 6 years ago

Oki. Thanx for the heads up.

On Wed, Nov 15, 2017 at 10:16 AM, Brian Taylor notifications@github.com wrote:

That fixed the issue. Code builds and uploads correctly now, thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/23#issuecomment-344663193, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfB6JZ5xGpqaToC-wMYbNVBFdwU1bks5s2xyFgaJpZM4QeMWw .

arthurv commented 6 years ago

Just commenting for ubuntu-based distros (Linux Mint etc) the command to fix this problem is:

sudo apt-get install libc6-i386