users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Users-prolog Digest, Vol 109, Issue 1


From: Duncan Patton a Campbell
Subject: Re: Users-prolog Digest, Vol 109, Issue 1
Date: Tue, 3 Jul 2012 01:31:54 -0600

Hi Daniel.

...

> 
> 
> I have increased some static data so maybe there is not enough memory on your 
> machine.
> Could you try decreasing some stack size. For instance:
> 
>    export TRAILSZ=10000
>    export GLOBALSZ=20000
> 
> (use setenv under csh/tcsh)
> 
> then:
> 
>    make
> 
> Is it better ?

Yes.  I'm now able to compile on OBSD 386, but the same code will
not compile and produces the same errors.  

> 
> > also, on OBSD/AMD64 I get the following when compiling an interpreter
> > with some additional stuff (that compiles ok on all previous versions)
> > ....
> > /tmp/gplcb0nBYB.o(.text+0x7c): In function `darea':
> > /usr/local/gprolog/Dlib/imacd.c:18: warning: sprintf() is often misused, 
> > please use snprintf()
> > /tmp/gplcrtG2bt.o(.text+0x11): In function `predicate(spliton/4)':
> > : undefined reference to `Pl_Get_Current_Choice'
> > /tmp/gplcrtG2bt.o(.text+0x121): In function `predicate(chop_str/3)':
> > : undefined reference to `Pl_Get_Current_Choice'
> > /tmp/gplcrtG2bt.o(.text+0x281): In function `predicate(matchRci/3)':
> > : undefined reference to `Pl_Get_Current_Choice'
> > /tmp/gplcrtG2bt.o(.text+0x491): In function `predicate(spliton_ci/4)':
> > : undefined reference to `Pl_Get_Current_Choice'
> > /tmp/gplcrtG2bt.o(.text+0x5a1): In function `predicate(chop_str_ci/3)':
> > : undefined reference to `Pl_Get_Current_Choice'
> > /tmp/gplcrtG2bt.o(.text+0x701): more undefined references to 
> > `Pl_Get_Current_Choice' follow
> > collect2: ld returned 1 exit status
> > compilation failed
> > gmake: *** [dpro] Error 1
> > 
> > This could of course be related to my not having the latest OS revs loaded.
> 
> This is a new function (when implementing soft-cut I have modified deeply the 
> code handling cut). However, there is nothing architecture-dependent in this 
> code. The function is defined in EnginePl/wam_inst.c (thus in wam_inst.o and 
> lib engine_pl.a)
> 
> Can you please:
> 
>    make distclean
>    ./configure --disable-regs --with-c-flags=debug
> 
> When you obtain the error, could you check if the symbol is defined in the 
> library ?
> 
>    cd EnginePl
>    nm -gop libengine_pl.a | grep Pl_Get_Current_Choice
> 
> you should obtains something like
> 
>    libengine_pl.a:wam_inst.o:0000000000001570 T Pl_Get_Current_Choice

Yes.  it is there.  which might imply some kind of linking error in OBSD, 
except that you say this is new functionality for cut.  

The code that won't compile is in /usr/local/gprolog/Dlib/dlib.pl, the Makefile
and some c-stuff that gets linked is in there too.

> 
> If you don't find a solution, could you give ma an access to your machine(s) 
> (via ssh). With this I could fix the problem.

My AMD64 box is 96.52.224.136, there is a danieldiaz/zaidleinad user/pass on it 
now.  
Please login and change it when you get this.  If you need access to the '386
let me know. 

Thanks,

Dhu


> 
> Daniel
> 
> 
> 
> > Dhu
> > 
> > 
> > On Fri, 29 Jun 2012 12:00:36 -0400
> > address@hidden wrote:
> > 
> >> Send Users-prolog mailing list submissions to
> >>    address@hidden
> >> 
> >> To subscribe or unsubscribe via the World Wide Web, visit
> >>    https://lists.gnu.org/mailman/listinfo/users-prolog
> >> or, via email, send a message with subject or body 'help' to
> >>    address@hidden
> >> 
> >> You can reach the person managing the list at
> >>    address@hidden
> >> 
> >> When replying, please edit your Subject line so it is more specific
> >> than "Re: Contents of Users-prolog digest..."
> >> 
> >> 
> >> Today's Topics:
> >> 
> >>   1. GNU Prolog 1.4.1 is released (Daniel Diaz)
> >> 
> >> 
> >> ----------------------------------------------------------------------
> >> 
> >> Message: 1
> >> Date: Fri, 29 Jun 2012 16:41:31 +0200
> >> From: Daniel Diaz <address@hidden>
> >> To: gnu prolog mailling list <address@hidden>
> >> Subject: GNU Prolog 1.4.1 is released
> >> Message-ID: <address@hidden>
> >> Content-Type: text/plain; charset="us-ascii"
> >> 
> >> An HTML attachment was scrubbed...
> >> URL: 
> >> <http://lists.gnu.org/archive/html/users-prolog/attachments/20120629/c6851780/attachment.html>
> >> 
> >> ------------------------------
> >> 
> >> _______________________________________________
> >> Users-prolog mailing list
> >> address@hidden
> >> https://lists.gnu.org/mailman/listinfo/users-prolog
> >> 
> >> 
> >> End of Users-prolog Digest, Vol 108, Issue 8
> >> ********************************************
> > 
> > 
> > -- 
> > Ne obliviscaris, vix ea nostro voco.
> > 
> > _______________________________________________
> > Users-prolog mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/users-prolog
> > 
> > -- 
> > Ce message a ete verifie par MailScanner
> > pour des virus ou des polluriels et rien de
> > suspect n'a ete trouve.
> > 
> 
> 
> -- 
> Ce message a ete verifie par MailScanner
> pour des virus ou des polluriels et rien de
> suspect n'a ete trouve.
> 
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Users-prolog mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/users-prolog
> 
> 
> End of Users-prolog Digest, Vol 109, Issue 1
> ********************************************


-- 
Ne obliviscaris, vix ea nostro voco.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]