Sponsored Content
Full Discussion: makefile Question
Top Forums UNIX for Dummies Questions & Answers makefile Question Post 302276452 by Shinra1003 on Tuesday 13th of January 2009 08:23:36 PM
Old 01-13-2009
I think the problem may be that there are not supposed to be new lines inbetween the blocks. However, when I take them out I receive the error:
Code:
'ake: Fatal error: Don't know how to make target `myHello

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Makefile question

I'm trying to do string replacement with a Makefile and this is my scenario: Inside file "fileA", I have "#include<text>" statements and I want to replace it with the text inside a file called "params". I wish to perform this task using Makefiles. I've tried using m4 but that only works if... (1 Reply)
Discussion started by: hc29
1 Replies

2. Programming

Tough makefile question

At my company, we build some stuff using a makefile. While the makefile script is running, a developer may check in a newer version of a source file. The problem is, when we next run the make command, the target file isn't rebuilt, because the date of the target is after the dependency. Any... (1 Reply)
Discussion started by: mbbeaubi
1 Replies

3. Programming

Makefile very simple question.

Hi I tried many times and I dont know what the he... is going on. Problem: I hava in /home/marcin/c1_menu/ this file: menu_item_data.c I want to compile this file. so I tried something like this CC=gcc LIBS=-lmenu -lncurses RM=rm BINS=menu_item_data %: %.o ${CC} -o $@... (1 Reply)
Discussion started by: marcintom
1 Replies

4. Shell Programming and Scripting

Makefile question

Hi all, I've a makefile which has this line: @touch $@ I know $@ is for representing the target. But I don't know what's the @ preceding the touch. Can anyone help me? Thanks in advance. (4 Replies)
Discussion started by: mjdousti
4 Replies

5. AIX

makefile question

Hi all, In a makefile I would like to grab the first line of a given parameter file using ‘head' and assign it to a variable, how do I do this? I've got a simple makefile but it does not work? #! /bin/ksh ... .sqc.c: db2prep $*.sqc bindfile if ] DB2_PARM=`/usr/bin/head -1 $*.prm`; fi... (2 Replies)
Discussion started by: apersak
2 Replies

6. UNIX for Advanced & Expert Users

Makefile problem - How to run module load in a Makefile

Hi, I'm trying to run the module load command in a Makefile and i'm getting the following error: make: module: command not found Why is this? Is there any way to run this command in a Makefile? NOTE: command - module load msjava/sunjdk/1.5.0 works fine outside of the Makefile (2 Replies)
Discussion started by: hernandinho
2 Replies

7. Programming

A question about Makefile run by GNU make

Hello everybody, Currently I'm learning how to build projects (C programming) with GNU make. I have a problem with one Makefile and I would appreciate if you could kindly give me a hand. Here is the environment: OS: Redhat linux 5 compiler: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)... (2 Replies)
Discussion started by: dariyoosh
2 Replies

8. UNIX for Advanced & Expert Users

Makefile executing another Makefile first?

I have 2 libraries in 2 different directories that I build with Makefiles. library B depends on library A. If I modify a .cpp file in library A and run lib B's Makefile can I have B's makefile to automatically rebuild library A? I am now rebuilding A, followed by B... but I'd like B to... (0 Replies)
Discussion started by: wwuster
0 Replies

9. Homework & Coursework Questions

Help with Simple Multi-Level Makefile (Extremely New at Makefile)

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Basically, the prompt is make a makefile with various sub makefiles in their respective subdirectories. All code... (1 Reply)
Discussion started by: Tatl
1 Replies

10. Shell Programming and Scripting

Question in creating targets in makefile

Hi, I have a question related to makefile. I'm new to makefile and I'm in the process of writing a makefile for my RBT build. I have multiple source files and when I compile them I will get multiple object files (one object file for each source file). I'm having problem in creating a target for... (1 Reply)
Discussion started by: Anand Venkatesa
1 Replies
gg-error(3)								GGI							       gg-error(3)

NAME
gg-error, gii-error, ggi-error - GGI error definitions SYNOPSIS
#include <ggi/errors.h> DESCRIPTION
GGI return code policy is usually (unless otherwise noted): == 0 on normal completion > 0 when giving additional hints or returning positiv integer data < 0 for errors GGI error codes are of the form GGI_* and are guaranteed to be negative (except GGI_OK of course, which is guaranteed to be zero). The following error codes are defined: GGI_OK 0 /* All is well */ GGI_ENOMEM -20 /* Out of memory */ GGI_ENOFILE -21 /* File does not exist */ GGI_ENODEVICE -22 /* Input/Output device can not be opened */ GGI_EARGREQ -23 /* Required argument missing */ GGI_EARGINVAL -24 /* Invalid argument(s) */ GGI_ENOTALLOC -25 /* Trying to use or deallocate a resource that was not previously allocated */ GGI_EFATAL -26 /* Fatal error - the state of the target of the operation is undefined */ GGI_EBADFILE -27 /* Error reading (config) file */ GGI_ENOSPACE -28 /* Out of space / range */ GGI_ENOFUNC -29 /* Function not implemented */ GGI_EBUSY -30 /* Object is busy */ GGI_ENOTFOUND -31 /* The requested object was not found */ GGI_EEXCLUSIVE -32 /* Tried to get non-exclusive access to object which only supports exclusive access */ GGI_ENOMATCH -33 /* No matching entry found */ GGI_EEVUNKNOWN -40 /* Unknown event sent to or received from input source */ GGI_EEVNOTARGET -41 /* No apropriate target for for sent event */ GGI_EEVOVERFLOW -42 /* Overflow when queuing event */ GGI_EUNKNOWN -99 /* Unknown error */ The values -1 to -19 are reserved for extensions. See their error manpage for the details. libgg-1.0.x 2005-07-29 gg-error(3)
All times are GMT -4. The time now is 03:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy