bash compile error
albrecht at ableton.com
Thu Nov 7 06:49:40 PST 2002
Tan Siong Hua wrote:
> when compiling static bash in lfs 4.0 under mandrake 9. I get this
> 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
Yes - the same happened just recently to me which stopped me trying LFS
quite early :-) Somehow the bash header externs.h has a different
definition for those functions than the system's headers have.
Has anyone a workaround? Fix? Help?
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
More information about the lfs-support