From: David A. M. <dm...@gm...> - 2005-07-06 23:12:40
|
I'm trying to build clisp 2.33.84 on Mac OS X 10.4 (Darwin 8.1.0) and getting pages of errors in gettext.c in the i18n module. This happens with the current CVS source and the archive at: http://www.podval.org/~sds/clisp/clisp-2.33.84.tar.bz2%3E Here's an except of the messages: gcc -I/usr/local/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -I/sw/include -I.. -c gettext.m.c -o gettext.o In file included from gettext.c:13: ../clisp.h:220: error: parse error before "obj" ../clisp.h: In function 'check_uint_defaulted': ../clisp.h:220: warning: implicit declaration of function 'missingp' ../clisp.h:220: error: 'obj' undeclared (first use in this function) Which makes sense, as line 220 of clisp.h is: static inline unsigned int check_uint_defaulted (object obj, unsigned int defolt) { return missingp(obj) ? defolt : I_to_uint(check_uint(obj)); } and object doesn't seem to defined anywhere. I was building with: ./configure --prefix=3D/usr/local cd src ./makemake --with-dynamic-ffi --prefix=3D/usr/local > Makefile [edited Makefile to build clx/mit-clx and added -I/sw/include and -L/sw/lib lines to CFLAGS and LIBS respectively to use GNU readline from Fink instead of an ancient, incompatible BSD version from Apple] make config.lisp make Any ideas? |