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



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

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.

Not problem for Makefile.PL but problem for 'make'

william@william-pc:/tmp/Language-Prolog-Yaswi-0.14$ sudo /usr/local/bin/perl Makefile.PL
retrieving SWI-Prolog configuration:
running 'pl -dump-runtime-variables'
PLBASE: /usr/local/lib/pl-5.6.55
PLARCH: i686-linux
PLLIBS: -lgmp -lrt -lreadline -lncurses -lm -lrt -ldl
PLLIB: -lpl
PLCFLAGS: -pthread
PLLDFLAGS: -export-dynamic -O3 -pthread
PLSOEXT: so
PLVERSION: 50655
PLSHARED: yes
PLTHREADS: yes

checking thread support in Perl and SWI-Prolog:
thread support enabled

creating plconfig.c
Writing Makefile for Language::Prolog::Yaswi::Low
Writing Makefile for Language::Prolog::Yaswi

-----------------------------------------------------------------------------------------------------

william@william-pc:/tmp/Language-Prolog-Yaswi-0.14$ sudo make
make[1]: Entering directory `/tmp/Language-Prolog-Yaswi-0.14/Low'
cc -c -I. -I/usr/local/lib/pl-5.6.55/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O0 -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" -fPIC "-I/usr/local/lib/perl5/5.10.0/i686-linux-thread-multi/CORE" Low.c
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)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_cleanup’:
Low.xs:79: error: ‘my_cxt_index’ undeclared (first use in this function)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_toplevel’:
Low.xs:91: error: ‘my_cxt_index’ undeclared (first use in this function)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_swi2perl’:
Low.xs:103: error: ‘my_cxt_index’ undeclared (first use in this function)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_openquery’:
Low.xs:120: error: ‘my_cxt_index’ undeclared (first use in this function)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_cutquery’:
Low.xs:165: error: ‘my_cxt_index’ undeclared (first use in this function)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_nextsolution’:
Low.xs:174: error: ‘my_cxt_index’ undeclared (first use in this function)
Low.xs: In function ‘XS_Language__Prolog__Yaswi__Low_testquery’:
Low.xs:205: error: ‘my_cxt_index’ undeclared (first use in this function)
make[1]: *** [Low.o] Error 1
make[1]: Leaving directory `/tmp/Language-Prolog-Yaswi-0.14/Low'
make: *** [subdirs] Error 2



Any idea why ? Thanks.


Send instant messages to your online friends http://uk.messenger.yahoo.com
.



Relevant Pages

  • HTTP Filtering and Threads...
    ... That's my first program and my first question in perl programming.. ... #Some non relevante HTML stuff... ... # Some irrelevant code stuff... ... I belive I should add the thread support in a fashion ...
    (comp.lang.perl.misc)
  • HTTP Filtering and Threads...
    ... That's my first program and my first question in perl programming.. ... #Some non relevante HTML stuff... ... # Some irrelevant code stuff... ... I belive I should add the thread support in a fashion ...
    (perl.beginners)
  • Re: Problems compiling DBI 1.38 on perl 5.6.1
    ... Looks like the problem is related to the old thread support in perl ... I think DBI 1.32 was the last version tested to work with 5.005threads. ... > Oh we are also seeing a problem on solaris 9 too. ...
    (perl.dbi.users)
  • Re: Problems compiling DBI 1.38 on perl 5.6.1
    ... Looks like the problem is related to the old thread support in perl ... I think DBI 1.32 was the last version tested to work with 5.005threads. ... > Oh we are also seeing a problem on solaris 9 too. ...
    (perl.dbi.users)
  • Re: B::Lint does not detect undefined subs
    ... On Mon, 7 Aug 2006, Alexander Frink wrote: ... Meanwhile I have compiled Perl 5.9.3 with and without thread support. ... can I force Perl in unthreaded mode (because I ...
    (comp.lang.perl.misc)