- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Make command giving error recursive macro
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 04:17 AM
10-09-2006 04:17 AM
Make command giving error recursive macro
$ make -f makefile.uds -k all_make
make -f makefile.uds -k all_make
+ make -f makefile.uds -k all_make
Make: infinitely recursive macro?. Stop.
$
Please provide a solution for the same.
- Tags:
- make
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 04:45 AM
10-09-2006 04:45 AM
Re: Make command giving error recursive macro
at first sight I guess, that you are calling the make itself recursivly.
Please attach your 'makefile.uds' - solutions are difficult to get without it.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 05:28 AM
10-09-2006 05:28 AM
Re: Make command giving error recursive macro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 05:33 AM
10-09-2006 05:33 AM
Re: Make command giving error recursive macro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 05:57 AM
10-09-2006 05:57 AM
Re: Make command giving error recursive macro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 06:06 AM
10-09-2006 06:06 AM
Re: Make command giving error recursive macro
in your makefile.uds you include e.g.
makefile.common
makefile.userlock
but makefile.userlock
includes makefile.common
as well. The duplicate include(s) is/are the source of your problem.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 06:22 AM
10-09-2006 06:22 AM
Re: Make command giving error recursive macro
I have actually commented that out from the files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 06:24 AM
10-09-2006 06:24 AM
Re: Make command giving error recursive macro
Sorry for an incomplete answer. I tried it that way too. But the same error came in.
If you have a look at the file, I have put # before it. Thus I have commented out that includes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 06:33 AM
10-09-2006 06:33 AM
Re: Make command giving error recursive macro
a quick test did not show this error message.
The cause may be in the ORACLE-part of the make-includes which was not attached.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 06:42 AM
10-09-2006 06:42 AM
Re: Make command giving error recursive macro
I just saw this line in makefile.common:
CCFLAGS = $(CCFLAGS) -w1
This is at least a not portable but nearly always an illegal construct.
Use
CCFLAGS += -w1
or set this way at all places:
CCFLAGS := ...
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 06:42 AM
10-09-2006 06:42 AM
Re: Make command giving error recursive macro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 07:22 PM
10-09-2006 07:22 PM
Re: Make command giving error recursive macro
in your ORACLE-Makefile you find a line
CCFLAGS= $(NOKPIC_CCFLAGS) -DPRECOMP
in your makefile.common you have
CCFLAGS = $(CCFLAGS) -w1
In the real makefile (after the expansion of all include-makefiles) the make command find the pure form of a recursive makro call.
It is not enough to check a single makefile when using includes.
mfG Peter