problem compiling Bash statically
gerard at linuxfromscratch.org
Mon Jul 30 16:59:01 PDT 2001
On Sun, Jul 29, 2001 at 12:31:05PM +0000, avivt at pob.huji.ac.il wrote:
> Dear LFS Experts,
> I have a funny problem making a static bash as per chapter 5 of the book. the
> building system is LFS3.0pre3, the to be built system is LFS3.0pre4, the
> tarball has been ensured clean (fetched twice - from lfs.org and from gnu.org).
> In file included from shell.h:38,
> from shell.c:45:
> externs.h:147: conflicting types for `gethostname'
> /usr/include/unistd.h:734: previous declaration of `gethostname'
> externs.h:164: conflicting types for `setlinebuf'
> /usr/include/stdio.h:267: previous declaration of `setlinebuf'
> externs.h:180: conflicting types for `strncasecmp'
> /usr/include/string.h:277: previous declaration of `strncasecmp'
> make: *** [shell.o] Error 1
> (end of story)
This is a new one to me. Which Glibc version is running on your system?
Which distribution are you running, and which version of that
-*- If Linux doesn't have the solution, you have the wrong problem -*-
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message
More information about the lfs-dev