Re: [HACKERS] Installation on SGI IRIX 6.5.10

2001-05-15 Thread G. Anthony Reina
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

Re: [HACKERS] Installation on SGI IRIX 6.5.10

2001-05-14 Thread Tom Lane
"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

Re: [HACKERS] Installation on SGI IRIX 6.5.10

2001-05-14 Thread Tom Lane
"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

Re: [HACKERS] Installation on SGI IRIX 6.5.10

2001-05-14 Thread G. Anthony Reina
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

Re: [HACKERS] Installation on SGI IRIX 6.5.10

2001-05-14 Thread G. Anthony Reina
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.

Re: [HACKERS] Installation on SGI IRIX 6.5.10

2001-05-14 Thread Tom Lane
"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

Re: [HACKERS] Installation on SGI IRIX 6.5.10

2001-05-14 Thread G. Anthony Reina
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

Re: [HACKERS] Installation on SGI IRIX 6.5.10

2001-05-12 Thread Tom Lane
"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

[HACKERS] Installation on SGI IRIX 6.5.10

2001-05-11 Thread G. Anthony Reina
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 "