[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
$(eval): >193 chars on a line yields ' virtual memory exhausted'
From: |
gk |
Subject: |
$(eval): >193 chars on a line yields ' virtual memory exhausted' |
Date: |
Sat, 16 Nov 2002 03:02:49 -0800 |
I originally had several short prerequisites on the line but discovered
that it doesn't matter how you break up the characters (spaces don't seem
to have any affect though).
# makefile
define foo
a:12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901
@echo 'hi'
endef
$(eval $(call foo))
# eof
address@hidden junk]$ make
make: *** virtual memory exhausted. Stop.
If you remove one character, anywhere on the long line, the error goes away
and a normal message results:
make: *** No rule to make target
`1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890',
needed by `a'. Stop.
(Adding a rule to make the target has no effect.)
address@hidden junk]$ make --version
GNU Make 3.80
address@hidden junk]$ uname -r
2.4.18
- Greg Keraunen
- $(eval): >193 chars on a line yields ' virtual memory exhausted',
gk <=