Sponsored Content
Top Forums Programming Issue with make, no rule to make target etc. Post 302534722 by DGPickett on Tuesday 28th of June 2011 02:59:49 PM
Old 06-28-2011
Maybe there is a reason most make setups have a make file in each dir? Often, .c and .cpp in different dirs? You have a lot of ways to make *.o there!

Try adding a specific make group for the first file.

Make can be very chatty if asked.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

make and clean in a single rule in the makefile.

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)
Discussion started by: vino
4 Replies

2. UNIX for Dummies Questions & Answers

Solaris 9: make: Fatal error:Command failed for target

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)
Discussion started by: eldiego
2 Replies

3. Linux

make file_Configuration lookup disabled for target.

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)
Discussion started by: mannam srinivas
0 Replies

4. UNIX for Dummies Questions & Answers

make command failed for target 'obj/gp_unix.o'

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)
Discussion started by: rosalina
3 Replies

5. Shell Programming and Scripting

To make sure I don't violate rule #7

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)
Discussion started by: toddk
6 Replies

6. Shell Programming and Scripting

make Fatal error: Command failed for target 'exp_inter.o'

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)
Discussion started by: pazzy
2 Replies

7. Programming

compile fails in linux ... "No rule to make target" ... HELP

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)
Discussion started by: OneDreamCloser
13 Replies

8. UNIX for Dummies Questions & Answers

Make - two target produced by one recipe

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)
Discussion started by: ybelenky
2 Replies

9. UNIX for Dummies Questions & Answers

make - two wildcards in the target

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)
Discussion started by: ybelenky
1 Replies

10. Programming

Makefile No rule to make target

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)
Discussion started by: kristinu
1 Replies
SVK::Command::Branch(3) 				User Contributed Perl Documentation				   SVK::Command::Branch(3)

NAME
SVK::Command::Branch - Manage a project with its branches SYNOPSIS
branch --create BRANCH [DEPOTPATH] branch --list [--all] branch --create BRANCH [--tag] [--local] [--switch-to] [--from|--from-tag BRANCH|TAG] [DEPOTPATH] branch --move BRANCH1 BRANCH2 branch --merge BRANCH1 BRANCH2 ... TARGET branch --checkout BRANCH [PATH] [DEPOTPATH] branch --delete BRANCH1 BRANCH2 ... branch --setup DEPOTPATH branch --push [BRANCH] branch --pull [BRANCH] branch --offline [BRANCH] branch --online [BRANCH] OPTIONS
-l [--list] : list branches for this project --listprojects : list avaliable projects --create : create a new branch --tag : create in the tags directory --local : targets in local branch --delete [--rm|del]: delete BRANCH(s) --checkout [--co] : checkout BRANCH in current directory --switch-to : switch the current checkout to another branch (can be paired with --create) --merge : automatically merge all changes from BRANCH1, BRANCH2, etc, to TARGET --project : specify the target project name --push : move changes to wherever this branch was copied from --pull : sync changes from wherever this branch was copied from --setup : setup a project for a specified DEPOTPATH --from BRANCH : specify the source branch name --from-tag TAG : specify the source tag name -C [--check-only] : try a create, move or merge operation but make no changes -P [--patch] FILE : Write the patch between the branch and where it was copied from to FILE --export : used with --checkout to create a detached copy --offline : takes the current branch offline, making a copy under //local --online : takes the current branch online, pushing changes back to the mirror path, and then switches to the mirror DESCRIPTION
SVK provides tools to more easily manage your project's branching and merging, so long as you use the standard "trunk/, branches/, tags/" directory layout for your project or specifically tell SVK where your branches live. Usage (without projects) A very simple sample usage might be to checkout the trunk from a project you want to work on but don't have upstream commit rights for. This allows you to maintain a local branch and to send in patches. Assuming you have alread mirrored this repository to //mirror/Project svk co //mirror/Project/trunk or svk branch --co trunk //mirror/Project/ and then svk branch --offline You're now working in a local branch, make local commits and changes as you need to. If you want to bring in changes from your remote repository, you can pull them down svk branch --pull To see what changes you've made, you can create a patch between the local branch and the remote repository svk branch -P - --push If you have commit rights to the remote repository, you can also svk branch --push to send your changes. You can use svk branch's branching capability in this mode, but it will be much friendlier if you set up a project Usage (projects) To initialize a project in a repository, run the setup command svk branch --setup //mirror/Project If you have the standard trunk branches tags directories svk will offer them as the starting point. In fact, if you have trunk branches and tags directories, svk will try to use them without neeting --setup, but you won't be able to use the --project flag and will need to use depotpaths in commands. The rest of this documentation assumes you've set up a project called Example in //mirror/Project If you're in a working copy of svk where it can work out the Project name, you can leave off the --project flag from the examples below, but you can branch/tag/merge without having working copies Branching To check out the trunk, you can run svk branch --co trunk --project Example To create a branch for release engineering svk branch --create Exmaple-1.0-releng --project Example Since you have a checkout of trunk already, you can convert that cd trunk svk branch --switch-to Example-1.0-releng Or you can get a clean checkout svk branch --co Example-1.0-releng --project Example If changes are made on trunk and you wish to bring them down to the release engineering branch, you can do that with the branch merge command svk branch --merge trunk Example-1.0-releng If you're cautious, use the check flags first: svk branch -C --merge trunk Example-1.0-releng svk branch -P - --merge trunk Example-1.0-releng These will show you what svk wants to do. Lets say you want to add a feature to trunk but work on a branch so you don't inconvenience others who are working on trunk: svk branch --create Feature --project Example work on your feature, svk ci some changes svk branch --merge Feature trunk --project Example continue to bring down changes several ways svk branch --pull svk branch --merge trunk Feature svk branch --merge trunk . (if you're in a working copy of the branch) and then merge back more feature work as you need to To get rid of a branch when you're done with it svk branch --delete Feature --project Example To see all of your branches, you can do: svk branch --list --project Example Tagging If you've been working on your releng branch and are ready to cut a release, you can easily create a tag svk branch --tag --create 1.0rc1 --from Example-1.0-releng --project Example If you would like to check out this tag, use svk branch --tag --co 1.0rc1 --project Example Project Property Details SVK branch also provides another project loading mechanism by setting properties on root path. Current usable properties for SVK branch are 'svk:project:<projectName>:path-trunk' 'svk:project:<projectName>:path-branches' 'svk:project:<projectName>:path-tags' These properties are useful when you are not using the standard "trunk/, branches/, tags/" directory layout. For example, a mirrored depotpath '//mirror/projA' may have trunk in "/trunk/projA/" directory, branches in "/branches/projA", and have a standard "/tags" directory. Then by setting the following properties on root path of remote repository, it can use SVK branch to help manage the project: 'svk:project:projA:path-trunk => /trunk/projA' 'svk:project:projA:path-branches => /branches/projA' 'svk:project:projA:path-tags => /tags' Be sure to have all "path-trunk", "path-branches" and "path-tags" set at the same time. perl v5.10.0 2008-09-13 SVK::Command::Branch(3)
All times are GMT -4. The time now is 12:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy