Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    No Such file or directory

    Hello I just stuck with very naive error ..!!!
    Here it is

    root AT ubuntu:/home/ramzan# nios2-linux-uclibc-g (PRESSING TAB)
    root AT ubuntu:/home/ramzan# nios2-linux-uclibc-gcc -v
    bash: /opt/nios2/bin/nios2-linux-uclibc-gcc: No such file or directory
    root AT ubuntu:/home/ramzan# whereis nios2-linux-uclibc-gcc
    nios2-linux-uclibc-gcc: /opt/nios2/bin/nios2-linux-uclibc-gcc

    Thanks in advance ...!!!

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    the hills
    First, check to see if the directory /opt/nios2/bin is
    in your path, by doing the command

    echo $PATH

    Also, I noticed you are logged in as root.
    Remember, root may have a different path
    from a normal user. There should be documentation
    with the compiler, explaining the most convenient
    way to invoke it.

  3. #3
    root@ubuntu:/home/ramzan/nios2-linux# echo $PATH

    So the directory is in the path, but I dont why it is not finding this gcc compiler
    root@ubuntu:/opt/nios2/bin# ls
    nios2-linux-addr2line nios2-linux-objcopy nios2-linux-uclibc-gccbug
    nios2-linux-ar nios2-linux-objdump nios2-linux-uclibc-gcov
    nios2-linux-as nios2-linux-ranlib nios2-linux-uclibc-gdb
    nios2-linux-c++ nios2-linux-readelf nios2-linux-uclibc-gdb66
    nios2-linux-cc nios2-linux-size nios2-linux-uclibc-gdbtui
    nios2-linux-c++filt nios2-linux-strings nios2-linux-uclibc-gprof
    nios2-linux-cpp nios2-linux-strip nios2-linux-uclibc-insight
    nios2-linux-elf2flt nios2-linux-uclibc-addr2line nios2-linux-uclibc-ld
    nios2-linux-flthdr nios2-linux-uclibc-ar nios2-linux-uclibc-ld.real
    nios2-linux-g++ nios2-linux-uclibc-as nios2-linux-uclibc-nm
    nios2-linux-gcc nios2-linux-uclibc-c++ nios2-linux-uclibc-objcopy
    nios2-linux-gcc-3.4.6 nios2-linux-uclibc-cc nios2-linux-uclibc-objdump
    nios2-linux-gccbug nios2-linux-uclibc-c++filt nios2-linux-uclibc-ranlib
    nios2-linux-gcov nios2-linux-uclibc-cpp nios2-linux-uclibc-readelf
    nios2-linux-gdb nios2-linux-uclibc-elf2flt nios2-linux-uclibc-size
    nios2-linux-gprof nios2-linux-uclibc-flthdr nios2-linux-uclibc-strings
    nios2-linux-ld nios2-linux-uclibc-g++ nios2-linux-uclibc-strip
    nios2-linux-ld.real nios2-linux-uclibc-gcc tclsh8.4
    nios2-linux-nm nios2-linux-uclibc-gcc-3.4.6 wish8.4
    root@ubuntu:/opt/nios2/bin# nios2-linux-uclibc-gcc -v
    bash: /opt/nios2/bin/nios2-linux-uclibc-gcc: No such file or directory
    Last edited by princebadshah; 12-24-2011 at 11:48 AM.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts