FAQ
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.

Search Discussions

  • Tom Lane at Jun 9, 2008 at 7:44 pm

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-ports @
categoriespostgresql
postedJun 9, '08 at 7:15p
activeJun 9, '08 at 7:44p
posts2
users2
websitepostgresql.org
irc#postgresql

2 users in discussion

Tom Lane: 1 post Edmundo Robles L.: 1 post

People

Translate

site design / logo © 2022 Grokbase