In the make file, I have compile rules
I just added,
but I am getting a make error, *** No rule to make target `bldprinting2.o`
The file printing2.cpp is in src/src_server, but it won't seem to compile it from there. Under cygwin, adding these two compile lines to the exact same trunk works just fine, so I don't get what the difference is. I can post the entire make file if that would help.
Well, either you did not make it, buy it, or place it where it can be seen by make. Often a missing or misplaced *.cpp/c or whatever means no *.o generated. Did you pray for a magic rename to some name inside a file?
I will go through it carefully again. What I can't under stand is the exact same file set and directory structure under windows cygwin compiles and builds just fine with the addition of the compile rules for the src subdirectory. The linux make file is a bit different because it has to deal with multiple versions of gcc, but the compile and build rules are the same. It fails on the first file it tries to make an object from, and the src file is definitely where it is supposed to be in /src/src_server. Make is make, so I don't see why it works under cygwin, but not under Cent.
I will check permissions and hard-code simplify the make file to make sure there is nothing set wrong.
Below is the entire make file if that helps. The error occurs while trying to create the first object, printing2.o.
LMHmedchem
I am trying to juggle this with several other things. Is there a good link for make? Most of what I have read is pretty simple stuff and doesn't get into much for how to do more advanced things. I have thought about switching to a configure script that would call make, but this file works just fine under cygwin and it was allot of work to get it set up to do make all the different versions I have, with different versions of gcc, different OSs, etc, and I would hate to have to do all of that again.
I am trying to create a makefile to build a program and am getting the following error:
make -f tsimplex.mk
make: *** No rule to make target `/main/tsimplex_main.cpp', needed by `tsimplex_main.o'. Stop.
OPSYS = $(shell uname -s )
TARGET = tsimplex
ROOTDIR = ../../..
GTSDIR =... (1 Reply)
Suppose I have a Makefile like this:
x/Ax: x/Bx
touch x/Ax
y/Ay: y/By
touch y/Ay
z/Az: z/Bz
touch z/Az
It does not look like a proper style for make. I would like to write something like
%/A%: %/B%
touch %/A%
but make does not accept it.
What is a right way to shorten such a... (1 Reply)
Suppose executable X produces files A and B from nothing, Y produces C from A, Z produces D from B, and my final goal is to produce C and D. I wrote the following makefile:
.PHONY: all
all: C D
C: A
Y A
D: B
Z B
A B:
X
This makefile seems to reflect all dependencies, as it should... (2 Replies)
hello all,
attached you can find a tool (written in C) that i really need to make it compile under linux
i am able to compile and run it successfully in mac os x, but in linux the compilation fails
the only thing that i did so far is to change the following
#include <sys/malloc.h> to... (13 Replies)
I am trying to install Expect 5.43 on my Solaris 10 x86 PC. When I run the make file I get - Command failed for target 'exp_inter.o'. I tried to find the file (find / -name exp_inter.o -print 2>/dev/null) but could not. Where can I get this file from? (2 Replies)
I am hoping to find out if it is possible to use some sort of UNIX programming/scripting tools to solve a problem I have with reformatting email messages that are sent out of my IBM UNIX (AIX) system. I'm thinking some advanced awk/sed may work
I do not have the time or the ability to do this... (6 Replies)
hi,
i am trying to run make command in solaris 9.
its giving the error:
make:Fatal error:Command failed for target 'obj/gp_unix.o'
i came to know X11 should be inastalled for gp_unix.o.But it is already installed.still the same error.
./configure worked fine.
can anybody please suggest... (3 Replies)
hello everyone,
while i am compiling a c++ module.at the compilation end i am getting the following error.
=======================
Configuration lookup disabled for target"/swtemp/usbs/cc/unix-ce/root/subsys/cb/cdbc/obj_0001/HP-UX//rdr_types.h"
what does it mean.can somebody clarify the... (0 Replies)
Hi everyone
first of all you should know that I've been working with solaris for a few days only. :)
I need to install some programs and I have had the following troubles:
1. When I used /.configure it showed the following message:
"no acceptable C compiler found in $PATH"
I included... (2 Replies)
Hi,
This stems from the following thread https://www.unix.com/showthread.php?t=18299
I have a makefile which makes either executables or a shared library.
i.e. make -f unix.mak will create the executables and
make -f unix.mak libolsv will create the shared library.
Since these have to be... (4 Replies)