John Quigley wrote:
Hey Antoine:
The undefined references, such as:
undefined reference to `GC_gcollect'
libjolt.a(libjolt.a.o): In function `_libid_balloc':
are the result of a missing library flag at link time in this call to
gcc:
gcc -o jest jest.c -export-dynamic libjolt.a -ldl -lm
Adding an '-lgc' to the LDLIBS in the Makefile will correct it.
Hi John,
Thanks for the suggestion !
This does indeed correct compilation - but now I have a new problem:
When I run 'make test' I get:
libjolt $ make test
./jest
make: *** [test] Segmentation fault
It does this whether I link against the copy of the Boehm collector
under idst/object/gc6.7/ or the system-wide version of the library (v7.0)
:-/
- a
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc