Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 04-25-2003, 07:29 PM   #1
LQ Newbie
Registered: Apr 2003
Posts: 19

Rep: Reputation: 0
Several Problems...

I'm using MDK 9.1 as my base system for installing LFS, I wanted to use Slackware, but it gave me a bunch of crap, and rather than fixing that, I decided to use MDK... so my first problem happended when installing BASH it ends with this....

* *
* GNU bash, version 2.05a.0(3)-release (i686-pc-linux-gnu)
* *

rm -f shell.o
gcc -s -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i686-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -c shell.c
In file included from shell.h:41,
from shell.c:48:
externs.h:163: conflicting types for `gethostname'
/usr/include/unistd.h:752: previous declaration of `gethostname'
externs.h:196: conflicting types for `strncasecmp'
/usr/include/string.h:292: previous declaration of `strncasecmp'

but I saw that it said you might get some error If your using some outdated file, but it would be fixed later, so I figured oh well, move on....

binutils installed just fine

bzip failed with this...

gcc -static -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -o bzip2 bzip2.o -L. -lbz2
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [bzip2] Error 1

but, i read that bzip isnt nesicary for an install, and I figured I could install it later...

so I tried diffutils and it failed with this....

checking for gcc... gcc -s
checking for C compiler default output... configure: error: C compiler cannot create executables

now I'm hoping and guessing that all these errors are related to one simple to solve problem.... but I have no idea...

any help would be greatly appreciated

johnnabnEdit: Crap! Just found out Mandrake 9 is not compatible with LFS.... SHIT!..... guess I'll have to move the install to Slackware

Last edited by johnnabn; 04-25-2003 at 07:40 PM.
Old 04-25-2003, 08:02 PM   #2
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Not compatible is a very strong word.

The errors you are facing right now stem from the simple fact that you don't have development tools installed.

-lc missing means that /usr/lib/libc.a doesn't exist which is your static C library. Install all the *-dev*.rpm packages you can find.

Mandrake 9.1 is a tad troublesome when it comes to compiling certain software. This isn't due to the fact that it's incompatible with LFS. LFS just lists a bunch of mostly GNU software to compile.

A more correct term would be that Mandrake isn't very compatible with compiling (GNU) software in general. It's not impossible to use Mandrake 9.1, it'll just be easier with some other distribution.


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
Ethernet Adsl Modem Driver Problems And Install Problems... akhilnair Linux - Hardware 12 11-28-2004 08:19 AM
cisco 350 wireless problems and suse x-server problems incognito9 Linux - Wireless Networking 5 10-14-2004 07:53 AM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM
Problems, problems, problems. Lets start with the soundcard Kre8ive Linux - Newbie 5 08-07-2003 01:20 AM
Problems, problems, problems. Lets start with the ES 1868 AudioDrive Kre8ive Linux - Newbie 1 08-06-2003 07:04 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:55 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
Open Source Consulting | Domain Registration