|
发表于 2004-5-7 22:50:52
|
显示全部楼层
gcc 3.4.0下无法编译
make all-recursive
make[1]: Entering directory `/tmp/src/scim-0.9.7'
Making all in m4
make[2]: Entering directory `/tmp/src/scim-0.9.7/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/src/scim-0.9.7/m4'
Making all in intl
make[2]: Entering directory `/tmp/src/scim-0.9.7/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/src/scim-0.9.7/intl'
Making all in src
make[2]: Entering directory `/tmp/src/scim-0.9.7/src'
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -I../intl -DSCIM_LIBDIR=\"/usr/lib\" -DSCIM_DATADIR=\"/usr/share\" -DSCIM_LOCALEDIR=\"/usr/share/locale\" -DSCIM_SYSCONFDIR=\"/usr/etc\" -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_MODULE_PATH=\"/usr/lib/scim-1.0/\" -march=i686 -O2 -pipe -MT scim_socket.lo -MD -MP -MF ".deps/scim_socket.Tpo" -c -o scim_socket.lo scim_socket.cpp; \
then mv -f ".deps/scim_socket.Tpo" ".deps/scim_socket.Plo"; else rm -f ".deps/scim_socket.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../src -I../intl -DSCIM_LIBDIR=\"/usr/lib\" -DSCIM_DATADIR=\"/usr/share\" -DSCIM_LOCALEDIR=\"/usr/share/locale\" -DSCIM_SYSCONFDIR=\"/usr/etc\" -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_MODULE_PATH=\"/usr/lib/scim-1.0/\" -march=i686 -O2 -pipe -MT scim_socket.lo -MD -MP -MF .deps/scim_socket.Tpo -c scim_socket.cpp -fPIC -DPIC -o .libs/scim_socket.o
scim_socket.cpp: In member function `int scim::Socket::SocketImpl::read_with_timeout(void*, size_t, int)':
scim_socket.cpp:352: error: ISO C++ forbids cast to non-reference type used as lvalue
scim_socket.cpp: In member function `int scim::Socket::SocketImpl::write(const void*, size_t)':
scim_socket.cpp:374: error: ISO C++ forbids cast to non-reference type used as lvalue
./scim_socket.h: In member function `bool scim::SocketServer::run()':
./scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
scim_socket.cpp:826: error: within this context
./scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
scim_socket.cpp:834: error: within this context
./scim_socket.h:156: error: `scim::Socket::Socket(const scim::Socket&)' is private
scim_socket.cpp:854: error: within this context
make[2]: *** [scim_socket.lo] 错误 1
make[2]: Leaving directory `/tmp/src/scim-0.9.7/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/tmp/src/scim-0.9.7'
make: *** [all] 错误 2 |
|