Solved

Error while creating the object file..

Posted on 2006-11-21
7
290 Views
Last Modified: 2010-04-21
i get this following error

[root@localhost hello]# make cris-axis-linux-gnu
Makefile:2: /tools/build/Rules.axis: No such file or directory
make: *** No rule to make target `/tools/build/Rules.axis'.  Stop.

but i can c the rule.axis file in that folder..

plz give me a solution
0
Comment
Question by:genesiscircle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
7 Comments
 
LVL 6

Expert Comment

by:xRalf
ID: 17987397
Hi genesiscircle,
try to use full path for the file Rules.axis in your program.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 17988099
please post the corresponding target from the Makefile and the result of;

  id && ls -l /tools/build/Rules.axis
0
 

Author Comment

by:genesiscircle
ID: 18027161

I tried giving the full path
but i got the same error.
0
 

Author Comment

by:genesiscircle
ID: 18027333
hi ahoffmann
the cris compiler is in /usr/local/cris/bin
the s/w distribution is in /etc/devboard-R2_01
and i ve created a folder in apps as hello and i ve a sample file hello.c in it.
so the path is like /etc/devboard-R2_01/apps/hello/hello.c
the makefile is also inside the folder hello
to create the object file i issued the command make cris-axis-linux-gnu
it worked well for the first time and the object file was also created the second time is says error

in the make file the target i ve used is
include $(AXIS_TOP_DIR)/tools/buid/Rules.axis
 
the result of id && ls -l /tools/build/Rules.axis  is

[root@localhost hello]# id && ls -l /tools/build/Rules.axis
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
ls: /tools/build/Rules.axis: No such file or directory
 
waiting for ur reply

0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 500 total points
ID: 18034869
sounds like you need to set $(AXIS_TOP_DIR)
either as environment variable in your shell (and export it), or in the Makefile itself. I guess the latter.
0

Featured Post

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question