<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
You need a newer make.<BR>
I don't remember upgrading mine, and I am using 10.4, but these are the same errors that Olaf reported on 10.3, and they were fixed by upgrading make for him.<BR>
<BR>
If there are really only two relevant uses of patsubst, maybe we can recode them to be more compatible?<BR>
<BR>
- Jay<BR><BR> <BR>> To: jkrell@elego.de; jay.krell@cornell.edu<BR>> CC: m3devel@elegosoft.com; mika@camembert.async.caltech.edu<BR>> Subject: Re: [M3commit] CVS Update: cm3 <BR>> Date: Mon, 15 Jun 2009 04:12:39 -0700<BR>> From: mika@async.caltech.edu<BR>> <BR>> Hi Jay,<BR>> <BR>> I've been seeing some new errors attempting to build m3cc on OSX<BR>> 10.4 / ppc.<BR>> <BR>> It seems like it might... possibly... be related to some things you<BR>> have done? Or at least it's happening in the same general area of<BR>> the compiler.<BR>> <BR>> Here we go:<BR>> <BR>> cd ../../gcc/mpfr && :<BR>> make[2]: Nothing to be done for `all-am'.<BR>> make[2]: Nothing to be done for `all'.<BR>> make[2]: Nothing to be done for `all'.<BR>> make[1]: Nothing to be done for `all'.<BR>> cd . && cd libcpp && make CC="gcc" CFLAGS="-O2 -g" AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: libcpp.a | tee -a /Users/mika/cm3/m3-sys/m3cc/src/../PPC_DARWIN/_m3.log<BR>> cd . && cd libcpp && make CC="gcc" CFLAGS="-O2 -g" AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: libcpp.a | tee -a /Users/mika/cm3/m3-sys/m3cc/src/../PPC_DARWIN/_m3.log<BR>> Makefile:191: *** Insufficient number of arguments (2) to function `patsubst'. Stop.<BR>> cd . && cd gcc && make CC="gcc" CFLAGS="-O2 -g" AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: s-modes insn-config.h m3cg | tee -a /Users/mika/cm3/m3-sys/m3cc/src/../PPC_DARWIN/_m3.log<BR>> cd . && cd gcc && make CC="gcc" CFLAGS="-O2 -g" AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: s-modes insn-config.h m3cg | tee -a /Users/mika/cm3/m3-sys/m3cc/src/../PPC_DARWIN/_m3.log<BR>> Makefile:4437: *** Insufficient number of arguments (2) to function `patsubst'. Stop.<BR>> "/Users/mika/cm3/m3-sys/m3cc/src/m3makefile", line 508: quake runtime error: unable to copy "./gcc/m3cgc1" to "./cm3cg": errno=2<BR>> <BR>> --procedure-- -line- -file---<BR>> cp_if -- <builtin><BR>> postcp 508 /Users/mika/cm3/m3-sys/m3cc/src/m3makefile<BR>> include_dir 592 /Users/mika/cm3/m3-sys/m3cc/src/m3makefile<BR>> 4 /Users/mika/cm3/m3-sys/m3cc/PPC_DARWIN/m3make.args<BR>> <BR>> Fatal Error: package build failed<BR>> [lapdog:~/cm3/m3-sys/m3cc] mika% <BR>> <BR>> Any ideas what might be causing this?<BR>> <BR>> Mika<BR>> <BR>> <BR>> <BR>> Jay Krell writes:<BR>> >CVSROOT: /usr/cvs<BR>> >Changes by: jkrell@birch. 09/06/15 11:49:14<BR>> ><BR>> >Added files:<BR>> > cm3/m3-sys/m3cc/gcc-apple/gcc/: gengtype-lex.c gengtype-yacc.c <BR>> > gengtype-yacc.h <BR>> ><BR>> >Log message:<BR>> > Add back the lex/yacc/flex/bison outputs that Apple deleted<BR>> > but didn't note in the REMOVED file. You only see their<BR>> > absence cause problems if building on a machine without<BR>> > lex/yacc/flex/bison, such as birch that is missing bison.<BR>> > Apple didn't modify gengtype-lex.l and gentype-yacc.y,<BR>> > so the unmodified versions of these files taken from gcc 4.2.1.<BR></body>
</html>