LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-01-2006, 10:12 PM   #1
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
/bin/sh: cmp: command not found - when compile 2.6.15 again .


help

Im getting the below when doing a #make bzImage for my new kernel..
have done this plenty of times before with no probs

CHK include/linux/compile.h
/usr/src/linux-2.6.15/scripts/mkcompile_h: line 76: cmp: command not found
UPD include/linux/compile.h

/bin/sh: cmp: command not found
Inconsistent kallsyms data
Try setting CONFIG_KALLSYMS_EXTRA_PASS
make: *** [vmlinux] Error 1
 
Old 04-01-2006, 10:44 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Can you confirm that 'cmp' exists? Mine is in /usr/bin.
 
Old 04-01-2006, 11:40 PM   #3
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Original Poster
Rep: Reputation: 31
hi there - no it does not appear to be there actually.. checked,
/bin and /usr/bin

I dont recall removing any thing from the system recently though - last compile which worked was only 3-4 weeks ago.
is this a file that i can just copy back in?
 
Old 04-02-2006, 12:00 AM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
On my Slackware system, cmp is in the diffutils-2.8.1-i386-1 package. You should be able to re-install the package without any problems - just make sure the version you install is the same (or later) than the one in /var/log/packages
 
Old 04-02-2006, 12:18 AM   #5
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Maybe your path is messed up and cmp is not found.
 
Old 04-02-2006, 12:30 AM   #6
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by gilead
On my Slackware system, cmp is in the diffutils-2.8.1-i386-1 package. You should be able to re-install the package without any problems - just make sure the version you install is the same (or later) than the one in /var/log/packages
Thanks a million guys!!

Just manually copied the cmp file from /mnt/cdrom/slackware/ap/diffutils-2.8.1-i386-1.tgz/usr/bin
just put it in /bin like it wanted and all appears to be good again!
cheers!
 
Old 04-02-2006, 12:31 AM   #7
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by -=Graz=-
just put it in /bin like it wanted and all appears to be good again!
Actually i put it in both!
 
Old 05-05-2006, 08:39 PM   #8
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
Actually i put it in both!
No point doing that

The one that is first in your $PATH (probably /bin) will always be run...
 
  


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
Error when starting up snort: bash:!/bin/sh/usr/local/bin/snort :Eent not found cynthia_thomas Linux - Software 1 11-11-2005 02:59 PM
Help me where to find 'cmp' sohard2reg Amigo 1 03-19-2005 02:54 AM
/bin/sh: anaconda-ks.cfg: command not found Buttercups Linux - General 1 08-07-2003 08:47 PM
why /bin/sh is not found ? abd_bela Linux - General 3 12-24-2002 10:11 AM
why /bin/sh is not found ? abd_bela Linux - Software 1 12-24-2002 08:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:17 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