로그인
Sign in
#  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.

조회 수 :
793
추천 수 :
9 / 0
등록일 :
2005.11.29
10:59:11 (*.236.3.225)
엮인글 :
http://bestceok.com/xe/index.php?mid=sun_faq&document_srl=2998&act=trackback&key=8ea
게시글 주소 :
http://bestceok.com/xe/index.php?mid=sun_faq&document_srl=2998
List of Articles
번호 제목 글쓴이 날짜 조회 수
131 fsck 명령어 사용 - Superblock 복구 포함 하록 2006-10-18 1376
130 gcc 컴파일러 설치하기 [1] 하록 2006-10-12 2170
129 veritas Volume Check 하록 2006-07-03 464
128 How to config BIND 9 하록 2006-05-12 467
127 rshell 실행 시 Permission denied 에러 나올때 하록 2006-02-22 1483
126 root 파일 시스템 복구 하록 2006-02-21 585
125 Disksuite를 이용한 metadevice 구성 하록 2006-02-21 452
124 Proftp Configuration 설정 방법 하록 2006-02-03 947
123 SUN Console Cable 배열 file 하록 2006-02-01 1218
122 기본적인 네트워크 명령어 사용하기 하록 2006-01-31 814
121 Hardware Diagnostics for SunTM Systems 하록 2005-12-01 463
» make 시 에러가 날 경우.. 하록 2005-11-29 793
119 proftpd 설치 하록 2005-11-29 682
118 Restricted Shell(제한쉘) 하록 2005-11-29 478
117 Solaris 시스템 부하 측정 하록 2005-09-13 466
116 Solaris TIP 하록 2005-05-13 633
115 O/S Install시에 Firmware Password물어볼때.. 하록 2004-12-23 492
114 gcc를 패키지로 설치한 후 Error가 떨어질때.. 하록 2004-12-15 819
113 NDD 값 설정.. 하록 2004-11-19 580
112 전원관리기능 사용 안 하기.. 하록 2004-11-10 510