Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

Whilst building a simple Nios program, i keep getting an error.

Hi,

Whilst building a simple pre-made Nios program i keep getting the error....

/cygdrive/c/altera/12.1/nios2eds/components/altera_hal/build/gnu_rules.mk:86: *** multiple target patterns. stop.

I've attempted to search for what it means but i just can't find the answer. Has anyone seen this error and would like to help me out please?

Any help is much appreciated!

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'd look at line 86 of the specified file and see what is there.

    A good guess would be something caused by spaces in filenames.

    make really isn't designed to handle them at all.

    I really don't know why the windows GUI ever allowed them, windows command line (cmd.exe) has no way of quoting them either.

    (The GUI could have saved them an '_' instead).
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I checked line 86 and it's just comments. None of my file names have spaces in them. I've only used a-z and the underscore (_) to separate words.

    The folder in which is project is in c:

    I have no idea at all why this error message is appearing. :(
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Make won't like : in pathnames on dependency lines either.

    (They can be substituted from variables, but must not be in the makefile itself)

    Using relative pathnames with / as a separator is generally best.