From: | "Belbin, Peter" <PBelbin(at)McLeodUSA(dot)com> |
---|---|
To: | "'pgsql-bugs(at)postgresql(dot)org'" <pgsql-bugs(at)postgresql(dot)org> |
Subject: | solaris 10 with gcc 3.3.2 |
Date: | 2004-12-06 22:43:26 |
Message-ID: | DAC7935736BD9F4AAC601EE021D1B23403D4C12D@txhouexch01.mcld.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Should I be able to compile with gcc 3.3.2 (from sunfreeware) on solaris 10?
I'm using sparc, and am getting some strange looking compiler errors when
trying to do the make.
I'm getting some compiler parse errors when compiling exec.c.
make -C doc all
make[1]: Entering directory
`/export/home/pbelbin/projects/postgresql-8.0.0beta5/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/export/home/pbelbin/projects/postgresql-8.0.0beta5/doc'
make -C src all
make[1]: Entering directory
`/export/home/pbelbin/projects/postgresql-8.0.0beta5/src'
make -C port all
make[2]: Entering directory
`/export/home/pbelbin/projects/postgresql-8.0.0beta5/src/port'
gcc -DPOSIX -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels
-fno-strict-aliasing -I../../src/port -DFRONTEND -I../../src/include -c -o
exec.o exec.c
In file included from /usr/include/sys/wait.h:24,
from exec.c:26:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/sys/procset.h:24,
from /usr/include/sys/wait.h:25,
from exec.c:26:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from exec.c:26:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
make[2]: *** [exec.o] Error 1
make[2]: Leaving directory
`/export/home/pbelbin/projects/postgresql-8.0.0beta5/src/port'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/export/home/pbelbin/projects/postgresql-8.0.0beta5/src'
make: *** [all] Error 2
NOTICE: This electronic mail transmission may contain confidential
information and is intended only for the person(s) named. Any use, copying
or disclosure by any other person is strictly prohibited. If you have
received this transmission in error, please notify the sender via e-mail.
From | Date | Subject | |
---|---|---|---|
Next Message | Frank van Vugt | 2004-12-06 23:13:44 | Re: "invalid memory alloc request size <n>" in deferred trigger causes transaction to fail, but the backend keeps running |
Previous Message | Ed L. | 2004-12-06 20:43:35 | Re: serial drop error |