Skip to content

Linux kernel update on flex 5g #20

@ValkyrieStella

Description

@ValkyrieStella

Adding this issue here since I'm unable to open an issue on your linux repository.
I have attempted updating the Linux kernel per instructions posted on the README. I have tried branches laptops-5.13, laptops-5.14, and laptpos-5.15 on the Lenovo Flex 5g. All three have yielded the same error during the second make command. output below:

edgy1@debian:~/linux$ make LOCALVERSION="-custom" -j`nproc` bindeb-pkg
scripts/kconfig/conf  --syncconfig Kconfig
/bin/bash ./scripts/package/mkdebian
dpkg-buildpackage -r"fakeroot -u" -a$(cat debian/arch)  -b -nc -uc
dpkg-buildpackage: info: source package linux-5.1.0-custom
dpkg-buildpackage: info: source version 5.1.0-custom-1
dpkg-buildpackage: info: source distribution sid
dpkg-buildpackage: info: source changed by edgy1 <edgy1@debian>
dpkg-buildpackage: info: host architecture arm64
 dpkg-source --before-build .
dpkg-source: info: using options from linux/debian/source/options: --diff-ignore --tar-ignore
 debian/rules build
make KERNELRELEASE=5.1.0-custom ARCH=arm64 	KBUILD_BUILD_VERSION=1 -f ./Makefile
  HOSTLD  scripts/dtc/dtc
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x8): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x38): first defined here
collect2: error: ld returned 1 exit status
make[4]: *** [scripts/Makefile.host:101: scripts/dtc/dtc] Error 1
make[3]: *** [Makefile:1244: scripts_dtc] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make[1]: *** [scripts/package/Makefile:79: bindeb-pkg] Error 2
make: *** [Makefile:1396: bindeb-pkg] Error 2
edgy1@debian:~/linux$ 

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