pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrzej Kwiatkowski <szerpcho@poczta.onet.pl>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-ports@postgresql.org
Subject: Re: error compiling 7.1 on Solaris 8 x86 (long)
Date: Thu, 26 Apr 2001 12:16:49 -0400
Message-ID: <16566.988301809@sss.pgh.pa.us> (raw)
In-Reply-To: <9c45mv$1qr0$1@news.tht.net>
References: <9c45mv$1qr0$1@news.tht.net>

"Andrzej Kwiatkowski" <szerpcho@poczta.onet.pl> writes:
> When i try to compile postgresql on solaris 8/ x86
> i get following:

> gcc  -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/inc
> lude   -c -o float.o float.c
> float.c: In function `CheckFloat4Val':
> float.c:149: warning: type mismatch in implicit declaration for built-in
> function `fabs'
> float.c: In function `float8in':
> float.c:253: `HUGE_VAL' undeclared (first use in this function)
> float.c:253: (Each undeclared identifier is reported only once
> float.c:253: for each function it appears in.)
> float.c: In function `float8out':
> float.c:279: warning: implicit declaration of function `isnan'
> float.c: In function `dtrunc':
> float.c:944: warning: implicit declaration of function `floor'
> float.c: In function `dsqrt':
> float.c:964: warning: type mismatch in implicit declaration for built-in
> function `sqrt'
> [etc]

Very curious.  Seems like something is badly broken with your <math.h>
... all that stuff should be declared in math.h, which is certainly
imported by float.c.  Any Solaris folk have an idea what might have
gone wrong?

			regards, tom lane



view thread (3+ messages)

Message-ID: <16566.988301809@sss.pgh.pa.us>
Permalink:  ../16566.988301809@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16566.988301809@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, szerpcho@poczta.onet.pl, pgsql-ports@postgresql.org
  Subject: Re: error compiling 7.1 on Solaris 8 x86 (long)
  In-Reply-To: <16566.988301809@sss.pgh.pa.us>
  References: <9c45mv$1qr0$1@news.tht.net> <16566.988301809@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox