bug-prolog
[Top][All Lists]
Advanced

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

Bug with glibc patch installed


From: geoff
Subject: Bug with glibc patch installed
Date: Wed, 28 Apr 2004 16:49:36 -0400 (EDT)

Hi,

-----------------------------------------------------------------------------
My first configuration is ...

+ Linux lee.cs.miami.edu 2.4.20-6smp #1 SMP Thu Feb 27 09:59:40 EST 2003 i686 
i686 i386 GNU/Linux
+ glibc version 2.3.2-27.9.7
+ Prolog top-Level (GNU Prolog) 1.2.16
+ Here is the Prolog code I am compiling with gplc ...

    :-op(150,fy,~).
    %--------------------------------------------------------------------
    do:-
        read(It),
        write(It),
        nl,
        halt.
    %--------------------------------------------------------------------
    :-initialization(do).
    %--------------------------------------------------------------------

+ And here's what gplc reports ...

    > gplc Error.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'
    /usr/lib/gprolog-1.2.16/lib/libbips_pl.a(write_supp.o)(.text+0x50f): In 
function `Show_Atom':
    : undefined reference to `__ctype_b'
    /usr/lib/gprolog-1.2.16/lib/libbips_pl.a(scan_supp.o)(.text+0xa86): more 
undefined references to `__ctype_b' follow
    /usr/lib/gprolog-1.2.16/lib/liblinedit.a(linedit.o)(.text+0x10f6): In 
function `LE_FGets':
    : undefined reference to `__ctype_tolower'
    /usr/lib/gprolog-1.2.16/lib/liblinedit.a(linedit.o)(.text+0x1225): In 
function `LE_FGets':
    : undefined reference to `__ctype_toupper'
    /usr/lib/gprolog-1.2.16/lib/liblinedit.a(linedit.o)(.text+0x1cee): In 
function `LE_Get_Key':
    : undefined reference to `__ctype_b'
    /usr/lib/gprolog-1.2.16/lib/liblinedit.a(terminal.o)(.text+0x250): In 
function `Parse_Env_Var':
    : undefined reference to `__ctype_b'
    /usr/lib/gprolog-1.2.16/lib/liblinedit.a(terminal.o)(.text+0x602): In 
function `LE_Get_Char':
    : undefined reference to `__ctype_b'
    collect2: ld returned 1 exit status
    compilation failed

-----------------------------------------------------------------------------
My first configuration is ...
+ Linux duck 2.4.20-6 #1 Thu Feb 27 10:06:59 EST 2003 i686 i686 i386 GNU/Linux
+ glibc version is 2.3.2-5
+ Prolog top-Level (GNU Prolog) 1.2.16
+ Same program as above
+ gplc compiles fine.
-----------------------------------------------------------------------------
  
RedHat introduced the patch for glibc version 2.3.2-27.9.7 to replace
glibc version is 2.3.2-5. We suspect that is the cause of the compile
errors on the first machine.

Thanks for a cool product anyway.

Cheers,

Geoff

Geoff Sutcliffe                           http://www.cs.miami.edu/~geoff
Department of Computer Science            Email : address@hidden
University of Miami                       Phone : +1 305 2842158/2842268
(Director of Undergraduate Studies)       FAX   : +1 305 2842264




reply via email to

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