cvs version compile error

From: Weiping He <laser(at)zhengmai(dot)com(dot)cn>
To: pgsql-hackers(at)postgresql(dot)org
Subject: cvs version compile error
Date: 2003-07-04 06:58:56
Message-ID: 3F0525B0.6070604@zhengmai.com.cn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hi,

I'm trying to compile pgsql-7.4devl on Solaris8, but got the error
below:

----------------------------------------8<---------------------------------------------------------------------
numeric.c: In function `PGTYPESnumeric_cmp':
numeric.c:1308: `INT_MAX' undeclared (first use in this function)
numeric.c:1308: (Each undeclared identifier is reported only once
numeric.c:1308: for each function it appears in.)
numeric.c:1310: warning: control reaches end of non-void function
numeric.c: In function `PGTYPESnumeric_to_int':
numeric.c:1452: `INT_MAX' undeclared (first use in this function)
numeric.c: In function `PGTYPESnumeric_to_long':
numeric.c:1474: `LONG_MAX' undeclared (first use in this function)
make[4]: *** [numeric.o] Error 1
make[4]: Leaving directory
`/export/home/postdb/pgsql-7.4/pgsql/src/interfaces/ecpg/pgtypeslib'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/export/home/postdb/pgsql-7.4/pgsql/src/interfaces/ecpg'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/export/home/postdb/pgsql-7.4/pgsql/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/home/postdb/pgsql-7.4/pgsql/src'
make: *** [all] Error 2
$ gcc --version
2.95.3
--------------------------------------8<-------------------------------------------------------------------------------------

the source file are just updated from CVS. ISTM a little bug on Solaris8
platform.

Thanks and Regards

Laser

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2003-07-04 08:13:50 Re: Mirro updates
Previous Message Nigel J. Andrews 2003-07-04 06:44:13 Re: Error messages --- now that we've got it, do you like