PROBLEM on SOLARIS

From: Chris Bitmead <chrisb(at)nimrod(dot)itg(dot)telstra(dot)com(dot)au>
To: "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: PROBLEM on SOLARIS
Date: 2000-06-19 01:37:58
Message-ID: 394D7976.88C5AEA9@nimrod.itg.telecom.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-06-19 03:13:44 Re: Big 7.1 open items
Previous Message Bruce Momjian 2000-06-19 01:03:08 Re: OK, OK, Hiroshi's right: use a seperately-generated filename