Chinaunix首页 | 论坛 | 博客
  • 博客访问: 40698
  • 博文数量: 9
  • 博客积分: 531
  • 博客等级: 中士
  • 技术积分: 90
  • 用 户 组: 普通用户
  • 注册时间: 2006-08-03 13:10
文章分类
文章存档

2011年(7)

2008年(1)

2006年(1)

分类:

2006-09-06 18:07:24

find / -name ar
1,PATH=/usr/ccs/ar:$PATH
 export PATH
PATH=/usr/local/bin:$PATH
exprot PATH
安装gcc
PATH  ///gcc
2,
making all in /usr/local/src/bind-9.3.2/make
make[1]: Entering directory `/usr/local/src/bind-9.3.2/make'
make[1]: Leaving directory `/usr/local/src/bind-9.3.2/make'
making all in /usr/local/src/bind-9.3.2/lib
make[1]: Entering directory `/usr/local/src/bind-9.3.2/lib'
making all in /usr/local/src/bind-9.3.2/lib/isc
make[2]: Entering directory `/usr/local/src/bind-9.3.2/lib/isc'
making all in /usr/local/src/bind-9.3.2/lib/isc/include
make[3]: Entering directory `/usr/local/src/bind-9.3.2/lib/isc/include'
making all in /usr/local/src/bind-9.3.2/lib/isc/include/isc
make[4]: Entering directory `/usr/local/src/bind-9.3.2/lib/isc/include/isc'
make[4]: Leaving directory `/usr/local/src/bind-9.3.2/lib/isc/include/isc'
make[3]: Leaving directory `/usr/local/src/bind-9.3.2/lib/isc/include'
making all in /usr/local/src/bind-9.3.2/lib/isc/unix
make[3]: Entering directory `/usr/local/src/bind-9.3.2/lib/isc/unix'
making all in /usr/local/src/bind-9.3.2/lib/isc/unix/include
make[4]: Entering directory `/usr/local/src/bind-9.3.2/lib/isc/unix/include'
making all in /usr/local/src/bind-9.3.2/lib/isc/unix/include/isc
make[5]: Entering directory `/usr/local/src/bind-9.3.2/lib/isc/unix/include/isc'
make[5]: Leaving directory `/usr/local/src/bind-9.3.2/lib/isc/unix/include/isc'
make[4]: Leaving directory `/usr/local/src/bind-9.3.2/lib/isc/unix/include'
gcc  -I/usr/local/src/bind-9.3.2 -I./include -I./../pthreads/include -I../include -I./../include -I./..  -D_REENTRANT  -D_XPG4_2 -D__EXTENSIONS__ -g -O2  -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat  -c app.c
In file included from /usr/include/sys/wait.h:24,
                 from /usr/include/stdlib.h:22,
                 from app.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 /usr/include/stdlib.h:22,
                 from app.c:26:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from /usr/include/stdlib.h:22,
                 from app.c:26:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
In file included from app.c:29:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
make[3]: *** [app.o] Error 1
make[3]: Leaving directory `/usr/local/src/bind-9.3.2/lib/isc/unix'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/bind-9.3.2/lib/isc'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/usr/local/src/bind-9.3.2/lib'
make: *** [subdirs] Error 1
 
 
问题解决了 
bash-3.00# usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/install-tools
bash-3.00#./mkheaders
然后在没make;make install 一切正常
但是原理不太清楚?
]
 
 
阅读(1088) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:将YUM源指定为光盘

给主人留下些什么吧!~~