solaris 10 with gcc 3.3.2
От | Belbin, Peter |
---|---|
Тема | solaris 10 with gcc 3.3.2 |
Дата | |
Msg-id | DAC7935736BD9F4AAC601EE021D1B23403D4C12D@txhouexch01.mcld.net обсуждение исходный текст |
Ответы |
Re: solaris 10 with gcc 3.3.2
(Tom Lane <tgl@sss.pgh.pa.us>)
|
Список | 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.
В списке pgsql-bugs по дате отправления: