Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-28-2003, 11:57 AM   #1
Registered: Jan 2003
Location: Venezuela
Distribution: Debian, Ubuntu
Posts: 75

Rep: Reputation: 15
Question Libncurses problems compiling Kerner 2.4.20

I'm using slack 9, and at the package groups'selction screen, as far as i can remember I just deselected those package group that were realted to X (GNOME, Qt, KDE, X server itself, a package group wich description said something like this: Software libraries some needed by both Gnome and KDE, and TeTex package too), afert that I picked full installation to avoid package selection questions during the installation process.

Now that I try and compiled a kernel using "menu config" i get this error:

root@aspire:/usr/src/linux# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.4.20/scripts/lxdialog'
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status

>> Unable to find the Ncurses libraries.
>> You must have Ncurses installed in order
>> to use 'make menuconfig'

make[1]: *** [ncurses] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.20/scripts/lxdialog'
make: *** [menuconfig] Error 2
I checked if I had ncurses installed and i suppose I do so; ldconfig command says me this:
root@aspire:/# ldconfig -v | grep -s "ncurse" ->
So it's installed on my system and in ld configuration path.
To make myself sure I reinstalled the ncurses-5.3-i386-1.tgz package that comes within the Slackware 9.0 ISO disk, and the problem persists

I made tar listing looking for that file the kernel's error says is missing (cannot open crt1.o: No such file or directory) and I got:
root@aspire:/# tar -tzf ncurses-5.3-i386-1.tgz | grep -i "crt"
Certainly the missing file is actually missing, now if it's not in the ncurses package, where is it suppose to be then???

P.S.: I have other machine running slack 9, but I installed the whole ISO disk on that, I can compiled kernels on it.

Old 07-28-2003, 01:47 PM   #2
Registered: Jun 2003
Location: London, Ontario
Distribution: Ubuntu, Slackware, FreeBSD
Posts: 61

Rep: Reputation: 15
Is it possible that the ncurses package is somehow corrupted? perhaps the cd has been scratched or a problem when you downloaded it?

You might try downloading that library again and reinstalling it.

Old 07-28-2003, 02:48 PM   #3
Registered: Jan 2003
Location: Venezuela
Distribution: Debian, Ubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
I don't think so. I used the same cd to install the other Slack machine.
Old 08-09-2003, 08:35 PM   #4
Registered: Jun 2003
Distribution: Arch
Posts: 315

Rep: Reputation: 30
Did you resolve the issue? I have the EXACT same problem.
Old 08-10-2003, 04:16 PM   #5
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Try running
make mrproper
and then do
make menuconfig

Old 08-10-2003, 09:37 PM   #6
LQ Guru
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
I resolved this issue by using installpkg on the package named "glibc-2.3.1-i386-3" in the "a" directory on the Slack 9.0 cd. Sadly, this is a *huge* package and perhaps constitutes overkill in order to get a simple little "Hello World" C program to compile. It's big, but it works.

I should point out that I was able to compile kernel modules without this library. I'm guessing it's because they have no interface.

ps: if anyone learns how to resolve the "crt1.o" issue without installing a huge library, (static compilation?) please post back, I have limited space on some machines, it would be nice to dump the huge library.

Last edited by akaBeaVis; 08-10-2003 at 09:42 PM.
Old 08-13-2003, 02:00 PM   #7
LQ Newbie
Registered: Aug 2003
Location: Paraguay
Distribution: Debian, RedHat
Posts: 5

Rep: Reputation: 0

Try installing the development libraries for ncurses

Hope this helps
Old 09-23-2003, 09:30 AM   #8
Registered: Jan 2003
Location: Venezuela
Distribution: Debian, Ubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
I tried everything...

So I changed my cdrom drive and reinstalled everything....

and.. problem solved.

Old 12-22-2003, 08:22 AM   #9
Registered: Sep 2003
Posts: 59

Rep: Reputation: 15
glibc is important! you can't compile anything without it, and I just don't understand how the hell slackware doesn't install this package by default !!
Old 12-22-2003, 11:20 AM   #10
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,855

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
Glibc is not installed by default because not everyone wants to compile C programs. ncurses doesn't have anything to do with compiling programs. It's just neede to run the program menuconfig. If you don't have ncurses installed you can still configure the kernel with make config, or with xconfig if you have X. A part of ncurses is installed along with many other (apparently incomplete) libs in the package elflibs. Some programs will require you to install the full package for them to run. make menuconfig also needs gawk or you'll get a funny menuconfig without any options. In order to compile the kernel you'll need all tese installed: binutils, findutils, gawk, gcc, grep, make, kernel-headers, kernel source. For most other C programs you'll need the same without the kernel source, but some do require the kernel source to be present just to know what version to compile for. Some programs will need autoconf and automake. Still others will require libtool and m4.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
kismet and libncurses ikkuh1991 SUSE / openSUSE 2 09-11-2005 09:16 AM
help with libncurses. levicc00123 Debian 6 09-11-2004 05:19 PM
Winmodem and Kerner Update (does athlon kernel on an xp 2500+ make it faster?) RedHatMasta Linux - Software 6 12-24-2003 10:56 PM
How to find out kerner version?Hell merkka Linux - Newbie 2 10-31-2003 09:15 AM
Kerner Capabilities gr33ndata Linux - Security 3 08-29-2003 12:59 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration