[Ecls-list] error on compiling function

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Fri Feb 10 07:48:58 UTC 2012


As I said, ECL is not thought to be ran *from the build directory*. Some
time ago we introduced a patch that sets the include directory and adds the
local one -- this was needed for OpenAxiom.  This broke compilation of code
when you are placed in ECL's build directory. I just cannot remove that
without breaking somebody else's code right now.

Juanjo

On Thu, Feb 9, 2012 at 2:33 AM, KDr2 <killy.draw at gmail.com> wrote:

>  $ecl
>>
>> ECL (Embeddable Common-Lisp) 12.2.1
>>> (git:446a5ff95d143aa9726326882d7e37b3c0ce9526)
>>
>> Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
>>
>> Copyright (C) 1993 Giuseppe Attardi
>>
>> Copyright (C) 2000 Juan J. Garcia-Ripoll
>>
>> ECL is free software, and you are welcome to redistribute it
>>
>> under certain conditions; see file 'Copyright' for details.
>>
>> Type :h for Help.
>>
>> Top level in: #<process TOP-LEVEL>.
>>
>> > (defun x ()())
>>
>>
>>> X
>>
>> > (compile 'x)
>>
>>
>>> ;;; Loading #P"/opt/ecl/lib/ecl-12.2.1/cmp.fas"
>>
>> ;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
>>
>> ;;;
>>
>> ;;; End of Pass 1.In file included from ./ecl/ecl.h:35,
>>
>>                  from ./ecl/ecl-cmp.h:18,
>>
>>                  from
>>> /private/var/folders/wy/hrmb8g3j37d11721mk55jmx80000gn/T/ecl0012PDlYX.c:5:
>>
>> ./ecl/config.h:485:27: error: arch/fpe_x86.c: No such file or directory
>>
>>
>>> ;;; Internal error:
>>
>> ;;;   ** Error code 1 when executing
>>
>> ;;; (RUN-PROGRAM "gcc" ("-I." "-I/opt/ecl/include/" "-g" "-O2" "-fPIC"
>>> "-fno-common" "-g" "-O2" "-fPIC" "-fno-common" "-D_THREAD_SAFE" "-Ddarwin"
>>> "-O2" "-w" "-c"
>>> "/private/var/folders/wy/hrmb8g3j37d11721mk55jmx80000gn/T/ecl0012PDlYX.c"
>>> "-o"
>>> "/private/var/folders/wy/hrmb8g3j37d11721mk55jmx80000gn/T/ecl0012PDlYX.o"))
>>
>> X
>>
>>  NIL
>>
>> NIL
>>
>> > ^D
>>
>>
> I configure ecl with the '--with-fpe=NO' option, and this still happens
> both with ecl v11.1.1 and v12.2.1 on macosx(darwin11 x86_64) and
> linux-2.6.33(x86_64)
>
> Anyone met this?
>
> --
> Best Regards,
>             ----  KDr2
> /***************************************
>  *    site   : http://kdr2.net         *
>  *    skype  : zhuoql                  *
>  *    gtalk  : killy.draw at gmail.com    *
>  ***************************************/
>
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>
>


-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20120210/dc0026e5/attachment.html>


More information about the ecl-devel mailing list