Skip site navigation (1) Skip section navigation (2)

Re: error compiling 7.1 on Solaris 8 x86 (long)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrzej Kwiatkowski" <szerpcho(at)poczta(dot)onet(dot)pl>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-ports(at)postgresql(dot)org
Subject: Re: error compiling 7.1 on Solaris 8 x86 (long)
Date: 2001-04-26 16:16:49
Message-ID: 16566.988301809@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-generalpgsql-ports
"Andrzej Kwiatkowski" <szerpcho(at)poczta(dot)onet(dot)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

In response to

pgsql-ports by date

Next:From: Richard ChurchDate: 2001-04-28 11:48:36
Subject: Does Postgres 7.1 work on Redhat 5.2?
Previous:From: J.H.M. Dassen RayDate: 2001-04-26 15:49:14
Subject: Re: error compiling 7.1 on Solaris 8 x86 (long)

pgsql-admin by date

Next:From: Tom LaneDate: 2001-04-26 16:18:17
Subject: Re: 7.1 performance
Previous:From: Mikheev, VadimDate: 2001-04-26 15:54:12
Subject: RE: 7.1 performance

pgsql-general by date

Next:From: Jan WieckDate: 2001-04-26 16:22:30
Subject: Re: Re: Why Size Of Data Backed Up Varies Significantly In SQL 6.5?
Previous:From: Marko KreenDate: 2001-04-26 16:13:59
Subject: Re: crypt(table.field) ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group