[Ecls-list] Compiling on OpenBSD fails

Mark Voortman mark at voortman.name
Mon Feb 5 16:56:14 UTC 2007

Hi Bruce,

I followed the steps you described, with the only difference that I got
the boehm-gc from the packages collection instead of the ports. Now make
produced a different error, namely:

libeclmin.a(alloc_2.o)(.text+0x60b): In function `finalize_queued':
/home/mark/tmp/ecl/src/c/alloc_2.d:340: undefined reference to
collect2: ld returned 1 exit status
*** Error code 1

Stop in /home/mark/tmp/ecl/build (line 78 of Makefile).
*** Error code 1

Stop in /home/mark/tmp/ecl (line 69 of Makefile).

There seems to be a problem in the C code. Do you know how to fix this?
BTW, I am running OpenBSD on a x86.


> Hi,
>   Is this on a SPARC?  If not, the only problem is in the boehm gc.  There
> are two choices:
> - Install boehm-gc from /usr/ports/devel/boehm-gc and then use
> --enable-boehm=system.
> You'll probably have to do:
> export CC="cc -I/usr/local/include -L/usr/local/lib"
> before the configure.  This is an older version of the gc, but it seems to
> work.
> - If you like patches, there is one here:
> http://www.pckswarms.ch/PckSwarms/ecl-0.9i.openbsd40patch-20070111.tgz
> This has the patches for the garbage collector and one small patch to clx
> which fixes a seemingly bizzare openbsd open display problem.  CLX wants
> to read the xauth file on its own, and, it seems that OpenBSD moved a
> field.  The clx patch only allows TCP/IP, so all you DECNet users will be
> unhappy. :-)
> The gc patches are my forward ports of the OpenBSD ports patches for
> OpenBSD.  They seem ok, but, they might be horribly wrong in some bizzare
> way.
> If you use OpenBSD sparc you need to make a patch to gmp as well, and,
> ecl's memory usage is wrongly accounted for, but, I'll bet this doesn't
> affect you.
> cheers and good luck!
> bruce

More information about the ecl-devel mailing list