guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1.9 on the 19th; freeze 10 june (this wednesday)


From: Ken Raeburn
Subject: Re: 1.9 on the 19th; freeze 10 june (this wednesday)
Date: Wed, 10 Jun 2009 22:13:09 -0400

On Jun 6, 2009, at 05:45, Andy Wingo wrote:
Hey folks,

After talking with Ludovic I think we're aiming for next friday for a
release, 19 june. In order to test thoroughly, I'd like to put Guile
master into "freeze mode" this Wednesday, 10 June.

I just tried building the guile-master-20090610 snapshot on my Mac and it failed.

* r6rs-ports.c needs to include "libguile/r6rs-ports.x", like the other source files do, instead of "r6rs-ports.x"

* There needs to be a SCM_API declaration of scm_cells_allocated, or it won't be exported from the library, and the test programs won't link. I put one in gc.h and it seems to work. The library sources apparently get compiled with -fvisibility=hidden, and SCM_API overrides that. (Which makes me wonder why it isn't blowing up for everyone on other systems...)

* At least in test-suite/standalone the preprocessor options telling the compiler where to find Guile's headers seem to come after the configure-time CPPFLAGS. This doesn't work out well if I need the latter to tell Guile where GNU MP is installed, but there's also a version of Guile installed there too.

/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H - I. -I../../../guile-master-20090610/test-suite/standalone -I../.. -I/ opt/local/include -I/Users/raeburn/dev/e/aae/g/hak/include -I../../../ guile-master-20090610/test-suite/standalone -I../../../guile- master-20090610 -I../.. -I../../../guile-master-20090610/lib -I../../ lib -I/opt/local/include -I/Users/raeburn/dev/e/aae/g/hak/include - D_THREAD_SAFE -Wall -Wmissing-prototypes -Werror -g -O2 -MT libtest_extensions_la-test-extensions-lib.lo -MD -MP -MF .deps/ libtest_extensions_la-test-extensions-lib.Tpo -c -o libtest_extensions_la-test-extensions-lib.lo `test -f 'test-extensions- lib.c' || echo '../../../guile-master-20090610/test-suite/ standalone/'`test-extensions-lib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../guile- master-20090610/test-suite/standalone -I../.. -I/opt/local/include -I/ Users/raeburn/dev/e/aae/g/hak/include -I../../../guile-master-20090610/ test-suite/standalone -I../../../guile-master-20090610 -I../.. - I../../../guile-master-20090610/lib -I../../lib -I/opt/local/include - I/Users/raeburn/dev/e/aae/g/hak/include -D_THREAD_SAFE -Wall -Wmissing- prototypes -Werror -g -O2 -MT libtest_extensions_la-test-extensions- lib.lo -MD -MP -MF .deps/libtest_extensions_la-test-extensions-lib.Tpo -c ../../../guile-master-20090610/test-suite/standalone/test- extensions-lib.c -fno-common -DPIC -o .libs/libtest_extensions_la- test-extensions-lib.o ../../../guile-master-20090610/test-suite/standalone/test-extensions- lib.c: In function ‘libtest_extensions_init’: ../../../guile-master-20090610/test-suite/standalone/test-extensions- lib.c:42: error: ‘scm_t_extension_init_func’ undeclared (first use in this function) ../../../guile-master-20090610/test-suite/standalone/test-extensions- lib.c:42: error: (Each undeclared identifier is reported only once ../../../guile-master-20090610/test-suite/standalone/test-extensions- lib.c:42: error: for each function it appears in.) ../../../guile-master-20090610/test-suite/standalone/test-extensions- lib.c:42: error: syntax error before ‘libtest_extensions_init2’
make[4]: *** [libtest_extensions_la-test-extensions-lib.lo] Error 1

Here "-I/opt/local/include -I/Users/raeburn/dev/e/aae/g/hak/include" come from CPPFLAGS set at configure time (as per the configure script usage message), and ../guile-master-20090610 is the root of the sources relative to the root of the build tree. Both GNU MP and Guile 1.8.6 are installed in /opt/local; the "hak" tree is where I installed libunistring. Using "-save-temps" and examining the resulting .i file shows that /opt/local/include/libguile.h is being included.

Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]