LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 873|回复: 0

求助:编译mozilla-firefox的时候出错。。。

[复制链接]
发表于 2006-1-19 10:40:01 | 显示全部楼层 |阅读模式
系统是gentoo2005,刚装上了xorg-x11和kde,都运行正常,在控制台下emerge mozilla-firefox的时候,第一个包libbonobo-2.10.1编译出错,如下:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DPREFIX=\"/usr\" -DSERVER_LIBEXECDIR=\"/usr/libexec\" -DBONOBO_ACTIVATION_LOCALEDIR=\"/usr/share/locale\" -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DVERSION=\"2.10.1\" -DG_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"Bonobo-Activation\" -march=pentium4 -O3 -pipe -fomit-frame-pointer -MT Bonobo_Unknown-common.lo -MD -MP -MF .deps/Bonobo_Unknown-common.Tpo -c Bonobo_Unknown-common.c  -fPIC -DPIC -o .libs/Bonobo_Unknown-common.o
echo "top_srcdir: .."
top_srcdir: ..
echo "IDL_DIR: ../idl/"
IDL_DIR: ../idl/
echo "IDL file: ../bonobo-activation/../idl/Bonobo_Unknown.idl"
IDL file: ../bonobo-activation/../idl/Bonobo_Unknown.idl
(rm -f ../bonobo-activation/Bonobo_Unknown.h ../bonobo-activation/Bonobo_Unknown-stubs.c ../bonobo-activation/Bonobo_Unknown-skels.c ../bonobo-activation/Bonobo_Unknown-common.c ../bonobo-activation/Bonobo_Unknown-imodule.c ../bonobo-activation/Bonobo_Unknown-skelimpl.c || true) > /dev/null
/usr/bin/orbit-idl-2 -I../idl "-D__../bonobo-activation/Bonobo_Unknown_COMPILATION" --deps ../bonobo-activation/.deps/Bonobo_Unknown.idl.P ../bonobo-activation/../idl/Bonobo_Unknown.idl
orbit-idl-2 2.12.3 compiling
  mode, show preprocessor errors, passes: stubs skels common headers

<command line>:2:3: warning: ISO C requires whitespace after the macro name
echo "top_srcdir: .."
top_srcdir: ..
echo "IDL_DIR: ../idl/"
IDL_DIR: ../idl/
echo "IDL file: ../bonobo-activation/../idl/Bonobo_Activation_types.idl"
IDL file: ../bonobo-activation/../idl/Bonobo_Activation_types.idl
(rm -f ../bonobo-activation/Bonobo_Activation_types.h ../bonobo-activation/Bonobo_Activation_types-stubs.c ../bonobo-activation/Bonobo_Activation_types-skels.c ../bonobo-activation/Bonobo_Activation_types-common.c ../bonobo-activation/Bonobo_Activation_types-imodule.c ../bonobo-activation/Bonobo_Activation_types-skelimpl.c || true) > /dev/null
/usr/bin/orbit-idl-2 -I../idl "-D__../bonobo-activation/Bonobo_Activation_types_COMPILATION" --deps ../bonobo-activation/.deps/Bonobo_Activation_types.idl.P ../bonobo-activation/../idl/Bonobo_Activation_types.idl
orbit-idl-2 2.12.3 compiling
  mode, show preprocessor errors, passes: stubs skels common headers

<command line>:2:3: warning: ISO C requires whitespace after the macro name
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DPREFIX=\""/usr\"" -DSERVER_LIBEXECDIR=\""/usr/libexec\"" -DBONOBO_ACTIVATION_LOCALEDIR=\""/usr/share/locale"\" -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DVERSION=\"2.10.1\" -DG_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"Bonobo-Activation\"     -march=pentium4 -O3 -pipe -fomit-frame-pointer -MT Bonobo_GenericFactory-common.lo -MD -MP -MF ".deps/Bonobo_GenericFactory-common.Tpo" \
  -c -o Bonobo_GenericFactory-common.lo `test -f 'Bonobo_GenericFactory-common.c' || echo './'`Bonobo_GenericFactory-common.c; \
then mv -f ".deps/Bonobo_GenericFactory-common.Tpo" ".deps/Bonobo_GenericFactory-common.Plo"; \
else rm -f ".deps/Bonobo_GenericFactory-common.Tpo"; exit 1; \
fi
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DPREFIX=\"/usr\" -DSERVER_LIBEXECDIR=\"/usr/libexec\" -DBONOBO_ACTIVATION_LOCALEDIR=\"/usr/share/locale\" -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DVERSION=\"2.10.1\" -DG_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"Bonobo-Activation\" -march=pentium4 -O3 -pipe -fomit-frame-pointer -MT Bonobo_GenericFactory-common.lo -MD -MP -MF .deps/Bonobo_GenericFactory-common.Tpo -c Bonobo_GenericFactory-common.c  -fPIC -DPIC -o .libs/Bonobo_GenericFactory-common.o
In file included from Bonobo_GenericFactory-common.c:9:
Bonobo_GenericFactory.h:108: error: parse error before "OA_Bonobo_Unknown__epv"
Bonobo_GenericFactory.h:108: warning: no semicolon at end of struct or union
Bonobo_GenericFactory.h:110: error: parse error before '}' token
Bonobo_GenericFactory.h:110: warning: data definition has no type or storage class
Bonobo_GenericFactory.h:113: error: parse error before "OA_Bonobo_GenericFactory__vepv"
Bonobo_GenericFactory.h:113: warning: no semicolon at end of struct or union
Bonobo_GenericFactory.h:114: warning: data definition has no type or storage class
Bonobo_GenericFactory.h:120: error: parse error before '*' token
Bonobo_GenericFactory.h:120: error: parse error before ')' token
Bonobo_GenericFactory-common.c:14: error: parse error before '*' token
Bonobo_GenericFactory-common.c:15: error: parse error before ')' token
make[2]: *** [Bonobo_GenericFactory-common.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/libbonobo-2.10.1/work/libbonobo-2.10.1/bonobo-activation'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/libbonobo-2.10.1/work/libbonobo-2.10.1/bonobo-activation'
make: *** [install-recursive] Error 1

!!! ERROR: gnome-base/libbonobo-2.10.1 failed.
!!! Function gnome2_src_install, Line 65, Exitcode 2
!!! make DESTDIR install failed
!!! If you need support, post the topmost build error, NOT this status message.


------------------
不知是什么问题????
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表