Archived

This forum has been archived. Please start a new discussion on GitHub.

Error compiling IceE with OpenEmbedded

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.

Thanks,
Andrey.

Comments

  • 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>
    #endif

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

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

    ....

    # endif
    #endif


    should be defined before the #include <IceE/...
    then I can cross compile with +GUMSTIX = yes for arm
  • dwayne
    dwayne St. John's, Newfoundland
    Thanks for the information.