porting postgrers 8.3 on SCO 5.0.7

View: New views
2 Messages — Rating Filter:   Alert me  

porting postgrers 8.3 on SCO 5.0.7

by erobles :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.


--
Sent via pgsql-ports mailing list (pgsql-ports@...)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-ports

Re: porting postgrers 8.3 on SCO 5.0.7

by Tom Lane-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Edmundo Robles L." <erobles@...> 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

--
Sent via pgsql-ports mailing list (pgsql-ports@...)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-ports