Tom Lane wrote:
>
> That absolutely should NOT be necessary; there should be a proper
> extern declaration of strdup visible. Perhaps it should be added
> to include/port/irix5.h (cf port/nextstep.h).
>
> regards, tom lane
Just to make sure, I tried compiling on another
"G. Anthony Reina" <[EMAIL PROTECTED]> writes:
> which is how it looks to be used in async.c. I simply added a specific
> type-cast:
> notifyName = (char *) strdup(relname);
That absolutely should NOT be necessary; there should be a proper
extern declaration of strdup visible. Perhaps it should
"G. Anthony Reina" <[EMAIL PROTECTED]> writes:
> There's a new problem with async.c:
> cc-1515 cc: ERROR File = async.c, Line = 172
> A value of type "int" cannot be assigned to an entity of type "char
> *".
> notifyName = strdup(relname);
>^
Eviden
Tom Lane wrote:
> > #if _XOPEN4UX || defined(_BSD_TYPES) || defined(_BSD_COMPAT)
>
> Next thought is that maybe none of these control symbols are defined
> by default --- could you look into that possibility? Perhaps some
> compiler switches or #defines are needed to get IRIX to allow
> "struct
Tom Lane wrote:
> Evidently IRIX also considers strdup() to be nonstandard :-(
>
> It's hard to believe that SGI is quite this braindead. I think there is
> something broken about configure on your setup. Can't tell what from
> here --- suggest you call in some IRIX gurus.
>
Yep. So goes SGI.
"G. Anthony Reina" <[EMAIL PROTECTED]> writes:
> Tom Lane wrote:
>> Hm. Which system header file defines struct timeval on IRIX?
>> I'd expect or , but maybe they keep it
>> someplace unusual.
> In /usr/include/sys/time.h:
> #if _XOPEN4UX || defined(_BSD_TYPES) || defined(_BSD_COMPAT)
Next th
Tom Lane wrote:
> > cc-1070 cc: ERROR File = xact.c, Line = 696
> > The indicated type is incomplete.
>
> > struct timeval delay;
> >^
>
> Hm. Which system header file defines struct timeval on IRIX?
> I'd expect or , but maybe t
"G. Anthony Reina" <[EMAIL PROTECTED]> writes:
> In addition to my RedHat 6.2 server, I'm installing Postgres 7.1.1 on an
> SGI O2 (IRIX 6.5.10). The configure works, but the 'gmake all' fails
> when it tries to compile 'xact.c':
> cc-1521 cc: WARNING File = /usr/include/setjmp.h, Line = 26
> A
In addition to my RedHat 6.2 server, I'm installing Postgres 7.1.1 on an
SGI O2 (IRIX 6.5.10). The configure works, but the 'gmake all' fails
when it tries to compile 'xact.c':
cc-1521 cc: WARNING File = /usr/include/setjmp.h, Line = 26
A nonstandard preprocessing directive is used.
#ident "