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]
> >
> As far as I'm aware, you're the first to run Slony-I on a 
> recent HP/UX.
I'm afraid you're verry right here. I don't know if I have to like this
situation. Anyway, we're planning to use Slony-I on about 50 HP/UX machines,
which are used for mission-critical applications.

> A search for "strtoll hp/ux" gives the following as the very 
> first link:
> 
> http://www.mail-archive.com/[email protected]/msg08055.html
> 
> The second link shows what the SAMB project came up with as a 
> workaround for strtoll unavailability on HP/UX...
> 
> http://lists.samba.org/archive/samba-technical/2005-August/042288.html
> 
> If that works, then I'd be glad to contemplate a patch to 
> accommodate this...
> 

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?

Thanks in advance,

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