[PD-dev] No rule to make target `/usr/include/stdlib.h'
Hans-Christoph Steiner
hans at eds.org
Mon Dec 3 20:17:16 CET 2007
On Dec 3, 2007, at 12:28 PM, Martin Peach wrote:
> Hans-Christoph Steiner wrote:
>> So this error is driving me mad:
>>
>> make: *** No rule to make target `/usr/include/stdlib.h', needed by
>> `g_canvas.o'. Stop
>>
>
> This is the first line of the first file that you're trying to
> compile, so it looks like the compiler isn't being specified. Turns
> out that in the makefile.mingw in pd/src (maybe not the same
> makefile you're using) the variable $(CC) is never defined;
> normally it should be set to point to gcc. Did some line(s) get
> dropped accidentally?
AFAIK, if CC is not defined, make automatically defines it. Or
something does, at least, since when I echo $(CC), I get "gcc".
I tried manually defining it and it didn't change the error :(
.hc
------------------------------------------------------------------------
----
"[W]e have invented the technology to eliminate scarcity, but we are
deliberately throwing it away to benefit those who profit from
scarcity." -John Gilmore
More information about the Pd-dev
mailing list