LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with lncursesw (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-lncursesw-790967/)

dvbfreaky007 02-23-2010 05:00 AM

problem with lncursesw
 
I am trying to compile mips kernel,
while executing make menuconfig or make.. it is throwing following error any pointers to solve this.


[root@localhost linux-2.6.22.19]# make
HOSTLD -static scripts/kconfig/conf
/usr/bin/ld: cannot find -lncursesw
collect2: ld returned 1 exit status
make[2]: *** [scripts/kconfig/conf] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.



and
i can able to see

[root@localhost linux-2.6.22.19]# rpm -qf /lib/libncursesw.so.5.6
ncurses-libs-5.6-20.20080927.fc10.i386
[root@localhost linux-2.6.22.19]#

evo2 02-23-2010 05:41 AM

You probably need to install the devel pacakge: eg libncursesw-devel

Evo2.

knudfl 02-23-2010 10:28 AM

# yum install ncurses-devel
.. will do.


But the other commands, you show : 'make' and 'rpm -qf'
are not supposed to be done as root.
'root' is for administrative tasks only !

It is unsafe to do all user commands as root, not a question
of if, but when you will trash your OS.
Makes you vulnerable to attacks too, if you are connected to
a network / the internet.
.....


All times are GMT -5. The time now is 11:30 AM.