红联Linux门户
Linux帮助

solaris安装bind的问题

发布时间:2006-09-07 00:37:22来源:红联作者:厉烨
[code]find / -name ar
1,PATH=/usr/ccs/ar:$PATH
export PATH
PATH=/usr/local/bin:$PATH
exprot PATH[/code]安装gcc[code]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[/code]问题解决了[code]bash-3.00# usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/install-tools
bash-3.00#./mkheaders[/code]然后在没make;make install 一切正常
但是原理不太清楚?
文章评论

共有 0 条评论