help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gmake error: No rule to make target lib_file.a


From: D3|\||\|!$
Subject: gmake error: No rule to make target lib_file.a
Date: Sat, 3 May 2008 00:11:50 -0700 (PDT)
User-agent: G2/1.0

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!!!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]