gmake error: No rule to make target lib_file.a

D

D3|\\||\\|!$

Hi all!!!
I have been trying to port a piece of C++ code from windows to Linux
environment. I'm using redhat9 which has KDE3 and QT3.1.x on it.

I used KDevelop 2.1 bundled with it. I created a new C++ project with
KDevelop.
The code needs to import headers and .a files containing the
definitions of functions contained therein. I supplied the path of the
folder containing the headers as "-Ipath_of_header_folder" as a
compiler flag and supplied the path of library files' folder as "-
Lpath_of_lib_folder" as a linker flag. Then I mentioned the names of
the libraries that need to be linked with the code in the linker
options->additional libraries. I have used -Wall compiler flag.

The code is compiling properly but when I hit make, the compiler is
throwing up the following error:
gmake[3]: *** No rule to make target `lib_file.a,', needed by
`project_name'. Stop.

Seems something is wrong with the make options but I haven't changed
any of the defaults..

Please Help!!!
 
R

red floyd

D3|\||\|!$ said:
Hi all!!!
I have been trying to port a piece of C++ code from windows to Linux
environment. I'm using redhat9 which has KDE3 and QT3.1.x on it.

[redacted]
>
The code is compiling properly but when I hit make, the compiler is
throwing up the following error:
gmake[3]: *** No rule to make target `lib_file.a,', needed by
`project_name'. Stop.

Seems something is wrong with the make options but I haven't changed
any of the defaults..

Regardless of the fact that your app is written in C++, this is OT here.
You have a problem with gmake, not with the C++ language.

Please ask elsewhere, see FAQ 5.9 for a list of suggested newsgroups.

http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top