On Feb 12, 2009, at 12:20 PM, H Aslam wrote:
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/
bin:/opt/eldk/usr/bin:/opt/eldk/bin
OK, so why is the configure script finding byacc and flex under /opt/
eldk/ppc_4xx/usr/bin, as that's not in your path? Is /opt/eldk/usr/
bin a symlink to /opt/eldk/ppc_4xx/usr/bin, or something such as that?
No not now... I did on my first attempt (yum install flex & yum
install bison) but then removed them again to use the ones under
eldk..
That was almost certainly a mistake. "The ones under ELDK" are either:
1) cross-development versions of Flex and Bison, which run on your PC
and generate code for the embedded platform, which shouldn't be
necessary
or
2) versions of Flex and Bison that run *on* the embedded platform,
which are completely unusable for cross-development (as they won't run
on your PC, given that they are PPC binaries, not x86 or x86-64
binaries) and almost certainly not *useful* on the embedded platform
unless you plan to do compilation on the embedded platform, thus
wasting space on your ramdisk image for the embedded machine.
From the results of your "file" command, they appear to be the latter.
I suggest that you un-install the ELDK versions of Flex and Bison, re-
install the native versions with "yum install flex" and "yum install
bison", and try again.