LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-08-2008, 08:00 PM   #1
gmontjr
LQ Newbie
 
Registered: Nov 2004
Location: South Jersey
Distribution: Fedora, Gentoo
Posts: 2

Rep: Reputation: 0
LFS 6.7 Linux API Headers - make headers_check fails


The error I'm seeing:
CHK include/linux/version.h
HOSTCC scripts/basic/fixdep
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[1]: *** [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.
Thanks,
George
 
Old 10-09-2008, 04:15 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,731
Blog Entries: 1

Rep: Reputation: 224Reputation: 224Reputation: 224
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?
 
Old 10-09-2008, 07:03 AM   #3
gmontjr
LQ Newbie
 
Registered: Nov 2004
Location: South Jersey
Distribution: Fedora, Gentoo
Posts: 2

Original Poster
Rep: Reputation: 0
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'.
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.
I'll have to look at "Adjusting the toolchain'
 
Old 01-26-2009, 12:27 AM   #4
jaydoc
LQ Newbie
 
Registered: Dec 2006
Distribution: Arch Linux, Ubuntu, Gentoo, Zenwalk
Posts: 26

Rep: Reputation: 16
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.

Quote:
root:/linux-2.6.27.12/linux-2.6.27.12# make mrproper
CLEAN scripts/basic
CLEAN scripts
CLEAN usr/include
CLEAN include/linux/version.h
root:/linux-2.6.27.12/linux-2.6.27.12# make headers_check
CHK include/linux/version.h
UPD include/linux/version.h
HOSTCC scripts/basic/fixdep
gcc: error trying to exec '/tools/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../../i686-pc-linux-gnu/bin/as': execv: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2

an ls of /tools/i686-pc-linux-gnu/bin shows...

Quote:
ar as ld ld-old nm objcopy objdump ranlib strip

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..!
 
Old 01-26-2009, 01:56 AM   #5
jaydoc
LQ Newbie
 
Registered: Dec 2006
Distribution: Arch Linux, Ubuntu, Gentoo, Zenwalk
Posts: 26

Rep: Reputation: 16
oops, never saw that I ws resurrecting a 3 month old thread.

Last edited by jaydoc; 01-26-2009 at 01:59 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Another LFS newb is stuck: Linux API headers won't install smoochie Linux From Scratch 19 06-13-2008 11:26 AM
Installation of Linux API Headers... crik91 Linux From Scratch 7 01-05-2008 03:11 PM
make headers_check errors [LFS V6.3, Sect 6.7 Linux-2.6.22.5 API Headers] michealoc Linux From Scratch 1 10-11-2007 09:03 AM
Installation of Linux API Headers martinwprior Linux From Scratch 3 09-28-2007 01:19 AM
"make headers_check" gives errors during "5.5.1 Installation of Linux API headers " void_man() Linux From Scratch 3 09-26-2007 09:16 PM


All times are GMT -5. The time now is 11:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration