[Pgpool-general] compiling pgpool 3.0
Edmundo Robles L.
erobles at sensacd.com.mx
Mon Oct 4 21:35:29 UTC 2010
Hi!
I'm trying to compile pgpool 3.0 on SCO gcc 5.0.7 with gcc (2.95.2 yes is too old :-P ) , but at file pool_lobj.c
in the function pool_search_relcache; i get the following error:
pool_lobj.c: 111: `intptr_t 'undeclared (first use in this function)
I found the intptr_t is used for portability, but is not defined in SCO.
Can i delete the use of intpr_t safely?
I mean can i change this:
lo_creat_oid = (int) (intptr_t) pool_search_relcache (....
by:
lo_creat_oid = (int) pool_search_relcache (....
Check the size of lo_creat_oid and returned for ntohl;
and are equal.
More information about the Pgpool-general
mailing list