users-prolog
[Top][All Lists]
Advanced

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

building gprolog-1.2.16


From: Bill McEnaney
Subject: building gprolog-1.2.16
Date: Mon, 31 May 2004 12:59:47 -0600 (MDT)

Hi, Everybody,

I'm a new subscriber named "Bill."  Please help me build gprolog-1.2.16
on my Sunblade 100 workstation. 

Each time I try to build gprolog-1.2.16 with gcc-3.4.0, Sun's assembler,
as, complains about an ASCII 0x37, the digit "7."  Does anyone know why
"as" is doing that and how to solve the problem?  I'm attaching a file
containing as's complaint.

Thanks so much for your help.

Bill



________________________________________________________________
"Pro-choice?"  Then click here.
http://cathinsight.com/morality/saying.htm

If a pastor remains silent when he sees God insulted and souls going
astray, woe to him.  If he does not want to be damned, and if there is
some disorder in his parish, he must trample upon human respect and fear
of being despised or hated. --  Pope John Paul II



________________________________________________________________
"Pro-choice?"  Then click here.
http://cathinsight.com/morality/saying.htm

If a pastor remains silent when he sees God insulted and souls going
astray, woe to him.  If he does not want to be damned, and if there is
some disorder in his parish, he must trample upon human respect and fear
of being despised or hated. --  Pope John Paul II
Script started on Mon 31 May 2004 02:21:17 PM EDT
%gmake

