bug-make
[Top][All Lists]
Advanced

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

Documentation - reference not defined query


From: Pete Edwards
Subject: Documentation - reference not defined query
Date: Mon, 20 Jan 2020 13:09:31 -0500

Hi,

I am new to make and Makefiles and ran into a problem through eclipse, which I am researching the cause for...not getting there fast I know.
Anyway, I decided to research make today and get confused with references to some things in your documentation, Soo Since I read your bug reporting page, maybe you'd like to point me in the right direction.

The reference to RCS and SCCS file types on page 
https://www.gnu.org/software/make/manual/html_node/Remaking-Makefiles.html#Remaking-Makefiles

What is an RCS File type?  Google references 3D scene data type...I don't think that's where we are.
SCCS file type? Nothing found for that type..
I checked the Index at https://www.gnu.org/software/make/manual/html_node/Catalogue-of-Rules.html#index-s_002e-_0028SCCS-file-prefix_0029
No definition for SCCS or RCS file typs there either...
Could you enlighten me on the file types and what generates them please?

Oh and the  research I am trying to resolve
The make output is: 
======================
 12:46:45 **** Build of configuration Default for project hello_world ****
make -j4 all
Makefile:8: /home/pete/esp/esp-idf:/home/esp/esp-idf/make/project.mk: No such file or directory
make: *** No rule to make target '/home/pete/esp/esp-idf:/home/esp/esp-idf/make/project.mk'.  Stop.
"make -j4 all" terminated with exit code 2. Build might be incomplete.
===================

I see that make thinks Makefile include file exists in /home/pete/esp/esp-idf/ which it does, but the next part of the line (and where that is data gets set) eludes me.

"/home/esp/esp-idf/make/project.mk: No such file or directory" 
This project.mk file is not in this directory, it is in directory 
/home/pete/esp/esp-idf/make/project.mk
$HOME is defined as /home/pete

IDF_PATH = "/home/pete/esp/esp-idf" and is defined to the compiler directives under eclipse.
and defined in the Makefile
"Makefile"
#
# This is a project Makefile. It is assumed the directory this Makefile resides in is a
# project subdirectory.
#

PROJECT_NAME := hello-world
echo $(IDF_PATH);
include $(IDF_PATH)/make/project.mk
=====================end of makefile============

how does make build the line with the colon in it like so?

/home/pete/esp/esp-idf  :   /home/esp/esp-idf/make/project.mk
(spaces added for reading clarity)
when I have not defined the 2nd string and it is not the true location of the esp-idf/make/project.mk file, which is in /home/pete/esp/esp-idf/project.mk? (The /pete/ directory is missing. Is the string built from a script that is using /home/ as the default home directory by any chance?

I spent 7 days looking at this now! (Learned a lot, I also learned I need some help)

Please advise?

Thanks

Pete E



reply via email to

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