[R-SIG-Mac] Problems building RAqua

Tom Kennedy tom.kennedy at bigpond.com
Fri Jul 18 20:11:42 MEST 2003


I have attempted to build RAqua using the r-devel rsync sources. I'm 
still using Fink and the Dec 2002 Dev update.
It builds flawlessly until in the 
/Users/tom/Developer/R/src/modules/aqua directory.

I am using the following configure:

./configure --enable-R-shlib --with-aqua --without-x 
--with-blas='-framework vecLib'  --with-lapack
FPICFLAGS='-fno-common' LDFLAGS='-lcc_dynamic'

I consistently get warnings and errors trying to build aquaconsole.c. 
Most are warnings but the "BadParameter" variable
is persistent.

gcc -no-cpp-precomp -I. -I../../../src/include -I../../../src/include 
-I/sw/include -I/usr/local/include -DHAVE_CONFIG_H  -fno-common  -g -O2 
-c aquaconsole.c -o aquaconsole.lo
aquaconsole.c: In function `Raqua_StartConsole':
aquaconsole.c:368: warning: passing arg 1 of `NewAEEventHandlerUPP' 
from incompatible pointer type
aquaconsole.c: In function `RAboutHandler':
aquaconsole.c:644: warning: assignment from incompatible pointer type
aquaconsole.c:645: warning: passing arg 1 of 
`CFBundleGetValueForInfoDictionaryKey' from incompatible pointer type
aquaconsole.c: In function `RWinHandler':
aquaconsole.c:989: warning: passing arg 5 of `GetWindowProperty' makes 
pointer from integer without a cast
aquaconsole.c: In function `DoCloseHandler':
aquaconsole.c:1057: warning: passing arg 5 of `GetWindowProperty' makes 
pointer from integer without a cast
aquaconsole.c: In function `FSPathMakeFSSpec':
aquaconsole.c:1509: error: `BadParameter' undeclared (first use in this 
function)
aquaconsole.c:1509: error: (Each undeclared identifier is reported only 
once
aquaconsole.c:1509: error: for each function it appears in.)
aquaconsole.c: In function `FSMakePath':
aquaconsole.c:1538: error: `BadParameter' undeclared (first use in this 
function)
aquaconsole.c: In function `FSMakeFSRef':
aquaconsole.c:1566: error: `BadParameter' undeclared (first use in this 
function)
make[4]: *** [aquaconsole.lo] Error 1
make[4]: Leaving directory `/Users/tom/Developer/R/src/modules/aqua'

Am I missing a declaration somewhere by not including a header. I had a 
good look through the /System/Library/Frameworks
and cannot find it.

Any thoughts.

Tom



More information about the R-SIG-Mac mailing list