Home Help Center

Error building ICE

bambukbambuk Member Alex StovbounOrganization: UBS AGProject: Financial applications
When building ICE on Linux got the following error:

SharedDbEnv.cpp:308: error: `DB_LOG_AUTOREMOVE' undeclared (first use this function)

Where does this symbol come from?

Second question:
Will ICE work on Linux kernel v2.4 ?


  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    DB_LOG_AUTOREMOVE is part of berkeley db. If you cannot find that symbol then you don't have the correct version of berkeley db installed.

    Regarding the kernel version we officially support RHEL 4 and Novell SuSE Linux Enterprise Server 10 which both run 2.6 based kernels. This means that 2.4 is untested. However, it will likely work -- I suggest that you try it.
  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    On kernel 2.4, I recommend to build Ice with -DICE_NO_EPOLL.

    For example, you can edit src/Ice/Makefile and add -DICE_NO_EPOLL at the end of the "CPPFLAGS := ... " line.

    Best regards,
Sign In or Register to comment.