﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
378	build fails due to missing headers	jhoblitt	jhoblitt	"It seems that Solaris 8 does not provide either stdint.h or complex.h.  I
suspect that stdin.h can be replaced with sys/int_types.h but I don't know what
to do about complex.h.

As a side note, this webpage seems to suggest that complex.h is broken:
http://www.gnu.org/software/gcc/c99status.html

gnu99 -I/home/jhoblitt/jhroot/sparc-sun-solaris2.8/include/mysql -DBUILD_PSDB
-I/home/jhoblitt/jhroot/sparc-sun-solaris2.8/include
sys/int_types.h-I/home/jhoblitt/jhroot/sparc-sun-solaris2.8/include/libxml2
-Wall -Werror
-DPS_CONFIG_FILE_DEFAULT=\""/home/jhoblitt/jhroot/sparc-sun-solaris2.8/build/pslib-0.5.0/etc/pslib/psTime.config\""
-O0 -g -std=gnu99 -I/home/jhoblitt/jhroot/sparc-sun-solaris2.8/include/mysql
-DBUILD_PSDB -I/home/jhoblitt/jhroot/sparc-sun-solaris2.8/include
-I/home/jhoblitt/jhroot/sparc-sun-solaris2.8/include/libxml2 -Wall -Werror -MT
psTime.lo -MD -MP -MF .deps/psTime.Tpo -c psTime.c  -fPIC -DPIC -o .libs/psTime.o
In file included from psTime.h:26,
                 from psTime.c:24:
../../src/sysUtils/psType.h:21:21: complex.h: No such file or directory
../../src/sysUtils/psType.h:22:20: stdint.h: No such file or directory
In file included from psTime.h:27,
                 from psTime.c:24:
../../src/image/psImage.h:21:21: complex.h: No such file or directory
psTime.c: In function `cleanString':
psTime.c:89: warning: subscript has type `char'
psTime.c:95: warning: subscript has type `char'
psTime.c: In function `getToken':
psTime.c:117: warning: subscript has type `char'
psTime.c: In function `psTimeToLST':
psTime.c:449: error: `NAN' undeclared (first use in this function)
psTime.c:449: error: (Each undeclared identifier is reported only once
psTime.c:449: error: for each function it appears in.)
psTime.c: In function `psTimeGetUT1Delta':
psTime.c:520: error: `NAN' undeclared (first use in this function)
psTime.c: In function `psTimeGetTAIDelta':
psTime.c:716: error: `NAN' undeclared (first use in this function)
psTime.c: In function `psTimeToJD':
psTime.c:782: error: `NAN' undeclared (first use in this function)
psTime.c: In function `psTimeToMJD':
psTime.c:801: error: `NAN' undeclared (first use in this function)
make[4]: *** [psTime.lo] Error 1
make[4]: Leaving directory
`/home/jhoblitt/jhroot/sparc-sun-solaris2.8/build/pslib-0.5.0/src/astronomy'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/jhoblitt/jhroot/sparc-sun-solaris2.8/build/pslib-0.5.0/src/astronomy'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/jhoblitt/jhroot/sparc-sun-solaris2.8/build/pslib-0.5.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/jhoblitt/jhroot/sparc-sun-solaris2.8/build/pslib-0.5.0/src'
make: *** [all-recursive] Error 1

$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.3.2"	enhancement	closed	high		detrend	0.5.0	minor	later		
