Hi Thierry,
Below are results obtained on Unix. No problem loading files into gprolog,
but failure to compile:
[EMAIL PROTECTED]:/adtera/users2/krapaul > gprolog
GNU Prolog 1.3.0
By Daniel Diaz
Copyright (C) 1999-2007 Daniel Diaz
| ?- [prep530].
compiling /adtera/users2/krapaul/prep530.pl for byte code...
/adtera/users2/krapaul/prep530.pl:9: warning: singleton variables [W] for
chkforpuncttag/2
/adtera/users2/krapaul/prep530.pl compiled, 85 lines read - 14060 bytes
written, 18 ms
yes
| ?- halt.
[EMAIL PROTECTED]:/adtera/users2/krapaul > gplc prep530.pl
prep530.pl:9: warning: singleton variables [W] for chkforpuncttag/2
/tmp/gplcOWJSKa.o(.text+0x682): In function `predicate(write_list/2)':
: undefined reference to `predicate(chkforpunct/2)'
/tmp/gplcOWJSKa.o(.text+0xa1d): In function `Lpred6_1':
: undefined reference to `predicate(is_list/1)'
/tmp/gplcOWJSKa.o(.text+0xad2): In function `predicate(write_list/3)':
: undefined reference to `predicate(chkforpunct/2)'
/tmp/gplcOWJSKa.o(.text+0xfc2): In function `predicate(charsinlist/2)':
: undefined reference to `predicate(chkforpunct/2)'
/tmp/gplcOWJSKa.o(.text+0x11f5): In function `predicate(upper_first/2)':
: undefined reference to `predicate(is_alpha/1)'
/tmp/gplcOWJSKa.o(.text+0x13cb): In function `Lpred13_5':
: undefined reference to `predicate(write_sentences/1)'
/tmp/gplcOWJSKa.o(.text+0x14b5): In function `predicate(write_terms/1)':
: undefined reference to `predicate(chkforpunct/2)'
collect2: ld returned 1 exit status
compilation failed
[EMAIL PROTECTED]:/adtera/users2/krapaul >
On Thu, 24 Apr 2008, Thierry Martinez wrote:
Pauline Kra:
C:\RAPPORT\gnutesting>gplc prep530.pl
input file already specified (and)
compilation failed
C:\RAPPORT\gnutesting>gplc lexsemact.pl
input file already specified (and)
compilation failed
You can try "gplc -v prep530.pl" and "gplc -v lexsemact.pl" instead.
Perhaps the output of these two commands may help us to understand
this error.
--
Thierry.
_______________________________________________
Users-prolog mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/users-prolog