Jump to content

LFS problems with 'make' in the Bash 2.05a compilation.


Recommended Posts

Hi,

well, i didnt know where to post this, coz its not programing so i thought it would fit on soft.

If this is wrong please ¿move it to the right topic?

 

Im building (or trying to) a linux from scratch...

Now, i downloaded all the packages for the 4.1 version, i decided to go with this, becouse beeing this my first LFS and also beeing a newbie i prefer to go safe first, and then make everything to pieces when i have already learned to fix it.

 

The problem is very simple, i did everything 'by the book ;-)' but it seems something is wrong and i cant find what is it. i tryed editing some of the files that appear on the error i will quote, but couldnt make anything usefull, i made all the pre-compiling steps pretty well and had no problem with them, the problem cames with my first source to compile, the BASH 2.05a (i know there is the b version but, hey! i follow the book!)

The thing is this, i do everything till the MAKE part, where i get this:

 

-bash-2.05b$ make

rm -f shell.o

gcc  -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'

make: *** [shell.o] Error 1

-bash-2.05b$

 

 

Now, does someone knows what do i do to get this thing working....??

I read all the FAQS, README and INSTALL i could find, none speakead of this thing.

 

thanks in advance.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...