(cd EnginePl; gmake config)
gmake[1]: Entering directory `/home/bill/gprolog-1.2.16/src/EnginePl'
gcc -O3 -fomit-frame-pointer  -o pl_config pl_config.c
./pl_config

        -------------------------------
        --- GNU PROLOG INSTALLATION ---
        -------------------------------

GNU Prolog version: 1.2.16 (Sep 19 2002)
Operating system  : solaris2.8
Processor         : sparc
Size of a word    : 32 bits
C compiler        : gcc
C flags           : -O3 -fomit-frame-pointer
C flags machine   : 
Loader flags      : 
Loader libraries  : -lm -lsocket -lnsl
Use line editor   : Yes
Use piped consult : Yes
Use sockets       : Yes
Use FD solver     : Yes
Use machine regs. : Yes
Used register(s)  : g6 g7 

        ------------------------------

(cd ../TopComp; gmake gplc)
gmake[2]: Entering directory `/home/bill/gprolog-1.2.16/src/TopComp'
gcc -O3 -fomit-frame-pointer -o gplc top_comp.c -lm -lsocket -lnsl
gmake[2]: Leaving directory `/home/bill/gprolog-1.2.16/src/TopComp'
gmake[1]: Leaving directory `/home/bill/gprolog-1.2.16/src/EnginePl'
. ./SETVARS;for i in TopComp EnginePl Wam2Ma Ma2Asm Linedit BipsPl Pl2Wam Fd2C 
EngineFD BipsFD;do (cd $i; gmake) || exit 1; done;\
(cd TopComp; gmake gprolog)
gmake[1]: Entering directory `/home/bill/gprolog-1.2.16/src/TopComp'
gcc -O3 -fomit-frame-pointer -o hexgplc hexfilter.c
gmake[1]: Leaving directory `/home/bill/gprolog-1.2.16/src/TopComp'
gmake[1]: Entering directory `/home/bill/gprolog-1.2.16/src/EnginePl'
gcc -O3 -fomit-frame-pointer  -o cpp_headers cpp_headers.c
D=`(cd ..;for i in *;do test -d $i && X="$X 
/home/bill/gprolog-1.2.16/src/$i";done;echo $X)`; ./cpp_headers headers.h 
gprolog.h $D
gplc -c -C '-O3 -fomit-frame-pointer' obj_begin.c
gplc -c -C '-O3 -fomit-frame-pointer' obj_end.c
gplc -c -C '-O3 -fomit-frame-pointer' machine.c
machine.c: In function `M_Allocate_Stacks':
machine.c:325: warning: passing arg 1 of `munmap' from incompatible pointer type
gplc -c -C '-O3 -fomit-frame-pointer' machine1.c
gplc -c -C '-O3 -fomit-frame-pointer' mem_alloc.c
gplc -c -C '-O3 -fomit-frame-pointer' misc.c
gplc -c -C '-O3 -fomit-frame-pointer' hash.c
gplc -c -C '-O3 -fomit-frame-pointer' obj_chain.c
gplc -c -C '-O3 -fomit-frame-pointer' engine.c
engine.c: In function `Call_Prolog':
engine.c:318: warning: use of cast expressions as lvalues is deprecated
engine.c:335: warning: use of cast expressions as lvalues is deprecated
engine.c: In function `Call_Prolog_Next_Sol':
engine.c:355: warning: use of cast expressions as lvalues is deprecated
engine.c:363: warning: use of cast expressions as lvalues is deprecated
engine.c: In function `Keep_Rest_For_Prolog':
engine.c:384: warning: use of cast expressions as lvalues is deprecated
engine.c:390: warning: use of cast expressions as lvalues is deprecated
gplc -c engine1.c
gplc -c -C '-O3 -fomit-frame-pointer' wam_inst.c
wam_inst.c: In function `Allocate':
wam_inst.c:911: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:913: warning: use of cast expressions as lvalues is deprecated
wam_inst.c: In function `Create_Choice_Point':
wam_inst.c:1277: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1277: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1277: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1277: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1277: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1277: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1277: warning: use of cast expressions as lvalues is deprecated
wam_inst.c: In function `Create_Choice_Point1':
wam_inst.c:1289: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1289: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1289: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1289: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1289: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1289: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1289: warning: use of cast expressions as lvalues is deprecated
wam_inst.c: In function `Create_Choice_Point2':
wam_inst.c:1300: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1300: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1300: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1300: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1300: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1300: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1300: warning: use of cast expressions as lvalues is deprecated
wam_inst.c: In function `Create_Choice_Point3':
wam_inst.c:1312: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1312: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1312: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1312: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1312: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1312: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1312: warning: use of cast expressions as lvalues is deprecated
wam_inst.c: In function `Create_Choice_Point4':
wam_inst.c:1325: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1325: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1325: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1325: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1325: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1325: warning: use of cast expressions as lvalues is deprecated
wam_inst.c:1325: warning: use of cast expressions as lvalues is deprecated
wam_inst.c: In function `Update_Choice_Point':
wam_inst.c:1346: warning: use of cast expressions as lvalues is deprecated
wam_inst.c: In function `Update_Choice_Point1':
wam_inst.c:1358: warning: use of cast expressions as lvalues is deprecated
wam_inst.c: In function `Update_Choice_Point2':
wam_inst.c:1369: warning: use of cast expressions as lvalues is deprecated
wam_inst.c: In function `Update_Choice_Point3':
wam_inst.c:1381: warning: use of cast expressions as lvalues is deprecated
wam_inst.c: In function `Update_Choice_Point4':
wam_inst.c:1394: warning: use of cast expressions as lvalues is deprecated
gplc -c -C '-O3 -fomit-frame-pointer' atom.c
gplc -c -C '-O3 -fomit-frame-pointer' pred.c
gplc -c -C '-O3 -fomit-frame-pointer' oper.c
gplc -c -C '-O3 -fomit-frame-pointer' if_no_fd.c
gplc -c -C '-O3 -fomit-frame-pointer' main.c
rm -f libengine_pl.a 
ar rc  libengine_pl.a machine.o machine1.o mem_alloc.o misc.o hash.o 
obj_chain.o engine.o engine1.o wam_inst.o atom.o pred.o oper.o if_no_fd.o main.o
ranlib libengine_pl.a
gmake[1]: Leaving directory `/home/bill/gprolog-1.2.16/src/EnginePl'
gmake[1]: Entering directory `/home/bill/gprolog-1.2.16/src/Wam2Ma'
gcc -O3 -fomit-frame-pointer -c wam2ma.c
gcc -O3 -fomit-frame-pointer -c wam_parser.c
gcc -O3 -fomit-frame-pointer -o wam2ma wam2ma.o wam_parser.o
gmake[1]: Leaving directory `/home/bill/gprolog-1.2.16/src/Wam2Ma'
gmake[1]: Entering directory `/home/bill/gprolog-1.2.16/src/Ma2Asm'
gcc -O3 -fomit-frame-pointer -c ma2asm.c
gcc -O3 -fomit-frame-pointer -c ma_parser.c
gcc -O3 -fomit-frame-pointer -c ma2asm_inst.c
gcc -O3 -fomit-frame-pointer -o ma2asm ma2asm.o ma2asm_inst.o ma_parser.o
gmake[1]: Leaving directory `/home/bill/gprolog-1.2.16/src/Ma2Asm'
gmake[1]: Entering directory `/home/bill/gprolog-1.2.16/src/Linedit'
gcc -c -O3 -fomit-frame-pointer linedit.c
gcc -c -O3 -fomit-frame-pointer terminal.c
gcc -c -O3 -fomit-frame-pointer ctrl_c.c
rm -f liblinedit.a
ar rc  liblinedit.a linedit.o terminal.o ctrl_c.o
ranlib liblinedit.a     
gmake[1]: Leaving directory `/home/bill/gprolog-1.2.16/src/Linedit'
gmake[1]: Entering directory `/home/bill/gprolog-1.2.16/src/BipsPl'
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' error_supp.c 
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' c_supp.c 
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' foreign_supp.c 
foreign_supp.c: In function `Pl_Query_End':
foreign_supp.c:406: warning: use of cast expressions as lvalues is deprecated
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' pred_supp.c 
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' term_supp.c 
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' stream_supp.c 
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' scan_supp.c 
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' parse_supp.c 
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' write_supp.c 
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' dynam_supp.c 
dynam_supp.c: In function `Clean_Erased_Clauses':
dynam_supp.c:604: warning: use of cast expressions as lvalues is deprecated
dynam_supp.c:604: warning: use of cast expressions as lvalues is deprecated
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' callinf_supp.c 
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' bc_supp.c 
gplc -c foreign.wam
gplc -c pl_error.wam
gplc -c utils.wam
gplc -c unify.wam
gplc -c assert.wam
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' assert_c.c 
gplc -c read.wam
as: "/var/tmp/gplcQ8S9wc.s", line 1803: error: invalid character (0x37)
as: "/var/tmp/gplcQ8S9wc.s", line 1803: error: unknown opcode "c_ret"
as: "/var/tmp/gplcQ8S9wc.s", line 1803: error: statement syntax
as: "/var/tmp/gplcQ8S9wc.s", line 1806: error: invalid character (0x37)
as: "/var/tmp/gplcQ8S9wc.s", line 1806: error: unknown opcode "c_code"
as: "/var/tmp/gplcQ8S9wc.s", line 1806: error: statement syntax
as: "/var/tmp/gplcQ8S9wc.s", line 1814: error: invalid character (0x37)
as: "/var/tmp/gplcQ8S9wc.s", line 1814: error: unknown opcode "c_ret"
as: "/var/tmp/gplcQ8S9wc.s", line 1814: error: statement syntax
as: "/var/tmp/gplcQ8S9wc.s", line 1817: error: invalid character (0x37)
as: "/var/tmp/gplcQ8S9wc.s", line 1817: error: unknown opcode "c_code"
as: "/var/tmp/gplcQ8S9wc.s", line 1817: error: statement syntax
as: "/var/tmp/gplcQ8S9wc.s", line 1825: error: invalid character (0x37)
as: "/var/tmp/gplcQ8S9wc.s", line 1825: error: unknown opcode "c_ret"
as: "/var/tmp/gplcQ8S9wc.s", line 1825: error: statement syntax
compilation failed
gmake[1]: *** [read.o] Error 1
gmake[1]: Leaving directory `/home/bill/gprolog-1.2.16/src/BipsPl'
gmake: *** [all] Error 1
%
script done on Mon 31 May 2004 02:23:06 PM EDT

reply via email to

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