2011-01-16 17:52:33     basic compilation rsh & rcp issue

Document created by Aaronwu Employee on Aug 26, 2013
Version 1Show Document
  • View in full screen mode

2011-01-16 17:52:33     basic compilation rsh & rcp issue

Thomas Z (SWEDEN)

Message: 97480   

 

Hi I'm trying to get through a basic compilation of the uclinux kernel for my BF537-STAMP board according to the documentation. I believe I've set up my host correctly as I've tried to follow the documentation on setting up the host, installing toolchain and performing a basic compilation as well as possible.  I have the same release of toolchain and uclinux distribution.

 

I can get through the configuration of the kernel by using "make menuconfig" and I can start to build the kernel. After a few minutes it stops and I get this message:

 

make[2]: Leaving directory `/home/zoso/Hobby/Blackfin_BF537_STAMP/blackfin-linux-dist/user'

 

make[1]: *** [all] Error 2

 

make[1]: Leaving directory `/home/zoso/Hobby/Blackfin_BF537_STAMP/blackfin-linux-dist/user'

 

make: *** [subdirs] Error 1

 

If I scroll up a bit I find these messages:

 

make[8]: Entering directory `/home/zoso/Hobby/Blackfin_BF537_STAMP/blackfin-linux-dist/user/blkfin-apps/inetutils/build-inetutils-1.6/rcp'

/usr/bin/install: cannot change ownership of `/home/zoso/Hobby/Blackfin_BF537_STAMP/blackfin-linux-dist/staging/usr/bin/rcp': Operation not permitted

INSTALL-ERROR:

INSTALL-ERROR: THIS PROGRAM(rcp) MUST BE INSTALLED SETUID ROOT

INSTALL-ERROR: /usr/bin/install -c rcp -o root -m 4775 /home/zoso/Hobby/Blackfin_BF537_STAMP/blackfin-linux-dist/staging/usr/bin/rcp

INSTALL-ERROR:

make[8]: Leaving directory `/home/zoso/Hobby/Blackfin_BF537_STAMP/blackfin-linux-dist/user/blkfin-apps/inetutils/build-inetutils-1.6/rcp'

 

And a bit further up this:

 

/usr/bin/install -c -m 644 '/home/zoso/Hobby/Blackfin_BF537_STAMP/blackfin-linux-dist/user/blkfin-apps/inetutils/inetutils-1.6/rsh/rsh.1' '/home/zoso/Hobby/Blackfin_BF537_STAMP/blackfin-linux-dist/staging/usr/share/man/man1/rsh.1'

/usr/bin/install: cannot change ownership of `/home/zoso/Hobby/Blackfin_BF537_STAMP/blackfin-linux-dist/staging/usr/bin/rsh': Operation not permitted

INSTALL-ERROR:

INSTALL-ERROR: THIS PROGRAM(rsh) MUST BE INSTALLED SETUID ROOT

INSTALL-ERROR: /usr/bin/install -c rsh -o root -m 4775 /home/zoso/Hobby/Blackfin_BF537_STAMP/blackfin-linux-dist/staging/usr/bin/rsh

INSTALL-ERROR:

make[8]: Leaving directory `/home/zoso/Hobby/Blackfin_BF537_STAMP/blackfin-linux-dist/user/blkfin-apps/inetutils/build-inetutils-1.6/rsh'

 

If I check the privileges for rsh for example I get this:

lrwxrwxrwx 1 root root 23 2011-01-15 15:25 rsh

Any tips for how to fix this?

 

QuoteReplyEditDelete

 

 

2011-01-16 20:10:17     Re: basic compilation rsh & rcp issue

Mike Frysinger (UNITED STATES)

Message: 97484   

 

the messages you posted have no bearing on the actual build error.  simply ignore them.

 

you need to run `make single` if you want the actual error to be the last on the screen.

QuoteReplyEditDelete

 

 

2011-01-20 05:19:35     Re: basic compilation rsh & rcp issue

Thomas Z (SWEDEN)

Message: 97568   

 

Thanks for your help, I didn't know about "make single" =)

 

Anyway, I found the actual error and fixed it.

 

//Thomas

QuoteReplyEditDelete

 

 

2011-02-10 14:37:05     Re: basic compilation rsh & rcp issue

Ruben Estrada (MEXICO)

Message: 98077   

 

What was your error Thomas?. I'm receiving the same message.

TranslateQuoteReplyEditDelete

 

 

2011-02-11 05:58:50     Re: basic compilation rsh & rcp issue

Thomas Z (SWEDEN)

Message: 98090   

 

Don't remember exactly but I think it was due to that I hadn't installed gcc-4.3, only gcc.

 

But I'm new to this so don't laugh =)

 

//Thomas

QuoteReplyEditDelete

Attachments

    Outcomes