# make
(make 시 에러가 날 경우가 있습니다.
반드시 make distclean 하셔서 작업전 초기 상태로 되돌리시고 다시 ./configure 하셔야 합니다.........)
In file included from /usr/include/sys/signal.h:34,
from /usr/include/signal.h:26,
from readline.c:50:
/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/signal.h:26,
from readline.c:50:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from readline.c:50:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
make[2]: *** [readline.o] Error 1
make[2]: Leaving directory `/src/mysql-4.0.22/readline'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/mysql-4.0.22'
make: *** [all] Error 2
< make 실행시 위 에러가 계속나서 썬 사이트에서 문서를 찾아봤습니다. 반드시 이 문서 잘 읽어보시고 적용해주세요...... >
************************************
** gcc-3.3.2-sol10-sparc-local.gz **
************************************
The GNU C compiler and related programs - installs in /usr/local.
This package includes the GNU C, C++, g77, Java, and OBJC compiler suites and support files.
The Gnat ada programs are not included yet.
When needed and the source code supports it, this C compiler can create 64-bit executables via the -m64 flag as well as the usual 32-bit ones.
It was compiled to use the SUN assembler and loader usually in /usr/ccs/bin if the SUNW developer packages are installed.
This gcc package requires the installation of libiconv.
Note that this version of gcc was created on build 60 of Solaris 10.
If you are using a higher version, you will need to redo some of the header files. This is done by doing the following steps:
cd /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools/
Put the line SHELL=/bin/sh on the first line of the mkheaders.conf
file. Then run
./mkheaders
This will correct some files and make the build 60 gcc usable on
higher builds. I have tested this on build 72 and it works fine.
(make 시 에러가 날 경우가 있습니다.
반드시 make distclean 하셔서 작업전 초기 상태로 되돌리시고 다시 ./configure 하셔야 합니다.........)
In file included from /usr/include/sys/signal.h:34,
from /usr/include/signal.h:26,
from readline.c:50:
/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/signal.h:26,
from readline.c:50:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from readline.c:50:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
make[2]: *** [readline.o] Error 1
make[2]: Leaving directory `/src/mysql-4.0.22/readline'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/mysql-4.0.22'
make: *** [all] Error 2
< make 실행시 위 에러가 계속나서 썬 사이트에서 문서를 찾아봤습니다. 반드시 이 문서 잘 읽어보시고 적용해주세요...... >
************************************
** gcc-3.3.2-sol10-sparc-local.gz **
************************************
The GNU C compiler and related programs - installs in /usr/local.
This package includes the GNU C, C++, g77, Java, and OBJC compiler suites and support files.
The Gnat ada programs are not included yet.
When needed and the source code supports it, this C compiler can create 64-bit executables via the -m64 flag as well as the usual 32-bit ones.
It was compiled to use the SUN assembler and loader usually in /usr/ccs/bin if the SUNW developer packages are installed.
This gcc package requires the installation of libiconv.
Note that this version of gcc was created on build 60 of Solaris 10.
If you are using a higher version, you will need to redo some of the header files. This is done by doing the following steps:
cd /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools/
Put the line SHELL=/bin/sh on the first line of the mkheaders.conf
file. Then run
./mkheaders
This will correct some files and make the build 60 gcc usable on
higher builds. I have tested this on build 72 and it works fine.