?
Solved

Error while creating the object file..

Posted on 2006-11-21
7
Medium Priority
?
291 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 2000 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

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…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

762 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