Home Bug Reports

Error compiling IceE with OpenEmbedded

andreynechandreynech Member Andrey NechypurenkoOrganization: Veterobot.comProject: Robotics vehicle for researchers and makers ✭✭
Hi Folks,

I was trying to compile latest IceE with OpenEmbedded (Angstrom) and got compilation error in cppe/include/IceE/Time.h in line 36 caused by undefined timeval struct.

Including <sys/time.h> solved the problem. However I did not test it on other platforms. It would be great if someone from ZeroC could take a look on it.



  • davidonetdavidonet Member David OlivariOrganization: david-o.netProject: Energy Distribution Embedded System
    Got the same problem with cross compil

    In fact the problem seems to be in the order of the #include

    in IceE-1.3.0/cppe/src/IceE/Cond.cpp

    #ifndef _WIN32
    # include <sys/time.h>

    and in IceE-1.3.0/cppe/src/IceE/Time.cpp

    #ifndef _WIN32_WCE
    # if defined(_WIN32)
    # include <sys/timeb.h>


    # endif

    should be defined before the #include <IceE/...
    then I can cross compile with +GUMSTIX = yes for arm
  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    Thanks for the information.
Sign In or Register to comment.