[Ecls-list] Critical change

Yaroslav Kavenchuk kavenchuk at gmail.com
Wed Jan 31 12:19:38 UTC 2007


I wrote:
>  >  > $ 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)
>  >
>  > 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.
> 
> 
> (gdb) up 5
> #5  0x0040458e in cl_export2 (s=0x46d000, p=0xb34fc8)
>      at C:/gnu/home/src/ecl/ecl/src/c/package.d:470
> 470                     CEpackage_error("The symbol ~S is not accessible
> from ~S and cannot be exported.",
> (gdb) call cl_print(1,s)
> 
> Breakpoint 8, FEinvalid_function (obj=0x473ea0)
>      at C:/gnu/home/src/ecl/ecl/src/c/error.d:194
> 194             FEwrong_type_argument(@'function', obj);
> The program being debugged stopped while in a function called from GDB.
> When the function (cl_print) is done executing, GDB will silently
> stop (instead of continuing to evaluate the expression containing
> the function call).
> 
> 
> The same result is for `call cl_print(1,p)`
> 

#7  0x0040158b in main (argc=2, args=0x3f2620)
     at C:/gnu/home/src/ecl/ecl/src/c/cinit.d:99

> 	/* This should be always the first call */
> 	cl_boot(argc, args);

#6  0x0040247e in cl_boot (argc=2, argv=0x3f2620)
     at C:/gnu/home/src/ecl/ecl/src/c/main.d:249

> 	cl_export2(Cnil, cl_core.lisp_package);

#5  0x0040458e in cl_export2 (s=0x46d000, p=0xb34fc8)
     at C:/gnu/home/src/ecl/ecl/src/c/package.d:470

> 	if (!intern_flag) {
> 		PACKAGE_UNLOCK(p);
> 		CEpackage_error("The symbol ~S is not accessible from ~S and cannot be exported.",
> 				"Import the symbol in the package and proceed.",
> 				p, 2, s, p);

Cnil? Where it is defined? I have not found.

P.S. I am sorry that I bother and can not find a error itself.




More information about the ecl-devel mailing list