473,394 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

gmake error: No rule to make target lib_file.a

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!!!
Jun 27 '08 #1
1 4151
D3|\||\|!$ wrote:
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-lit...t.html#faq-5.9
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: paulqm | last post by:
Hi there, A friend & i managed to get the installation instructions for postgresql 7.3.4 though as we started installing, we couldn't get past the build stage. Since we are using knoppix 3.2 we...
2
by: Thomas | last post by:
how to use gmake?
10
by: Johs | last post by:
I have a source file called project.c. In the same folder I have a Makefile containing: CC=gcc CFLAGS=-g project: project.c $(CC) $(CFLAGS) project.c -o project
35
by: jeffc226 | last post by:
I'm interested in an idiom for handling errors in functions without using traditional nested ifs, because I think that can be very awkward and difficult to maintain, when the number of error checks...
0
by: oldfarts | last post by:
THere is no listed catagory for gmake, so I just guessed here is where I go. I have tried a bunch of combination or ifeq,ifneq, and ifdef on make file defined variables and I cannot get any switch...
6
by: hsmit.home | last post by:
Hello, I came across a strange error and it's really been bugging me. Maybe someone else has come across this and any insight would be appreciated. What I'm trying to accomplish is using...
1
by: Vladimir M | last post by:
Hi everybody! I have SUSE 10 (SLES). I have downloaded PostgreSQL 8.3 from www.postgersql.org. While I compile it, I recieved error: make: *** Absent rule for target assemble...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.