LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-17-2009, 04:17 AM   #1
NightHorse
Member
 
Registered: Jun 2009
Location: Egypt
Distribution: Ubuntu 10.04
Posts: 117

Rep: Reputation: 16
make: *** No rule to make target `install-headers'. Stop.


I am trying to build crosstool for old i386 Target. I was using this site as a reference. I have run in different issues with wrong version numbers when downloading from ftp servers. but i solved that all by editing the script files.

Now I am getting this error:

Quote:
make: *** No rule to make target `install-headers'. Stop.
I have looked on the script files for the line that made the error and it was:

Quote:
make cross-compiling=yes install_root=${SYSROOT} CFLAGS=-DBOOTSTRAP_GCC $GLIBC_SYSROOT_ARG install-headers
I have searched for what install-headers means but got nothing. I also searched for something with that name in all script files but I only got that line I posted above.

Now I have no clue what that problem means nor what to do.

That is one part of my continuous trials to build a cross compiler for i486sx system.

If anyone need more info just let me know.

Ahh am using Ubuntu 9.04 And gcc (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12))
 
Old 06-17-2009, 04:30 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Could it be that you need the headers for the kernel of the "old i386 Target"?
cheers,
jdk
 
Old 06-17-2009, 05:53 AM   #3
NightHorse
Member
 
Registered: Jun 2009
Location: Egypt
Distribution: Ubuntu 10.04
Posts: 117

Original Poster
Rep: Reputation: 16
ummm, Does it mean I need to recompile the kernel for the old i386?? And if so how can he knows which kernel to use since am gonna have 2 kernels??
 
Old 06-17-2009, 06:18 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by NightHorse View Post
ummm, Does it mean I need to recompile the kernel for the old i386?? And if so how can he knows which kernel to use since am gonna have 2 kernels??
You've lost me there. I'll shut up and maybe somebody else can help.
sorry about that.
jdk
 
Old 06-17-2009, 06:23 AM   #5
NightHorse
Member
 
Registered: Jun 2009
Location: Egypt
Distribution: Ubuntu 10.04
Posts: 117

Original Poster
Rep: Reputation: 16
It's ok jdkaye. Thanks a lot for help.
 
Old 06-18-2009, 01:19 AM   #6
NightHorse
Member
 
Registered: Jun 2009
Location: Egypt
Distribution: Ubuntu 10.04
Posts: 117

Original Poster
Rep: Reputation: 16
ok, I have been digging and found out what header it meant. It's glibc headers. Here is where it fails.

Quote:
Install glibc headers needed to build bootstrap compiler -- but only if gcc-3.x
checking build system type... x86_64-unknown-linux-gnu
checking host system type... i386-unknown-linux-gnu
configure: running configure fragment for add-on linuxthreads
I have searched for install-headers in Maefile in glibc dir in crosstool build dir and found that line:
Quote:
install-headers: install-headers-nosubdir
What install-headers-nosubdir means??? I haven't found any other instants of it in the MAkefile. !
 
Old 06-18-2009, 06:46 AM   #7
NightHorse
Member
 
Registered: Jun 2009
Location: Egypt
Distribution: Ubuntu 10.04
Posts: 117

Original Poster
Rep: Reputation: 16
Ok. I have fixed it. Played around in the scripts. changed the versions of (gcc, glibc, kernel, binutils...) and it worked. Faced several problems but i did workarounds so far. I still face more problems. But I never know till I get them. It takes so long to be compiled. :s

I will post again if i faced more problems. or if i got it done.
 
Old 06-18-2009, 07:49 AM   #8
NightHorse
Member
 
Registered: Jun 2009
Location: Egypt
Distribution: Ubuntu 10.04
Posts: 117

Original Poster
Rep: Reputation: 16
Welcome again. didn't take much to get another error. lol

Quote:
checking installed Linux kernel header files... 2.0.10 or later
checking for kernel header at least 2.6.27.11... too old!
configure: error: *** The available kernel headers are older than the requested
*** compatible kernel version
But the host kernel is 2.6.27 .. I have no clue where did he get 2.6.11

The 2.6.7.11 is the kernel he downloaded in the script not my host kernel. I am sure cause i changed it several times and checked the output. Any thoughts?
 
Old 06-21-2009, 12:54 AM   #9
NightHorse
Member
 
Registered: Jun 2009
Location: Egypt
Distribution: Ubuntu 10.04
Posts: 117

Original Poster
Rep: Reputation: 16
ok. I got it done. used same kernel version from another script. Now I have to dig a bit to know how can I work with it.
 
Old 06-21-2009, 05:16 AM   #10
NightHorse
Member
 
Registered: Jun 2009
Location: Egypt
Distribution: Ubuntu 10.04
Posts: 117

Original Poster
Rep: Reputation: 16
ok. I got it done. used same kernel version from another script. Now I have to dig a bit to know how can I work with it. LoL
 
  


Reply



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
make[1]: *** No rule to make target `modules'. Stop. tjyorkshire Linux - Hardware 27 01-14-2018 06:58 PM
make: *** No rule to make target `mrproper'. Stop. dauphinfay Linux - General 7 11-24-2014 07:35 AM
Belkin Wirless G RTL8185L make[1]: *** No rule to make target `Makefile'. Stop. SilverRock Linux - Wireless Networking 2 02-11-2007 07:25 AM
make: *** No rule to make target 'gconfig'. Stop. cswake Slackware 4 10-10-2004 12:13 PM
Error "make: *** No rule to make target `install'. Stop." help Ohmn Mandriva 8 07-02-2004 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:10 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration