Skip to content

Fix compilation #9

@mvdberge

Description

@mvdberge

I had several problems compiling lcd4linux with the newest Arch Linux toolchain, based on gcc 15.

The following build options allowed me to build it again.

export ACLOCAL_PATH="/usr/share/aclocal:/usr/share/gettext/m4${ACLOCAL_PATH:+:}$ACLOCAL_PATH"               
export CFLAGS="-std=gnu90"

I see several options to fix this (from the worst to the best idea):

  1. Just name these changes in the README so that everyone is aware and can modify its own build system when compiling
  2. Modify the lcd4linux build files to reflect the very old c standard (including the changes above)
  3. Refactor the source code to comply to newer c standards and other paths for the localisation files4.

BTW: There is a fork (https://github.com/MaxWiesel/lcd4linux-max) that has some modifications that would be worth to merge...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions