Skip to content

error compiling on raspberry pi 3 with archlinux arm #3

@lochbika

Description

@lochbika

Hi there,

I tried to compile it on a raspberry pi (https://aur.archlinux.org/packages/eventlircd). I modified the arch line in the PKGBUILD to armv7h for that. Nevertheless, I get the following error

make[2]: Verzeichnis „/home/alarm/eventlircd/src/eventlircd/src“ wird betreten
gcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2   -DLIRCD_SOCKET=\"/run/lirc/lircd\" -DEVMAP_DIR=\"/etc/eventlircd.d\" -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -flto -fvisibility=hidden -Werror -Wall -Wextra -Wcast-qual -Wfloat-equal -Wformat=2 -Winit-self -Wmissing-include-dirs  -Wstrict-overflow=5 -Wundef -c -o eventlircd-main.o `test -f 'main.c' || echo './'`main.c
main.c: In Funktion »main«:
main.c:100:20: Fehler: diese Anweisung könnte durchfallen [-Werror=implicit-fallthrough=]
                 if (verbose < 3)
                    ^
main.c:108:13: Anmerkung: hier
             case 'f':
             ^~~~
cc1: Alle Warnungen werden als Fehler behandelt

How could I best tackle this?
Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions