LFS 6.7 Linux API Headers - make headers_check fails
The error I'm seeing:
gcc: error trying to exec '/tools/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/as': execv: No such file or directory
make: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
I don't know why the gcc lib file path has been pre-pended to the gcc executable path, nor do I know which 'config' file is telling gcc to search that bogus path. I would appreciate any help with this.
It's looking for /tools/i686-pc-linux-gnu/bin/as that should have been installed in section 5.12. Its not a bogus path. Do you have the /tools/i686-pc-linux-gnu/bin directory and does it contain as?
Re: LFS 6.7 Linux API Headers - make headers_check fails
Well, I meant bogus in that gcc is looking for 'as' in '/tools/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/as' rather than just '/tools/i686-pc-linux-gnu/bin/as'
'as' is where it's supposed to be, under '/tools/i686-pc-linux-gnu/bin/as'. :scratch:
Ah, I just tried the 'dummy.c' test, and gcc returned the same error. So it's gcc that's messed up somehow. I don't see that huge path anywhere in 'gcc -dumpspecs', though. :scratch:
I'll have to look at "Adjusting the toolchain'
welbuilguy, you helped me on an earlier post, and from there I had no real problems until I ran into the exact same error as the OP at the same stage.
an ls of /tools/i686-pc-linux-gnu/bin shows...
As befits a newbie I am clueless abt this. A search in Google says that this means that GCC is not installed. That would be a bad omen, and I hope it is not the case.
I could do with some advice and help..!
oops, never saw that I ws resurrecting a 3 month old thread.
|All times are GMT -5. The time now is 10:22 PM.|