Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-01-2006, 11:12 PM
|
#1
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Rep:
|
/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
|
|
|
04-01-2006, 11:44 PM
|
#2
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
Can you confirm that 'cmp' exists? Mine is in /usr/bin.
|
|
|
04-02-2006, 12:40 AM
|
#3
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Original Poster
Rep:
|
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?
|
|
|
04-02-2006, 01:00 AM
|
#4
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep:
|
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
|
|
|
04-02-2006, 01:18 AM
|
#5
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Maybe your path is messed up and cmp is not found.
|
|
|
04-02-2006, 01:30 AM
|
#6
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Original Poster
Rep:
|
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!
|
|
|
04-02-2006, 01:31 AM
|
#7
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358
Original Poster
Rep:
|
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!
|
|
|
05-05-2006, 09:39 PM
|
#8
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
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...
|
|
|
All times are GMT -5. The time now is 01:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|