Received: from sss.pgh.pa.us (sss.pgh.pa.us [216.151.103.158]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f3QGHU327023; Thu, 26 Apr 2001 12:17:30 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.3/8.11.3) with ESMTP id f3QGGnR16569; Thu, 26 Apr 2001 12:17:29 -0400 (EDT) To: "Andrzej Kwiatkowski" cc: pgsql-admin@postgresql.org, pgsql-ports@postgresql.org Subject: Re: error compiling 7.1 on Solaris 8 x86 (long) In-reply-to: <9c45mv$1qr0$1@news.tht.net> References: <9c45mv$1qr0$1@news.tht.net> Comments: In-reply-to "Andrzej Kwiatkowski" message dated "Tue, 24 Apr 2001 17:21:09 +0200" Date: Thu, 26 Apr 2001 12:16:49 -0400 Message-ID: <16566.988301809@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200104/151 X-Sequence-Number: 1291 "Andrzej Kwiatkowski" 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 ... 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