On Thu, 2 Mar 2006, Chakkaradeep C C wrote:
hi all,
I am using Mandriva 2006 as my base distro.I find binutils in chapter-5
giving me this undefined reference to yyparse error.I searched the lfs
archives and found that i need to install bison and flex as in chapter-5 and
i installed them as given in chapter-5.I also installed in host Mandriva and
as lfs user in /tools/bin. But still the error persists.
I also noticed that bison-devel and bison need to be installed, from source,
how to install bison-devel packages??
Really, you should be installing the packages from the host distro -
splitting the headers into -devel is a distro decision to save space,
because most of their users won't compile for themselves. Possibly,
bison-devel is a "fedora-ism" and mandriva call it something different,
such as bison-headers (that would be a really bad name, bison doesn't
install headers). Unfortunately, rpmfind is opaque about how mandriva
do their packaging, and I can't find any local mirrors that have the
individual rpms.
You haven't mentioned m4, that is a pre-requisite for bison. In
theory, successfully installing bison into /mnt/lfs/tools using the
host's toolchain should have solved this enough to let you compile pass
1 binutils. I don't feel competent to suggest why it didn't.
Ken
--
das eine Mal als Trag?die, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page