HAMNET-Access-Protocol / HAMNET-Access-Protocol/HNAP4PlutoSDR

Fix Kernel build with GCC 10

Open
#46 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
31
Forks
6
PR merge metrics
No merged PRs in 30d

Description

GCC 10 also causes problems when building the Linux kernel, also because of the change of default behavior -fcommon (see #38) (although compilation happens with arm-linux-gnueabihf-gcc, linking is obviously done by compilation host's gcc toolchain)

During a linking step, it shows `multiple definition of 'yylloc'`.
It can be patched by removing the line
```YYLTYPE yylloc;```
in ` plutosdr-fw/linux/scripts/dtc/dtc-lexer.l`, which is a redundant global declaration (see https://lkml.org/lkml/2020/4/1/1206).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.