make erring out on raspberry pi 2 b



  • I am attempting to set up homeassistant with a mysensors ethernet gateway on the same raspberry pi 2 b. However, make is erring out. Do I need an older mysensors library?

    [SECTION] Detecting target machine.
      [OK] machine detected: SoC=BCM2835, Type=rpi1, CPU=armv7l.
    [SECTION] Detecting SPI driver.
      [OK] SPI driver detected:BCM.
    [SECTION] Gateway configuration.
      [OK] Type: ethernet.
      [OK] Transport: rf24.
      [OK] Signing: Disabled.
      [OK] Encryption: Disabled.
      [OK] CPPFLAGS: -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_PORT=5003 
      [OK] CXXFLAGS:  -std=c++11
    [SECTION] Detecting init system.
      [OK] Init system detected: systemd.
    [SECTION] Saving configuration.
      [OK] Saved.
    [SECTION] Cleaning previous builds.
      [OK] Finished.
    root@rpi2-20230102:~/MySensors# ^C
    
    
    root@rpi2-20230102:~/MySensors# ^C
    root@rpi2-20230102:~/MySensors# make
    gcc -MT build/hal/architecture/Linux/drivers/core/config.o -MMD -MP -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_PORT=5003  -Ofast -g -Wall -Wextra  -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/config.c -o build/hal/architecture/Linux/drivers/core/config.o
    In file included from /usr/include/stdio.h:864,
                     from hal/architecture/Linux/drivers/core/config.c:23:
    /usr/include/arm-linux-gnueabihf/bits/stdio.h: In function 'vprintf':
    /usr/include/arm-linux-gnueabihf/bits/stdio.h:40:1: sorry, unimplemented: Thumb-1 hard-float VFP ABI
       40 | {
          | ^
    make: *** [Makefile:103: build/hal/architecture/Linux/drivers/core/config.o] Error 1
    


  • @mrhutchinsonmn I'm not an expert on this code and when I get into a situation like yours, I suspect a corrupted file. So I download the MySensors code again.

    Yeah it's a pain because you have it all configured. To minimize that pain, I create shell script to run the the configure program. I also keep my source files in a different directory from MySensors. When I go to compile the code, I copy the source(s) to the directory(ies) to where "make" expects it(them).

    Sometimes, for me, I've bolluxed things so badly that I reimage the RPi and really start over! I try to document exactly how to start over.

    I admit, it's not efficient nor elegant, but I eventually I get a configuration with which I can live. Documenting what I do is key!


Log in to reply
 

Suggested Topics

  • 4
  • 20
  • 8
  • 15
  • 9
  • 2

13
Online

11.4k
Users

11.1k
Topics

112.7k
Posts