Home Help Center

Failed to make on FC6

qhboqhbo Member bobby quOrganization: xiamen headsun cooperationProject: Traffic Signal Project
Help me.

I can't build Ice-E on FC6 x86 platform, follow is complie message:
.......

c++ -c -I.. -I../../include -DICE_API_EXPORTS -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g Proxy.cpp
../../include/IceE/Handle.h: In destructor ‘IceInternal::Handle<T>::~Handle() [with T = Ice::Communicator]’:
Proxy.cpp:150: instantiated from here
../../include/IceE/Handle.h:323: 错误:不能从 ‘Ice::Communicator*’ 转换到 ‘IceProxy::Ice::Object*’,为实参 ‘1’(属于 ‘void IceInternal::decRef(IceProxy::Ice::Object*)’)
../../include/IceE/Handle.h: In copy constructor ‘IceInternal::Handle<T>::Handle(const IceInternal::Handle<T>&) [with T = Ice::Communicator]’:

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    Could you please add the information described in this [thread=1697]thread[/thread] to your signature (company/organization name and project name if applicable)?

    Is this the complete error message? Note that we don't officially support FC6, see our download page for the list of supported platforms and compilers.

    Cheers,
    Benoit.
  • qhboqhbo Member bobby quOrganization: xiamen headsun cooperationProject: Traffic Signal Project
    follow message is copied from make console

    [[email protected] IceE-1.1.0]# gcc -v
    使用内建 specs。
    目标:i386-redhat-linux
    配置为:../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
    线程模型:posix
    gcc 版本 4.1.1 20061011 (Red Hat 4.1.1-30)

    follow message is copied from make console:
    [[email protected] IceE-1.1.0]# make
    making all in src
    make[1]: Entering directory `/root/downloads/IceE-1.1.0/src'
    making all in IceE
    make[2]: Entering directory `/root/downloads/IceE-1.1.0/src/IceE'
    c++ -c -I.. -I../../include -DICE_API_EXPORTS -ftemplate-depth-128 -Wall -D_REENTRANT -fPIC -g Proxy.cpp
    ../../include/IceE/Handle.h: In destructor ‘IceInternal::Handle<T>::~Handle() [with T = Ice::Communicator]’:
    Proxy.cpp:150: instantiated from here
    ../../include/IceE/Handle.h:323: Error:Can't convert ‘Ice::Communicator*’ to ‘IceProxy::Ice::Object*’,为实参 ‘1’(属于 ‘void IceInternal::decRef(IceProxy::Ice::Object*)’)
    ../../include/IceE/Handle.h: In copy constructor ‘IceInternal::Handle<T>::Handle(const IceInternal::Handle<T>&) [with T = Ice::Communicator]’:
    Proxy.cpp:150: instantiated from here
    ../../include/IceE/Handle.h:315: Error:Can't convert ‘Ice::Communicator*’ to ‘IceProxy::Ice::Object*’,为实参 ‘1’(属于 ‘void IceInternal::incRef(IceProxy::Ice::Object*)’)
    ../../include/IceE/Handle.h: In destructor ‘IceInternal::Handle<T>::~Handle() [with T = Ice::Connection]’:
    Proxy.cpp:175: instantiated from here
    ../../include/IceE/Handle.h:323: Error:Can't convert ‘Ice::Connection*’ to ‘IceProxy::Ice::Object*’,为实参 ‘1’(属于 ‘void IceInternal::decRef(IceProxy::Ice::Object*)’)
    ../../include/IceE/Handle.h: In copy constructor ‘IceInternal::Handle<T>::Handle(const IceInternal::Handle<T>&) [with T = Ice::Connection]’:
    Proxy.cpp:175: instantiated from here
    ../../include/IceE/Handle.h:315: Error:Can't convert ‘Ice::Connection*’ to ‘IceProxy::Ice::Object*’,为实参 ‘1’(属于 ‘void IceInternal::incRef(IceProxy::Ice::Object*)’)
    ../../include/IceE/Handle.h: In constructor ‘IceInternal::Handle<T>::Handle(T*) [with T = Ice::Connection]’:
    ../../include/IceE/Proxy.h:103: instantiated from here
    ../../include/IceE/Handle.h:283: Error:Can't convert ‘Ice::Connection*’ to ‘IceProxy::Ice::Object*’,为实参 ‘1’(属于 ‘void IceInternal::incRef(IceProxy::Ice::Object*)’)
    ../../include/IceE/Handle.h: In member function ‘IceInternal::Handle<T>& IceInternal::Handle<T>::operator=(const IceInternal::Handle<T>&) [with T = Ice::Connection]’:
    Proxy.cpp:619: instantiated from here
    ../../include/IceE/Handle.h:395: Error:Can't convert ‘Ice::Connection* const’ to ‘IceProxy::Ice::Object*’,为实参 ‘1’(属于 ‘void IceInternal::incRef(IceProxy::Ice::Object*)’)
    ../../include/IceE/Handle.h:403: Error:Can't convert ‘Ice::Connection*’ to ‘IceProxy::Ice::Object*’,为实参 ‘1’(属于 ‘void IceInternal::decRef(IceProxy::Ice::Object*)’)
    ../../include/IceE/Handle.h: In member function ‘IceInternal::Handle<T>& IceInternal::Handle<T>::operator=(T*) [with T = Ice::Connection]’:
    Proxy.cpp:676: instantiated from here
    ../../include/IceE/Handle.h:333: Error:Can't convert ‘Ice::Connection*’ to ‘IceProxy::Ice::Object*’,为实参 ‘1’(属于 ‘void IceInternal::incRef(IceProxy::Ice::Object*)’)
    ../../include/IceE/Handle.h:341: Error:Can't convert ‘Ice::Connection*’ to ‘IceProxy::Ice::Object*’,为实参 ‘1’(属于 ‘void IceInternal::decRef(IceProxy::Ice::Object*)’)
    make[2]: *** [Proxy.o] Error 1
    make[2]: Leaving directory `/root/downloads/IceE-1.1.0/src/IceE'
    make[1]: *** [all] Error 1
    make[1]: Leaving directory `/root/downloads/IceE-1.1.0/src'
    make: *** [all] Error 1
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    It looks like gcc 4.1.1 has some issues with IceE. We'll look into this, however, be aware that this is not a high priority item for us.

    Also can you please fill in your signature information as described in the link contained in my signature?
  • qhboqhbo Member bobby quOrganization: xiamen headsun cooperationProject: Traffic Signal Project
    thanks

    Ok, I have updated my profile information now.
    I like ICE very much, thanks to you for devloping so good package,
    I I believe that this problem would be solved soon, :)
    Thanks.
Sign In or Register to comment.