failed to build examples in `examples/' catalog. The log for failed examples follows:
1. Running compiled examples as as a `test' Makefile target implies on the execution path includes current directory. So the Makefile line like (Depend/ examlple was taken)
DEST = depend
should be replaced in all Makefiles to
DEST = ./depend
2. Embedded/ example
make[1]: Entering directory `/jet/wowa/bigloo2.2a/examples/Embedded'
`/jet/wowa/bigloo2.2a/bin/bigloo -eval '(begin (print *cc*) (exit 0))'` c-main.o scm-main.o fib.o -g -o embedded -L`/jet/wowa/bigloo2.2a/bin/bigloo -query | grep "\*lib-dir[ ]*\*" | sed 's/\*lib-dir\*[ ]*:[ ]*//'` -lgc -l`/jet/wowa/bigloo2.2a/bin/bigloo -eval '(begin (print *bigloo-lib*) (exit 0))'` -lm
gcc: /usr/local/lib/bigloo/2.2a): No such file or directory
make[1]: *** [embedded] Error 1
3. ClienServer/
make[1]: Entering directory `/jet/wowa/bigloo2.2a/examples/ClientServer'
make[1]: *** No rule to make target `test'. Stop.
4. Lib/
make[1]: Entering directory `/jet/wowa/bigloo2.2a/examples/Lib'
ar qcv libpoint_u.a olib_u/scm-point.o olib_u/point.o
a - olib_u/scm-point.o
a - olib_u/point.o
ar qcv libpoint.a olib/scm-point.o olib/point.o
a - olib/scm-point.o
a - olib/point.o
/jet/wowa/bigloo2.2a/bin/bigloo -v2 -L . -library point -static-bigloo example.scm -o example
example.scm:
. Heap
[reading /usr/local/lib/bigloo/2.2a/bigloo.heap]
. Module
. Library
[reading ./point.heap]
[reading include file point.sch]
*** WARNING:bigloo:declare-c-type!
Type redefinition -- S-POINT_2D
File "./point.sch", line 7, character 180:
# (print_point_2d::int (s-point_2d*) "print_point_2d")
# ^
# *** ERROR:bigloo:TOP-LEVEL:PRINT_POINT_2D
# Illegal global redefinition -- (PRINT_POINT_2D::INT (S-POINT_2D*) print_poi ...
make[1]: *** [example] Error 255
make[1]: Leaving directory `/jet/wowa/bigloo2.2a/examples/Lib'
bigloo2.2b: Old bugs fixed, the new one arise. The Lib example wont compile. May be, the right revision of cigloo is required, in this case the bigloo examples should not use cigloo at all, since it is from another distribution.
make[1]: Entering directory `/home/build/bigloo2.2b/examples/Lib'
cigloo point.h point.c > point.sch
cigloo: can't resolve symbol '__data_start'
/home/build/bigloo2.2b/bin/bigloo -unsafe -q -mkaddheap -mkaddlib -v2 make-lib.scm -addheap point.heap
make-lib.scm:
. Heap
[reading /usr/local/lib/bigloo/2.2b/bigloo.heap]
. Module
[reading imported module POINT]
[reading include file point.sch]
1 type(s) used but not defined.
File "make-lib.scm", line 16, character 927:
# (import (point "scm-point.scm")))
# ^
# *** ERROR:bigloo:TOP-LEVEL:__MAKE-POINT-LIB
# Undefined type used in export clause -- s-point_2d*
Stopping compilation...