Just grabbed Wednesday’s source snapshot of SDL. When I try to make it,
make says there’s a syntax error: it’s this line here:
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 ||
It just doesn’t like it. Any ideas?
Arthur.
Just grabbed Wednesday’s source snapshot of SDL. When I try to make it,
make says there’s a syntax error: it’s this line here:
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 ||
It just doesn’t like it. Any ideas?
Arthur.
Just grabbed Wednesday’s source snapshot of SDL. When I try to make it,
make says there’s a syntax error: it’s this line here:
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 ||
It just doesn’t like it. Any ideas?
Use gmake instead of make.
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
Sam Lantinga wrote:
Just grabbed Wednesday’s source snapshot of SDL. When I try to make it,
make says there’s a syntax error: it’s this line here:DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 ||
It just doesn’t like it. Any ideas?
Use gmake instead of make.
Yep that was the problem, just grabbed gmake, but I now get this error… .---------------------------------------------------------------
o2cg82% gmake
Making all in src
make[1]: Entering directory /disk1/users/bacvaf/9711229/junk/SDL-1.1/src' Making all in main make[2]: Entering directory
/disk1/users/bacvaf/9711229/junk/SDL-1.1/src/main’
cc -DPACKAGE=“SDL” -DVERSION=“1.1.7” -Dinline=__inline -DHAVE_ALLOCA_H=1
-DHAVE_ALLOCA=1 -I. -I. -g -DENABLE_X11 -DHAVE_OPENGL
-D_SGI_MP_SOURCE -DSDL_USE_PTHREADS -DHAVE_SEMUN -I…/…/include
-I…/…/include/SDL -I…/…/src -I…/…/src/irix -I…/…/src/main
-I…/…/src/audio -I…/…/src/video -I…/…/src/events -I…/…/src/joystick
-I…/…/src/cdrom -I…/…/src/thread -I…/…/src/timer -I…/…/src/endian
-I…/…/src/file -c SDL_main.c
Command-line error(1574): invalid macro definition:
Error(1005): could not open source file “.deps/SDL_main.pp”
/disk1/users/bacvaf/9711229/junk/SDL-1.1/src/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/disk1/users/bacvaf/9711229/junk/SDL-1.1/src’the SDL_main.pp doesn’t actually exist… any more ideas?
Cheers for this help, it’s really apprieciated…
Arthur.
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 ||
It just doesn’t like it. Any ideas?
Use gmake instead of make.
If GNU make is really required, then we should add a configure test for
it. If not, test the features that we need
What doesn’t it like in the above construct? $(shell …) ? Or the colon?
Mattias Engdeg?rd wrote:
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 ||
It just doesn’t like it. Any ideas?
Use gmake instead of make.
If GNU make is really required, then we should add a configure test for
it. If not, test the features that we needWhat doesn’t it like in the above construct? $(shell …) ? Or the colon?
Don’t know, it just said syntax error on that line. Since sorted out
GNUmake now, could be handy for other things, I know Mozilla M18 insisted on
a gnu make… mission for another day…
Arthur.
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 ||
It just doesn’t like it. Any ideas?
Use gmake instead of make.
If GNU make is really required, then we should add a configure test for
it. If not, test the features that we need
grumble automake grumble
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
Command-line error(1574): invalid macro definition:
Error(1005): could not open source file “.deps/SDL_main.pp”
2 catastrophic errors detected in the compilation of “.deps/SDL_main.pp”.
Since these are just source snapshots, they can only be directly built
with gcc, since the automaked build uses gcc-only dependency
generation. If you do “make dist” with gcc, it prepares a distribution
that can be built with other compilers as well.
I agree that this could be done in a better way though, but there is
a shortage of platform-independent dependency generators
(“catastrophic errors”? Now, that is much worse than mere fatal errors…)
It’s automake that creates GNU-make-required makefiles by default;
configure can’t correct this, since it just gets its inputs from automake.
The answer is to use automake --include-deps
ColinOn Thu, Nov 30, 2000 at 02:47:24PM +0100, Mattias Engdeg?rd wrote:
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 ||
It just doesn’t like it. Any ideas?
Use gmake instead of make.
If GNU make is really required, then we should add a configure test for
it. If not, test the features that we need
Awesome! Thanks!
It’s in CVS.
See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software> On Thu, Nov 30, 2000 at 02:47:24PM +0100, Mattias Engdeg?rd wrote:
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 ||
It just doesn’t like it. Any ideas?
Use gmake instead of make.
If GNU make is really required, then we should add a configure test for
it. If not, test the features that we need
It’s automake that creates GNU-make-required makefiles by default;
configure can’t correct this, since it just gets its inputs from automake.
The answer is to use automake --include-deps