[Ecls-list] Critical change

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Fri Jan 19 17:58:49 UTC 2007


2007/1/19, Yaroslav Kavenchuk <kavenchuk at jenty.by>:
> $ gdb --args ./ecl_min compile [...]]
> #4  0x00403664 in CEpackage_error (
>      message=0x47c504 "The symbol ~S is not accessible from ~S and
> cannot be exported.",
>      continue_message=0x47c4d4 "Import the symbol in the package and
> proceed.",
>      package=0xb34fc8, narg=2) at C:/gnu/home/src/ecl/ecl/src/c/package.d:56
> #5  0x0040458e in cl_export2 (s=0x46d000, p=0xb34fc8)
>      at C:/gnu/home/src/ecl/ecl/src/c/package.d:470
> #6  0x0040247e in cl_boot (argc=2, argv=0x3f2630)
>      at C:/gnu/home/src/ecl/ecl/src/c/main.d:249
> #7  0x0040158b in main (argc=2, args=0x3f2630)
>      at C:/gnu/home/src/ecl/ecl/src/c/cinit.d:99
> (gdb)
>
> How debug it?

Well, you can go up to #5 and type
    call cl_print(1,s)
    call cl_print(1,p)
This should output the name of the offending symbol and of the package
where it is not found. If it turns out to be just a typo, it can be
fixed.

Juanjo

-- 
Dpto. de Fisica Teorica I, Fac. de CC Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 2804 (Spain)
http://teorica.fis.ucm.es/~jjgarcia/




More information about the ecl-devel mailing list