Re: make error for Language::Prolog::Yaswi::Low



On May 29, 2008, at 16:08, William wrote:

Hello, sigh...the erros seem like without end. Does it happen to you guys that debugging takes much much longer time than actual coding ?

It is called yak shaving*, and, yes, constantly.

snip
Here I have problem of building Language::Prolog::Yaswi at http://search.cpan.org/~salva/Language-Prolog-Yaswi-0.14/Yaswi.pm
It's an XS module. Recently, before I upgrade from perl 5.8.8 to perl 5.10 I have not problem building this module.
snip

Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_END’:
Low.xs:50: error: ‘my_cxt_index’ undeclared (first use in this function)
Low.xs:50: error: (Each undeclared identifier is reported only once
Low.xs:50: error: for each function it appears in.)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_start’:
Low.xs:68: error: ‘my_cxt_index’ undeclared (first use in this function)
snip
Any idea why ? Thanks.
snip

Sounds like you are missing header files for some library.

* http://projects.csail.mit.edu/gsb/old-archive/gsb-archive/gsb2000-02-11.html.



Relevant Pages

  • Re: Requesting advice how to clean up C code for validating string represents integer
    ... [Java to Lisp] ... [Perl to Lisp] ...
    (comp.lang.c)
  • Re: How to use GUI: Win32::GUI If You Need Accessibility
    ... I will press a key to convert, and it should give me the converted rtf8/unicode text in another text box <snip> ... coming from a win32 api/C/C++ background. ... the exact font metrics that can be used to write resolution, font and DPI independent code in Windows apps. ... Perl will crash consistantly with a highly cryptic error message if you try to use the two at once. ...
    (comp.lang.perl.misc)
  • Re: How to use GUI: Win32::GUI If You Need Accessibility
    ... I will press a key to convert, and it should give me the converted rtf8/unicode text in another text box <snip> ... coming from a win32 api/C/C++ background. ... the exact font metrics that can be used to write resolution, font and DPI independent code in Windows apps. ... Perl will crash consistantly with a highly cryptic error message if you try to use the two at once. ...
    (comp.lang.perl.misc)
  • Re: perldoc -q "How can I make my Perl program run faster?"
    ... > it looks like you are using ActiveState Perl ... all link to libc, you probably get more performance gain out of not ... get from static linking, particularly if it causes you to swap more. ...
    (perl.beginners)
  • Re: Trying to use Floor
    ... The ceil and floor functions are defined in the POSIX module. ... How do I ask perl what version is installed? ... you needed to install, ...
    (perl.beginners)