bug-prolog
[Top][All Lists]
Advanced

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

gplc link errors


From: Chris Nettleton
Subject: gplc link errors
Date: Thu, 17 Mar 2005 17:24:51 +0000
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

* The type of machine you are using (use uname -a under Unix).

Linux ccfn 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386 GNU/Linux

(This is RedHat 4 running on PC)


* GNU $ gprolog --version

Prolog top-Level (GNU Prolog) 1.2.16
By Daniel Diaz
Prolog version (use gprolog --version).



* The operands given to the `configure' and the output of the configuration if the bug concerns the compilation/installation phase.

Unknown, downloaded binary from web site.


* The complete text of any files needed to reproduce the bug. Try to obtain a minimal example showing the bug.

$ more hello.pl
hello :-
   putstr("Hello world").

putstr([]).
putstr([C|CS]) :-
   put(C),
   putstr(CS).



* The precise commands we need to type to reproduce the bug.

$ gplc hello.pl


* A description of what behavior you observe that you believe is incorrect.

$ gplc hello.pl
/usr/lib/gprolog-1.2.16/lib/libbips_pl.a(atom_c.o)(.text+0x1136): In function `Lower_Upper_2':
: undefined reference to `__ctype_toupper'
/usr/lib/gprolog-1.2.16/lib/libbips_pl.a(atom_c.o)(.text+0x1177): In function `Lower_Upper_2':
: undefined reference to `__ctype_tolower'
/usr/lib/gprolog-1.2.16/lib/libbips_pl.a(le_interf_c.o)(.text+0x7b): In function `Add_Linedit_Completion_1':
: undefined reference to `__ctype_b'
/usr/lib/gprolog-1.2.16/lib/libbips_pl.a(pred_supp.o)(.text+0xc4): In function `Father_Pred_Of_Aux':
: undefined reference to `__ctype_b'
/usr/lib/gprolog-1.2.16/lib/libbips_pl.a(pred_supp.o)(.text+0x170): In function `Detect_If_Aux_Name':
: undefined reference to `__ctype_b'
/usr/lib/gprolog-1.2.16/lib/libbips_pl.a(parse_supp.o)(.text+0x4c6): In function `Parse_Term':
: undefined reference to `__ctype_b'
.... etc


* If you wish to mention something in the GNU Prolog source, show the line of code with a few lines of context. Do not just give a line number.


Runs OK on gprolog. There seems to be an incompatibility between the include file used to build the prolog libraries and the libraries in RHEL 4.

$ rpm -q glibc
glibc-2.3.4-2


Best regards


--
Chris Nettleton
Managing Consulant
XGC Software
Tel: +44 1483 234821
Fax: +44 1473 237153
Web: www.xgc.com





reply via email to

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