Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, I am trying to compile one kernel for mips architecture, executing make command is giving error as follows, /usr/lib: file not recognized: Is a directory collect2: ld returned ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2008
    Posts
    26

    /usr/bin : file not recognized: Is a directory


    Hi All,

    I am trying to compile one kernel for mips architecture, executing make command is giving error as follows,

    /usr/lib: file not recognized: Is a directory
    collect2: ld returned 1 exit status

    I am not getting any idea how to solve this error,

    Please suggest me, to get over this error.

    Thanks in advance.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,755
    Well, /usr/lib IS a directory. My guess is that some Makefile in the kernel tree is trying to access it as a file, or some similar problem exists. What is the host platform you are trying to build the MIPS kernel on?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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