PROBLEM on SOLARIS - Mailing list pgsql-hackers

From Chris Bitmead
Subject PROBLEM on SOLARIS
Date
Msg-id 394D7976.88C5AEA9@nimrod.itg.telecom.com.au
Whole thread Raw
Responses Re: PROBLEM on SOLARIS  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Current cvs compiled on Solaris gives the following error...

In file included from ../../include/tcop/tcopprot.h:22,                from pg_proc.c:26:
/usr/include/setjmp.h:70: conflicting types for `jmp_buf'
/usr/include/setjmp.h:53: previous declaration of `jmp_buf'
gmake[3]: *** [pg_proc.o] Error 1


The problem comes from src/include/config.h which defines...

#ifndef HAVE_SIGSETJMP
# define sigjmp_buf jmp_buf
# define sigsetjmp(x,y) setjmp(x)
# define siglongjmp longjmp
#endif

which redefines jmp_buf in conflict with solaris. Solaris appears to
have sigsetjmp, but I don't know the cause of the problem beyond that.


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: OK, OK, Hiroshi's right: use a seperately-generated filename
Next
From: Bruce Momjian
Date:
Subject: Re: Big 7.1 open items