Results 1 to 3 of 3
Hi,
I'm new to linux and I need to install an open source program called tpr(it's the first link if you type tpr and fpga into Google) for research
the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-05-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 2
*** No rule to make target
Hi,
I'm new to linux and I need to install an open source program called tpr(it's the first link if you type tpr and fpga into Google) for research
the manual says it successfully compiles with g++ compiler and all I have to do is alter the Makefile to specify my home directory.
so I thought that replacing the line of
CLASSDIR=/project/kia00/ababei/tpr5
with my working directory of
CLASSDIR=/home/clomness/Documents/tpr/tpr5
it would work but unfortunately when I go to make it I get the error message
make: *** No rule to make target `.deps/check_netlist.d', needed by `all'. Stop.
a file that does exist so the Makefile must be looking in the wrong place.
I've tried a couple of other things and searched the web but haven't had any luck.
Thanks for any help
i'm running
OS: Linux 2.6.31.8-0.1-desktop i686
System: openSUSE 11.2 (i586)
- 07-06-2010 #2Linux User
- Join Date
- Jan 2005
- Location
- Saint Paul, MN
- Posts
- 396
The person that created the tar file did not remove a hidden directory before creating it.
By looking at the "Makefile", I see two solutions to your current problem.
The targets are: "redep" or "veryclean".
Within the directory where you untared "tpr5.tar.gz" and are attempting your make do:
Code:make redep make
This hidden directory is created to hold the dependances for each of the "*.cpp" files. Since it was already present (prior to your "make" command)
it contains the refereces using the original "CLASSDIR" specification.
- 07-07-2010 #3Just Joined!
- Join Date
- Jul 2010
- Posts
- 2
Thanks that seemed to help me get over that hurdle. Only now the program won't compile though I think this is more of a difference between different compilers.
now when I type make I get
tt_hgraph.cpp: In member function ‘void tt_hgraph::ComputeArrivalTimesFromPIsToPOs_Process Vertex(int, std::queue<int, std::deque<int, std::allocator<int> > >*)’:
tt_hgraph.cpp:477: warning: comparison between signed and unsigned integer expressions
tt_hgraph.cpp: In member function ‘void tt_hgraph::ComputeRequiredTimesFromPOsToPIs_Proces sVertex(int, std::queue<int, std::deque<int, std::allocator<int> > >*)’:
tt_hgraph.cpp:664: warning: comparison between signed and unsigned integer expressions
tt_hgraph.cpp:633: warning: unused variable ‘ver_id’
tt_hgraph.cpp: In member function ‘void tt_hgraph::Print_tt_hgraph(char*)’:
tt_hgraph.cpp:772: error: conversion from ‘int’ to non-scalar type ‘std::_Rb_tree_iterator<std:
air<const int, Element> >’ requested
make: *** [tt_hgraph.o] Error 1
I've already had to add a couple of missing header files and redefine a macro but now i'm stuck at this


Reply With Quote
