From: Alexander Diemand <address@hidden>
To: "micheon eubanks" <address@hidden>
Subject: Re: error compiling prolog
Date: Wed, 4 Feb 2004 20:27:32 +0100
Hmm,
I freshly downloaded "good old" gprolog-1.2.16 from INRIA.fr
./configure --prefix=/var/tmp/gnu-prolog
make
configuration output is:
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
This compiles everything just fine.
The assembler version seems to match. Locally installed gcc is 3.3.1.
But that should not matter as the problem is with the assembler code.
Could you please in the directory BipsPl run:
export PATH=../Wam2Ma:../Ma2Asm:$PATH
../TopComp/gplc -v -o bad.S -S utils.wam
What does bad.S looks like?
You should not run this as root. Everything can be done as plain user.
Alex.
On Wednesday 04 February 2004 18:20, micheon eubanks wrote:
> I did run the .configure first. There was no reference to "as" while
> checking utilities.
>
> which as
> /usr/bin/as
>
> as -V
> as: Sun WorkShop 6 99/08/18
>
> Did you run you run the configure and make as ROOT?
> Did you add any prefixes?
>
> sheon
>
> From: Alexander Diemand <address@hidden>
>
> >To: "micheon eubanks" <address@hidden>, address@hidden
> >Subject: Re: error compiling prolog
> >Date: Wed, 4 Feb 2004 10:54:35 +0100
> >
> >Hi
> >
> >I am using gprolog-1.2.16 successfully on a SunOS 5.8 machine.
> >Some points that come to my mind:
> >- did you run ./configure first?
> >- what did it output concerning the assembler version (as) ?
> >- what says "which as" ?
> >- what says "`which as` -V" ?
> >
> >The assembler I found on the system is "/usr/ccs/bin/as: Sun WorkShop 6
> >99/08/18". There might be issues if using gas "GNU assembler".
> >
> >Hope this is a starter
> >
> >Alex.
> >
> >On Wednesday 04 February 2004 01:35, micheon eubanks wrote:
> > > I am receiving the following error when running make from
> > > gprolot-1.2.16
> >
> >on
> >
> > > sparc/solaris machive v5.8:
> > >
> > > gplc -c utils.wam
> > > as: "/var/tmp/gplcmhqMvc.s", line 1055: error: statement syntax
> > > as: "/var/tmp/gplcmhqMvc.s", line 1075: error: missing '('
> > > as: "/var/tmp/gplcmhqMvc.s", line 1075: error: statement syntax
> > > as: "/var/tmp/gplcmhqMvc.s", line 1095: error: statement syntax
> > > as: "/var/tmp/gplcmhqMvc.s", line 1095: error: statement syntax
> > > as: "/var/tmp/gplcmhqMvc.s", line 1105: error: statement syntax
> > > as: "/var/tmp/gplcmhqMvc.s", line 1105: error: statement syntax
> > > compilation failed
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `utils.o'
> > >
> > >
> > > Can someone help me with this?
> > >
> > > sheon
> > >
> > > _________________________________________________________________
> > > High-speed usersbe more efficient online with the new MSN Premium
> >
> >Internet
> >
> > > Software. http://join.msn.com/?pgmarket=en-us&page=byoa/prem&ST=1
> > >
> > >
> > >
> > > _______________________________________________
> > > Users-prolog mailing list
> > > address@hidden
> > > http://mail.gnu.org/mailman/listinfo/users-prolog
>
> _________________________________________________________________
> High-speed usersbe more efficient online with the new MSN Premium
Internet
> Software. http://join.msn.com/?pgmarket=en-us&page=byoa/prem&ST=1