Reinier Suurenbroek wrote:

> Christopher Browne wrote:
>
> [snip]
>   
>>> I'm trying to compile slony 1.2.6 against PG 8.2.3 on HP/UX 11.11
>>> PA-RISC. Compiling PG ran without any problems. Running configure 
>>> still no problems. Then, after running gmake distclean, gmake ends 
>>> with error 2: 
>>>
>>> /usr/ccs/bin/ld: Unsatisfied symbols: 
>>>    strtoll (first referenced in cleanup_thread.o) (code)
>>> collect2: ld returned 1 exit status 
>>>       
[snip]
> Last week I tried to understand the solution mentioned in the second 
> link. Since I'm not a C-programmer that didn't work out. I changed 
> strtoll into strtol and compiled again: no more errors. I discovered 
> hp/ux's stdlib.h didn't contain strtoll, so I tried to install a GNU 
> stdio.h. That didn't work either, so I am afraid I have to for some 
> more help. Is it possible to change strtoll into strtol without 
> braking the software?
>   
[snip]


Today I have added
     #include <inttypes.h>
into src/slon/cleanup_thread.c I've changed
     strtoll(
into
     __strtoll(
and compiled without any error. Can someone out there tell me if this is 
the right solution? Or can even someone tell me how to check slony-1 to 
see it is still funcioning well after my changes?

TIA,

Reinier Suurenbroek
***************************DISCLAIMER*********************************
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n).
Verstrekking aan en gebruik door anderen is niet toegestaan.
De afzender sluit iedere aansprakelijkheid uit die voortvloeit uit
electronische verzending.

This e-mail is intended exclusively for the addressee(s), and may
not be passed on to, or made available for use by any person
other than the addressee(s).
The sender rules out any and every liability resulting from any
electronic transmission.
**********************************************************************


_______________________________________________
Slony1-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/slony1-general

Reply via email to