Re: [ADMIN] error compiling 7.1 on Solaris 8 x86 (long)
От | Tom Lane |
---|---|
Тема | Re: [ADMIN] error compiling 7.1 on Solaris 8 x86 (long) |
Дата | |
Msg-id | 16566.988301809@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | error compiling 7.1 on Solaris 8 x86 (long) ("Andrzej Kwiatkowski" <szerpcho@poczta.onet.pl>) |
Список | pgsql-ports |
"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
В списке pgsql-ports по дате отправления: