I get an error trying to compile the latest ECL which i just
downloaded.
I don't see on the ECL web page who I need to contact about this.
Can someone make a suggestion?
thanks
-jim
...stuff deleted...
Unknown symbol: mp::+load-compile-lock+
gcc -c -DECL_API -I. -I/opt/ecl/ecl/build -I/opt/ecl/ecl/src/c -I../
ecl/gc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fPIC -Dlinux -o
load.o load.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP /opt/ecl/ecl/src/c/
unixfsys.d unixfsys.c ; else ./dpp /opt/ecl/ecl/src/c/unixfsys.d
unixfsys.c ; fi
dpp: /opt/ecl/ecl/src/c/unixfsys.d -> unixfsys.c
gcc -c -DECL_API -I. -I/opt/ecl/ecl/build -I/opt/ecl/ecl/src/c -I../
ecl/gc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fPIC -Dlinux -o
unixfsys.o unixfsys.c
if test -f ../CROSS-DPP ; then ../CROSS-DPP /opt/ecl/ecl/src/c/
unixsys.d unixsys.c ; else ./dpp /opt/ecl/ecl/src/c/unixsys.d
unixsys.c ; fi
dpp: /opt/ecl/ecl/src/c/unixsys.d -> unixsys.c
gcc -c -DECL_API -I. -I/opt/ecl/ecl/build -I/opt/ecl/ecl/src/c -I../
ecl/gc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fPIC -Dlinux -o
unixsys.o unixsys.c
/opt/ecl/ecl/src/c/unixsys.d: In function ‘si_run_program’:
/opt/ecl/ecl/src/c/unixsys.d:325: warning: passing argument 2 of
‘execvp’ from incompatible pointer type
/opt/ecl/ecl/src/c/unixsys.d: At top level:
/opt/ecl/ecl/src/c/unixsys.d:367: error: expected identifier or ‘(’
before ‘}’ token
make[2]: *** [unixsys.o] Error 1
I don't know, but the paragraph:
> /opt/ecl/ecl/src/c/unixsys.d: At top level:
> /opt/ecl/ecl/src/c/unixsys.d:367: error: expected identifier or �(�
> before �}� token
looks like a minor correction may be needed at line 367 of the
C source file named unixsys.d (a very reminiscent name, by the way)
On Oct 28, 5:41 pm, ·······@eurogaran.com wrote:
> I don't know, but the paragraph:> /opt/ecl/ecl/src/c/unixsys.d: At top level:
> > /opt/ecl/ecl/src/c/unixsys.d:367: error: expected identifier or (
> > before } token
>
> looks like a minor correction may be needed at line 367 of the
> C source file named unixsys.d (a very reminiscent name, by the way)
I looked into unixsys.d and it is NOT C, it is some other DSL
apparently.
smm_input);
} else {
parent_read = 0;
stream_read = cl_core.null_stream;
}
@(return ((parent_read || parent_write)?
cl_make_two_way_stream(stream_read, stream_write) :
Cnil)
exit_status)
@)
}
From: Pascal Bourguignon
Subject: Re: cannot compile ECL. expected identifier or ‘(’ before ‘}’ token
Date:
Message-ID: <49079fcc$0$28064$426a74cc@news.free.fr>
jimka wrote:
> On Oct 28, 5:41 pm, ·······@eurogaran.com wrote:
>> I don't know, but the paragraph:> /opt/ecl/ecl/src/c/unixsys.d: At top level:
>>> /opt/ecl/ecl/src/c/unixsys.d:367: error: expected identifier or (
>>> before } token
>> looks like a minor correction may be needed at line 367 of the
>> C source file named unixsys.d (a very reminiscent name, by the way)
>
> I looked into unixsys.d and it is NOT C, it is some other DSL
> apparently.
Of course! How could we program if not with some DSL?
The only question is how easy it is to design your DSL with the
programming language you have to use.
With lisp, it's zero effort.
With any other programming language, it's real hard.
--
__Pascal Bourguignon__
http://www.informatimago.com
From: David Golden
Subject: Re: cannot compile ECL. expected identifier or =?UTF-8?B?4oCYKOKAmSBiZWZvcmUg4oCYfeKAmSB0b2tlbg==?=
Date:
Message-ID: <ge87rq$8cd$1@aioe.org>
Pascal Bourguignon wrote:
> The only question is how easy it is to design your DSL with the
> programming language you have to use.
>
> With lisp, it's zero effort.
> With any other programming language, it's real hard.
Nah. It's pretty easy in forth and the like. The like? Factor in
particular is a combination of forthy and lispy stuff.
http://factorcode.org/
On Oct 28, 9:56 pm, jimka <·····@rdrop.com> wrote:
> On Oct 28, 5:41 pm, ·······@eurogaran.com wrote:
>
> > I don't know, but the paragraph:> /opt/ecl/ecl/src/c/unixsys.d: At top level:
> > > /opt/ecl/ecl/src/c/unixsys.d:367: error: expected identifier or (
> > > before } token
>
> > looks like a minor correction may be needed at line 367 of the
> > C source file named unixsys.d (a very reminiscent name, by the way)
>
> I looked into unixsys.d and it is NOT C, it is some other DSL
> apparently.
It is C, but with some additional syntax parsed by dpp.c which hides
the details of how ECL passes arguments to functions. This is pretty
old and dates back to the Kyoto CL days.
Juanjo
On Oct 28, 12:41 am, jimka <·····@rdrop.com> wrote:
> I get an error trying to compile the latestECLwhich i just
> downloaded.
> I don't see on theECLweb page who I need to contact about this.
> Can someone make a suggestion?
There are two channels to publish bug reports and ask for support. One
is the mailing list
http://ecls.sourceforge.net/resources.html
the other one is the project webpage and the bug report facility
linked also from the address above or directly by following
http://sourceforge.net/tracker/?group_id=30035
The typo you found has been probably corrected in both the GIT and CVS
versions
http://ecls.sourceforge.net/download.html
If this is not the case, please follow those channels or contact me
privately by email and I will try to solve the problem.
Juanjo