Re: Users-prolog Digest, Vol 108, Issue 8

Duncan Patton a Campbell <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
Howdy Daniel?  

On OpenBSD 386 I get a compilation error when making the 
fast math part of the build...
 
uname -a
OpenBSD obsd.neotext.ca 5.0 GENERIC#0 i386

# pwd
/usr/local/stars/gprolog-1.4.1/src
# ./configure 
... [ok]
# gmake
.... [ok 2 here]
gmake[1]: Leaving directory `/usr/local/stars/gprolog-1.4.1/src/Pl2Wam'
gmake[1]: Entering directory `/usr/local/stars/gprolog-1.4.1/src/Fd2C'
gplc -c --fast-math fd2c.pl
gplc -c --fast-math read_file.pl
gplc -c --fast-math parse.pl
sbrk: grow 16384 failed, error = 12

Fatal Error: Memory allocation fault (calloc) in hash.c:131
compilation failed
gmake[1]: *** [parse.o] Error 1
gmake[1]: Leaving directory `/usr/local/stars/gprolog-1.4.1/src/Fd2C'
gmake: *** [all] Error 1
#

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.

Dhu


On Fri, 29 Jun 2012 12:00:36 -0400
[email protected] wrote:

> Send Users-prolog mailing list submissions to
> 	[email protected]
> 
> 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
> 	[email protected]
> 
> You can reach the person managing the list at
> 	[email protected]
> 
> 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 <[email protected]>
> To: gnu prolog mailling list <[email protected]>
> Subject: GNU Prolog 1.4.1 is released
> Message-ID: <[email protected]>
> 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
> [email protected]
> https://lists.gnu.org/mailman/listinfo/users-prolog
> 
> 
> End of Users-prolog Digest, Vol 108, Issue 8
> ********************************************


-- 
Ne obliviscaris, vix ea nostro voco.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.