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

Version 6.1.38-V7+ supported? #446

Open
stevewrightnz opened this issue Jul 17, 2023 · 2 comments
Open

Version 6.1.38-V7+ supported? #446

stevewrightnz opened this issue Jul 17, 2023 · 2 comments

Comments

@stevewrightnz
Copy link

stevewrightnz commented Jul 17, 2023

Hi,
Getting the following error with bullseye:

make ARCH=arm CROSS_COMPILE= -C /lib/modules/6.1.36-v7+/build M=/home/pi/rtl8188eu modules make[1]: *** /lib/modules/6.1.36-v7+/build: No such file or directory. Stop. make: *** [Makefile:155: modules] Error 2

Never mind - pretty sure its a headers issue!!

@lwfinger
Copy link
Owner

Yes, you have not installed the kernel headers.

@kdm6389
Copy link

kdm6389 commented Jul 29, 2023

you need to make change in
/os_dep/osdep_service.c

lin no 385

#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 17, 0)
	memcpy(pnetdev->dev_addr, padapter->eeprompriv.mac_addr, ETH_ALEN);
#else
	dev_addr_set(pnetdev, padapter->eeprompriv.mac_addr);
#endif
	if (!rtnl_is_locked())
		ret = register_netdev(pnetdev);
	else
		ret = register_netdevice(pnetdev);
	if (ret != 0) {
		RT_TRACE(_module_hci_intfs_c_, _drv_err_,
			 ("register_netdev() failed\n"));
		goto error;
	}
	rtw_proc_init_one(pnetdev);
	return 0;

I am not sure it was working ok in raspi 5.15.xyz

but in 6.1.xyznot woring like before ...

I also make deb using cmd sudo checkinstall for future

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

3 participants