LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-07-2002, 05:44 AM   #1
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Rep: Reputation: 30
first probelm with lfs 4


while compiling the bash-2.05a

after i type make
i got the following errors

can anyone help me


In file included from shell.h:41,
from shell.c:48:
externs.h:163: conflicting types for `gethostname'
/usr/include/unistd.h:734: previous declaration of `gethostname'
externs.h:196: conflicting types for `strncasecmp'
/usr/include/string.h:277: previous declaration of `strncasecmp'
make: *** [shell.o] Error 1
[lfs@localhost bash-2.05a]$

i am using mandrake 9
 
Old 11-07-2002, 09:05 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
This problem has been posted to the LFS mailing list too. It's always useful to check the archives first. Anyways someone mentions to install the following rpm: glibc-static-devel
 
Old 11-08-2002, 12:44 PM   #3
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
thax for ur help
and how shall i check the archive
where can i find them
 
Old 11-10-2002, 05:38 AM   #4
nuxie1
Member
 
Registered: Oct 2002
Location: Melbourne, Australia
Distribution: Mandrake 9.1, Clarkconnect 1.3
Posts: 39

Rep: Reputation: 15
I also get this problem
Will try installing said file
 
Old 11-11-2002, 07:17 AM   #5
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Can't get to the archives search page because the main site seems to be offline for now. The mirrors still link to the original. But you can still reach the archives at http://archive.linuxfromscratch.org/mail-archives
 
Old 11-30-2002, 10:58 AM   #6
smiley
LQ Newbie
 
Registered: Nov 2002
Distribution: Redhat 9.0
Posts: 6

Rep: Reputation: 0
<start newbie alert>

Hello, I have almost the same problem. The mailing list says to install the "glibc-static-devel" package, which I did.

Now, however, when I try to compile bash I get the following:

Quote:
bash-2.05b$ ./configure --enable-static-link --prefix=/mnt/lfs/static --with-curses
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu

Beginning configuration for bash-2.05a for i686-pc-linux-gnu

checking for gcc... gcc -s
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -s accepts -g... yes
checking for POSIXized ISC... no
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
Before installing the glibc-static-devel package I received the same error as safrout.

Any help?

</end newbie alert>
 
Old 11-30-2002, 11:22 AM   #7
smiley
LQ Newbie
 
Registered: Nov 2002
Distribution: Redhat 9.0
Posts: 6

Rep: Reputation: 0
Hmm, I reinstalled the whole 'Developmnet' section from my Mandrake cd and now ./configure seems to work fine.

Make seems to work too
 
  


Reply


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
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 01:31 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 06:03 AM
cannot login as user 'lfs' [su - lfs] mayasedai Linux From Scratch 2 07-26-2005 07:10 AM
wusb11 probelm RockyB Linux - Wireless Networking 3 01-20-2005 02:58 AM
LFS 3.2 book, but LFS packages 3.0 CragStar Linux From Scratch 2 04-07-2002 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:19 AM.

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