LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   /bin/sh: cmp: command not found - when compile 2.6.15 again . (https://www.linuxquestions.org/questions/slackware-14/bin-sh-cmp-command-not-found-when-compile-2-6-15-again-430830/)

-=Graz=- 04-01-2006 10:12 PM

/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

bulliver 04-01-2006 10:44 PM

Can you confirm that 'cmp' exists? Mine is in /usr/bin.

-=Graz=- 04-01-2006 11:40 PM

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?

gilead 04-02-2006 12:00 AM

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

Alien_Hominid 04-02-2006 12:18 AM

Maybe your path is messed up and cmp is not found.

-=Graz=- 04-02-2006 12:30 AM

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!

-=Graz=- 04-02-2006 12:31 AM

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! ;)

bulliver 05-05-2006 08:39 PM

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 10:55 PM.