[Ecls-list] ECL on OpenBSD/HPPA

Julian Stecklina der_julian at web.de
Mon Nov 7 10:21:39 UTC 2005


Hello,

I configured ECL with --disable-boehm (as it assumes all HPPA platforms
run HP-UX):

gcc -c -I. -I/home/blitz/ecls/src/c -I/home/blitz/ecls/src/c/gc
-I/home/blitz/ecls/src/h -I../h  -g -O2 -fPIC -fstrict-aliasing
-Dopenbsd  -o file.o file.c /home/blitz/ecls/src/c/file.d: In function
`ecl_make_stream_from_fd': /home/blitz/ecls/src/c/file.d:2824: error:
structure has no member named `_IO_buf_base' gmake[2]: *** [file.o]
Error 1

The corresponding code is:

#if !defined(GBC_BOEHM)
   fp->_IO_buf_base = NULL; /* BASEFF */;
   setbuf(fp, stream->stream.buffer = cl_alloc_atomic(BUFSIZ));
#endif

Is there a portable way to accomplish this?

Regards,
-- 
Julian Stecklina

When someone says "I want a programming language in which I
need only say what I wish done," give him a lollipop. - Alan Perlis




More information about the ecl-devel mailing list