Re: Request for supported platforms - Mailing list pgsql-hackers

From Alessio Bragadini
Subject Re: Request for supported platforms
Date
Msg-id 1036065966.5774.5053.camel@iris
Whole thread Raw
In response to Request for supported platforms  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Request for supported platforms  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Folks. start sending in those plaform reports, OS name and version
> number please.

DOESN'T WORK on Digital Unix/Tru64 4.0g, with both cc or gcc compiler.

Using Compaq C V6.4-216 (dtk) on Digital UNIX V4.0G (Rev. 1530)
Compiler Driver V6.4-013 (dtk) cc Driver:

make[3]: Entering directory
`/usr/local/src/postgresql-7.3b3/src/backend/main'
cc -std -O4 -Olimit 2000 -I../../../src/include -I/usr/local/include  -c
-o main.o main.c
cc: Error: main.c, line 83: In this statement, "errno" is not declared.
(undeclared)               fprintf(stderr, gettext("%s: setsysinfo failed: %s\n"),
argv[0], strerror(errno));
------------------------------------------------------------------------------------------^
make[3]: *** [main.o] Error 1

same with GCC 2.95.1.

make[1]: Entering directory
`/usr/local/src/postgresql-7.3b3-gcc/src/backend/main'
gcc  -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../src/include -I/usr/local/include  -c -o main.o main.c

main.c: In function `main':
main.c:83: `errno' undeclared (first use in this function)
make[1]: *** [main.o] Error 1

So, errno function is undefined.

This is quite strange, because that section hasn't been changed in the
last few months. It's activated from two different #if: one is 
#if defined(__alpha)
other is 
#if defined(NOFIXADE) || defined(NOPRINTADE)
Maybe is the setting of NOFIXADE or NOPRINTADE to be changed upstream?

-- 
Alessio F. Bragadini        alessio@albourne.com
APL Financial Services        http://village.albourne.com
Nicosia, Cyprus             phone: +357-22-755750

"It is more complicated than you think"    -- The Eighth Networking Truth from RFC 1925



pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: float output precision questions
Next
From: "Pedro M. Ferreira"
Date:
Subject: Re: float output precision questions