Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile module rtl8192eu because `GLIBC_2.33' not found #40

Open
cyberdroid opened this issue Jul 16, 2021 · 6 comments
Open

Can't compile module rtl8192eu because `GLIBC_2.33' not found #40

cyberdroid opened this issue Jul 16, 2021 · 6 comments

Comments

@cyberdroid
Copy link

make.log

@cyberdroid
Copy link
Author

Ubuntu 20.04

@clnhub
Copy link
Owner

clnhub commented Jul 16, 2021

I assume you are using a mainline kernel?

Mainline kernels are now built on the newest Ubuntu version with glibc v2.33 and thus kernel modules require the same version. From what I know 'glibc' is part of the distribution and is hard to update.

This is the bug report about this.

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1926938

You can wait for an official fix, or:

  1. Try to upgrade glibc to v2.33
  2. Upgrade to v21.04
  3. Use the official Ubuntu kernel

@CGarces
Copy link

CGarces commented Jul 16, 2021

This should work to compile the kernel but maybe broke something, use at your own risk.

wget -nv http://mirrors.kernel.org/ubuntu/pool/main/g/glibc/libc6_2.33-0ubuntu5_amd64.deb
sudo dpkg --force-all -i libc6_2.33-0ubuntu5_amd64.deb

Works fine on my CI builds
Mange/rtl8192eu-linux-driver@4013a01

@cyberdroid
Copy link
Author

Thanks for the responses.
Ok, now the problem is clear.
I think the best solution will be installing ubuntu 21.04 in a VM and compile rtl8192eu module there then copy that module to 20.04 kernel tree.

@jameshilliard
Copy link
Contributor

scripts/basic/fixdep: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by scripts/basic/fixdep)

This indicates the userspace utility scripts/basic/fixdep was linked against a newer glibc, something probably messed up in your build env.

Mainline kernels are now built on the newest Ubuntu version with glibc v2.33 and thus kernel modules require the same version. From what I know 'glibc' is part of the distribution and is hard to update.

This doesn't make sense, libc(ie glibc) is a usespace thing, kernel modules don't use a libc at all.

@clnhub
Copy link
Owner

clnhub commented Oct 14, 2022

Yep, modpost and fixdep. This is only valid for Ubuntu's pre-compiled kernels. Compiling from source always works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants