LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 06-02-2013, 03:54 AM   #1
potterius
Member
 
Registered: May 2013
Posts: 39

Rep: Reputation: Disabled
[SOLVED]8.3 Linux-3.8.1 error


hello I want to asking about my problem again..
now I've been in chapter 8.3
error when I make Linux-3.8.1
Code:
sort done marker at 9b1404
  SYSMAP  System.map
  CC      arch/x86/boot/a20.o
  AS      arch/x86/boot/bioscall.o
  CC      arch/x86/boot/cmdline.o
  AS      arch/x86/boot/copy.o
  HOSTCC  arch/x86/boot/mkcpustr
  CPUSTR  arch/x86/boot/cpustr.h
  CC      arch/x86/boot/cpu.o
  CC      arch/x86/boot/cpucheck.o
  CC      arch/x86/boot/early_serial_console.o
  CC      arch/x86/boot/edd.o
  VOFFSET arch/x86/boot/voffset.h
  LDS     arch/x86/boot/compressed/vmlinux.lds
  AS      arch/x86/boot/compressed/head_32.o
  CC      arch/x86/boot/compressed/misc.o
  CC      arch/x86/boot/compressed/string.o
  CC      arch/x86/boot/compressed/cmdline.o
  CC      arch/x86/boot/compressed/early_serial_console.o
  OBJCOPY arch/x86/boot/compressed/vmlinux.bin
  RELOCS  arch/x86/boot/compressed/vmlinux.relocs
  GZIP    arch/x86/boot/compressed/vmlinux.bin.gz
/bin/sh: gzip: command not found
make[2]: *** [arch/x86/boot/compressed/vmlinux.bin.gz] Error 1
make[1]: *** [arch/x86/boot/compressed/vmlinux] Error 2
make: *** [bzImage] Error 2
bash version-check.sh
Code:
root@dewa:~# bash version-check.sh
bash, version 4.2.37(1)-release
/bin/sh -> /bin/bash
Binutils: (GNU Binutils for Ubuntu) 2.22.90.20120924
bison (GNU Bison) 2.5
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2,  Version 1.0.6, 6-Sept-2010.
Coreutils:  8.13
diff (GNU diffutils) 3.2
find (GNU findutils) 4.4.2
GNU Awk 4.0.1
/usr/bin/awk -> /usr/bin/gawk
gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
(Ubuntu EGLIBC 2.15-0ubuntu20.1) 2.15
grep (GNU grep) 2.12
gzip 1.5
Linux version 3.5.0-31-generic (buildd@aatxe) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #52-Ubuntu SMP Thu May 16 16:30:01 UTC 2013
m4 (GNU M4) 1.4.16
GNU Make 3.81
patch 2.6.1
Perl version='5.14.2';
GNU sed version 4.2.1
tar (GNU tar) 1.26
Texinfo: makeinfo (GNU texinfo) 4.13
xz (XZ Utils) 5.1.0alpha
gcc compilation OK
please help me bro...

Last edited by potterius; 06-10-2013 at 02:31 AM.
 
Old 06-02-2013, 04:06 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by potterius
Code:
.
.
  RELOCS  arch/x86/boot/compressed/vmlinux.relocs
  GZIP    arch/x86/boot/compressed/vmlinux.bin.gz
/bin/sh: gzip: command not found
make[2]: *** [arch/x86/boot/compressed/vmlinux.bin.gz] Error 1
make[1]: *** [arch/x86/boot/compressed/vmlinux] Error 2
It seems that gzip cannot be found. It isn't installed or your PATH might be set incorrectly or .....

Did you mount the virtual filesystems and enter the chrooted environment correctly (chapters 6.2.2/6.2.3 and 6.65)?

BTW: Once you finish chapter 5 the output of the version-check.sh script is irrelevant.
 
Old 06-03-2013, 09:35 AM   #3
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Try running these commands and send us the output.
Code:
which gzip
Code:
find / -iname gzip
 
Old 06-03-2013, 10:15 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by /dev/random View Post
Try running these commands and send us the output.
Code:
which gzip
Code:
find / -iname gzip
The which command isn't installed yet (part of BLFS), find is installed. But if this is a chroot/PATH problem then find might not be found either.

For your reference: This is an LFS build we are talking about. Chapters 6 up to and including chapter 8 are done from a chrooted environment (which was build in chapter 5).

Last edited by druuna; 06-03-2013 at 10:16 AM.
 
Old 06-03-2013, 10:55 AM   #5
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by druuna View Post
The which command isn't installed yet (part of BLFS), find is installed. But if this is a chroot/PATH problem then find might not be found either.

For your reference: This is an LFS build we are talking about. Chapters 6 up to and including chapter 8 are done from a chrooted environment (which was build in chapter 5).
Yes I am aware of of this, that would be the point, if he is not chrooted into the correct environment the which command would work.
Also find would also work depending on what distro he is using (gzip might be installed in /usr/bin instead of /bin) which would give us an idea that he is not chrooted correctly because unless he changed the DESTDIR or BINDIR locations the gzip binary should be in /tools/bin/ or /bin if he already installed it in the chrooted environment.
 
Old 06-10-2013, 01:09 AM   #6
potterius
Member
 
Registered: May 2013
Posts: 39

Original Poster
Rep: Reputation: Disabled
the problem has been solved guys..
thanks all
 
Old 06-10-2013, 02:21 AM   #7
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by potterius View Post
the problem has been solved guys..
thanks all
It might be handy for future posters if you mentioned what the problem was and how this was solved.

BTW: Can you put up the SOLVED tag.
 
Old 06-10-2013, 02:30 AM   #8
potterius
Member
 
Registered: May 2013
Posts: 39

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
It might be handy for future posters if you mentioned what the problem was and how this was solved.

BTW: Can you put up the SOLVED tag.
I just reboot my laptop and then reinstall. and the problem solved.hehehehe
 
  


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
while booting linux VM (5.8) getting error "error while loading shared libraries: lib IgnitedMind Linux - Enterprise 2 04-30-2013 12:49 AM
Error in arch linux: symbol lookup error: /usr/lib/libgtk... armb78 Linux - Desktop 1 03-12-2012 09:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:29 AM.

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