2009-03-31 16:30:05     uclinux-dist error message

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

2009-03-31 16:30:05     uclinux-dist error message

Jim Carstensen (UNITED STATES)

Message: 71905   

 

Trying to build the uclinux-dist.

 

Getting PATH error messages: "bfin-uclinux-gcc: command not found: perhaps you need to fix your PATH?"

 

The toolchain is loaded such that it exists here: ~/blackfin-sources/build

 

So I enter the command:

 

export PATH=$PATH:~/blackfin-sources/build/bfin-uclinux/bin:~/blackfin-sources/build/bfin-linux-uclibc/bin

 

 

(also edited the ~/.bashrc file to do automatically)

 

Check the PATH with: which -a bfin-linux-uclibc-gcc

 

and nothing comes back.

 

I'm logged in as root.

 

Any ideas?

 

Thanks.

QuoteReplyEditDelete

 

 

2009-03-31 16:36:49     Re: uclinux-dist error message

Mike Frysinger (UNITED STATES)

Message: 71906   

 

you should not be doing anything as root.  if `which bfin-linux-uclibc-gcc` says it cant find the compiler, then either your install of the toolchain is broken or your PATH is broken.  verify the paths you're actually using are correct.

QuoteReplyEditDelete

 

 

2009-03-31 16:46:38     Re: uclinux-dist error message

Jim Carstensen (UNITED STATES)

Message: 71907   

 

OK, I'll switch to a user.  Question is:  what is the login? Using colinux. It "autogenerates" two passwords: one for the root and one for uclinux.  Do you know the login for uclinux? (I just guessed root-root to get into the root)

 

Once I login non-root, should the PATH commands I used in the earlier posting work?  I have confirmed that the compiler is at the location I include in the command.

 

thanks.

QuoteReplyEditDelete

 

 

2009-03-31 16:56:50     Re: uclinux-dist error message

Robin Getz (UNITED STATES)

Message: 71908   

 

Jim:

 

If you downloaded/built things as root - before you can fix things - you need to do a make clean, and then change all the directory permissions so you can built it as a normal user - otherwise it still will not work.

 

-Robin

QuoteReplyEditDelete

 

 

2009-03-31 17:12:36     Re: uclinux-dist error message

Jim Carstensen (UNITED STATES)

Message: 71909   

 

OK.  I'm able to login as uclinux now.

 

How do I remake (clean) the toolchain?

 

JC

 

 

QuoteReplyEditDelete

 

 

2009-03-31 17:53:34     Re: uclinux-dist error message

Mike Frysinger (UNITED STATES)

Message: 71912   

 

the documentation looks pretty straight forward to me ...

docs.blackfin.uclinux.org/doku.php?id=colinux:accounts

QuoteReplyEditDelete

 

 

2009-03-31 17:54:02     Re: uclinux-dist error message

Mike Frysinger (UNITED STATES)

Message: 71913   

 

simply delete everything you did as root (source/compiled/etc...) and restart from scratch as non-root

QuoteReplyEditDelete

 

 

2009-04-01 09:05:34     Re: uclinux-dist error message

Jim Carstensen (UNITED STATES)

Message: 71952   

 

Yes, It definitely is.  For some reason my brain didn't recognize "uclinux" as the username.

 

Thanks.

QuoteReplyEditDelete

 

 

2009-04-01 09:06:00     Re: uclinux-dist error message

Jim Carstensen (UNITED STATES)

Message: 71953   

 

Seems like the safest thing to do.  Thanks.

Attachments

    Outcomes