Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6684171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:54:31+00:00 2026-05-26T04:54:31+00:00

I have six source files and I would like to link them using the

  • 0

I have six source files and I would like to link them using the .elf format. I have written a makefile that converts all the source code files to .obj files.

When I attempt to link these object files using the syntax I gave in the makefile, the following errors appear:

gcc -c rt_look.c
Linking ARM test_rom.elf
make[1]: o: Command not found
make[1]: [test_rom.elf] Error 127 (ignored)
make[1]: Leaving directory `/c/Imperas/Demo/main/isolated_model_ert_rtw

I am also pasting the makefile rules:

all:$(OBJ) test_rom.elf 

ert_main.o:              ert_main.c isolated_model.h rtwtypes.h
             gcc -c ert_main.c
isolated_model.o:        isolated_model.c isolated_model.h isolated_model_private.h
             gcc -c isolated_model.c
isolated_model_date.o:   isolated_model_data.c isolated_model.h isolated_model_data.h
             gcc -c isolated_model_data.c
rt_look2d_normal.o:      rt_look2d_normal.c rtlibsrc.h
             gcc -c rt_look2d_normal.c
rt_nonfinite.o:          rt_nonfinite.c rt_nonfinite.h
             gcc -c rt_nonfinite.c
rt_look.o:           rt_look.c rtlibsrc.h
             gcc -c rt_look.c
syscalls.o:          syscalls.c
             gcc -c syscalls.c
test_rom.elf:        $(OBJ) 
                     $(V) echo "Linking $(CROSS) $@"
                     $(V) $(IMPERAS_LINK) -o $@ $^ $(IMPERAS_LDFLAGS) -lm

clean::
-rm -f test_rom.elf
-rm -f *.$(OBJ).o

endif
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:54:31+00:00Added an answer on May 26, 2026 at 4:54 am

    The V and IMPERAS_LINK variables are not set, or set to an empty value, so when building test_rom.elf, make runs the command

     -o $@ $^ $(IMPERAS_LDFLAGS) -lm

    which attempts to run the o command. Since the first character in the command is -, make ignores the error.

    Try replacing "Linking $(CROSS)" with "Linking $(CROSS) with $(IMPERAS_LINK)" to see if this is the case.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have six radio buttons in XAML, and I would like to create two
I have six wcf services that I'm hosting in a windows service. Everything works
I have the image like this: I want to split it into six squares,
Suppose I have a string like this: one two three four five six seven
I have six directories the follow the format \home\mydir\myproject\2012-01-23_03-01-34 \home\mydir\myproject\2012-01-11_01-00-57 \home\mydir\myproject\2010-01-11_01-00-57 \home\mydir\myproject\2010-01-11_01-00-54 \home\mydir\myproject\2010-01-08_01-00-54 Note,
I have six checkable push buttons in QT, and I want it so that
so i have six catagories that entries in my database are tagged against. When
I have six string variables say str11, str12, str13, str21, str21 and str23. I
How can I use displayObjects as animation frames? I have six symbols in my
I have a page with six ifrmaes inside it. Each frame has individual id,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.