Re: porting postgrers 8.3 on SCO 5.0.7

Lists: pgsql-ports
From: "Edmundo Robles L(dot)" <erobles(at)sensacd(dot)com(dot)mx>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: porting postgrers 8.3 on SCO 5.0.7
Date: 2008-06-09 18:55:58
Message-ID: 252EE06031407243B058CF7699226E3A0F88C5@mail2.sensacd.com.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-ports

Hello there!

I trying to compile postgres 8.3 on SCO Open Server 5.0.7 but i got an error to compile cash.o:

gmake[4]: Entering directory `/u/erobles/postgresql-8.3.1/src/backend/utils/adt'
cc -b elf -O -I../../../../src/include -I/usr/local/include -c -o cash.o cash.c
"cash.c", line 814: error: invalid token: 100ll
"cash.c", line 814: error: Syntax error before or at: ;
"cash.c", line 815: error: invalid token: 100ll
"cash.c", line 815: error: Syntax error before or at: )
"cash.c", line 816: error: invalid token: 100000ll
"cash.c", line 816: error: Syntax error before or at: )
"cash.c", line 817: error: invalid token: 100000000ll
"cash.c", line 817: error: Syntax error before or at: %
"cash.c", line 818: error: invalid token: 100000000000ll
"cash.c", line 818: error: Syntax error before or at: %
"cash.c", line 819: error: invalid token: 100000000000000ll
"cash.c", line 819: error: Syntax error before or at: %
"cash.c", line 820: error: invalid token: 100000000000000000ll
"cash.c", line 820: error: Syntax error before or at: %
gmake[4]: *** [cash.o] Error 1

i image the cause that is because the cast to long long doesn't exist on cc from SCO.
i'll be glad if you could help with that issue.

Regards from MEXICO!!

Ing. Edmundo Robles Lopez.
Analista Programador.

--
Di NO a la pirateria, usa software libre.
Say NO to piracy, use free(dom) software.


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Edmundo Robles L(dot)" <erobles(at)sensacd(dot)com(dot)mx>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: porting postgrers 8.3 on SCO 5.0.7
Date: 2008-06-09 19:43:55
Message-ID: 26606.1213040635@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-ports

"Edmundo Robles L." <erobles(at)sensacd(dot)com(dot)mx> writes:
> gmake[4]: Entering directory `/u/erobles/postgresql-8.3.1/src/backend/utils/adt'
> cc -b elf -O -I../../../../src/include -I/usr/local/include -c -o cash.o cash.c
> "cash.c", line 814: error: invalid token: 100ll
> "cash.c", line 814: error: Syntax error before or at: ;

Hmm, seems our buildfarm is lacking machines that won't take that
construct, else we'd have noticed this long ago. These should all
be using the INT64CONST() macro.

regards, tom lane