[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question and bug report for gprolog 1.2.14
From: |
Vic Bancroft |
Subject: |
Re: question and bug report for gprolog 1.2.14 |
Date: |
Tue, 10 Sep 2002 23:46:48 -0400 (EDT) |
I am not sure why it is not a problem under MacOS X, but we can not use,
cvs server: Diffing .
Index: bc_supp.h
===================================================================
RCS file: /cvsroot/gprolog/src/src/BipsPl/bc_supp.h,v
retrieving revision 1.5
diff -r1.5 bc_supp.h
49a50,51
> #if defined(M_powerpc_darwin)
>
53a56,61
>
> #else
>
> extern unsigned *byte_code;
>
> #endif
Index: parse_supp.h
===================================================================
RCS file: /cvsroot/gprolog/src/src/BipsPl/parse_supp.h,v
retrieving revision 1.7
diff -r1.7 parse_supp.h
69a70
> #if defined(M_powerpc_darwin)
76a78,83
> #else
>
> extern int last_read_line;
> extern int last_read_col;
>
> #endif
Since the make fails to create pl2wam as follows,
gplc -o pl2wam --no-fd-lib --min-bips pl2wam.o read_file.o bip_list.o
syn_sugar.o internal.o code_gen.o reg_alloc.o inst_codif.o first_arg.o
indexing.o wam_emit.o
/usr/home/bancroft/src/gprolog/src/src/BipsPl/libbips_pl.a(read_c.o): In
function `Last_Read_Start_Line_Column_2':
read_c.o(.text+0x8eb): undefined reference to `last_read_line'
read_c.o(.text+0x905): undefined reference to `last_read_col'
/usr/home/bancroft/src/gprolog/src/src/BipsPl/libbips_pl.a(stream_supp.o): In
function `TTY_Getc':
stream_supp.o(.text+0x630): undefined reference to `last_read_col'
stream_supp.o(.text+0x646): undefined reference to `last_read_line'
stream_supp.o(.text+0x684): undefined reference to `last_read_line'
stream_supp.o(.text+0x68a): undefined reference to `last_read_col'
/usr/home/bancroft/src/gprolog/src/src/BipsPl/libbips_pl.a(stream_supp.o): In
function `Stream_Get_Key':
stream_supp.o(.text+0x94a): undefined reference to `last_read_col'
stream_supp.o(.text+0x95d): undefined reference to `last_read_line'
stream_supp.o(.text+0x980): undefined reference to `last_read_line'
stream_supp.o(.text+0x988): undefined reference to `last_read_col'
/usr/home/bancroft/src/gprolog/src/src/BipsPl/libbips_pl.a(parse_supp.o): In
function `Read_Term':
parse_supp.o(.text+0x28): undefined reference to `last_read_line'
/usr/home/bancroft/src/gprolog/src/src/BipsPl/libbips_pl.a(parse_supp.o): In
function `Parse_Term':
parse_supp.o(.text+0x1c5): undefined reference to `last_read_line'
parse_supp.o(.text+0x1d2): undefined reference to `last_read_line'
parse_supp.o(.text+0x1dc): undefined reference to `last_read_col'
/usr/home/bancroft/src/gprolog/src/src/BipsPl/libbips_pl.a(parse_supp.o): In
function `Read_Token':
parse_supp.o(.text+0xc41): undefined reference to `last_read_line'
parse_supp.o(.text+0xc4b): undefined reference to `last_read_col'
/usr/home/bancroft/src/gprolog/src/src/BipsPl/libbips_pl.a(parse_supp.o): In
function `Read_Atom':
parse_supp.o(.text+0xdfb): undefined reference to `last_read_line'
parse_supp.o(.text+0xe05): undefined reference to `last_read_col'
/usr/home/bancroft/src/gprolog/src/src/BipsPl/libbips_pl.a(parse_supp.o): In
function `Read_Integer':
parse_supp.o(.text+0xe66): undefined reference to `last_read_line'
parse_supp.o(.text+0xe70): undefined reference to `last_read_col'
/usr/home/bancroft/src/gprolog/src/src/BipsPl/libbips_pl.a(parse_supp.o): In
function `Read_Number':
parse_supp.o(.text+0xec9): undefined reference to `last_read_line'
parse_supp.o(.text+0xed3): undefined reference to `last_read_col'
/usr/home/bancroft/src/gprolog/src/src/BipsPl/libbips_pl.a(dynam_supp.o): In
function `Add_Dynamic_Clause':
dynam_supp.o(.text+0x1a2): undefined reference to `byte_code'
dynam_supp.o(.text+0x1ae): undefined reference to `byte_code'
/usr/home/bancroft/src/gprolog/src/src/BipsPl/libbips_pl.a(bc_supp.o): In
function `BC_Stop_Emit_0':
bc_supp.o(.text+0x15a3): undefined reference to `byte_code'
collect2: ld returned 1 exit status
compilation failed
make[1]: *** [pl2wam] Error 1
make[1]: Leaving directory `/usr/home/bancroft/src/gprolog/src/src/Pl2Wam'
make: *** [all] Error 1
It would appear that there are nearly 140 such variables.
address@hidden EnginePl]$ grep "^int.*[^)C];" gprolog.h | wc -l
135
Why are these three problematic ?
more,
l8r,
-------------------------------------------------------------------
Victor Bancroft, Principal Engineer, Zvolve Systems [v]770.551.4505
1050 Crown Pointe Pkwy, Suite 300, Atlanta GA 30338 [f]770.551.4509
Fellow, Artificial Intelligence Center [v]706.542-0358
Athens, Georgia 30602, U.S.A http://ai.uga.edu/~bancroft