This compile error can be easily fixed by adding

#include<limits>

in KeySpec.h

Donald

On Thu, Nov 13, 2008 at 7:04 AM, bruce kissinger
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've been able to build 0.9.0.10 and 0.9.0.11 successfully but got an error
> trying to build 0.9.0.12.  Does anyone have advice?
>
> The error is:
>
> [  5%] Built target HyperCommon
> [  5%] Built target code_search_and_replace
> [  6%] Built target exception_test
> [  6%] Built target logging_test
> [  6%] Built target sertest
> [ 12%] Built target HyperComm
> [ 13%] Built target commTest
> [ 14%] Built target commTestDatagram
> [ 14%] Built target commTestReverseRequest
> [ 14%] Built target commTestTimeout
> [ 15%] Built target commTestTimer
> [ 15%] Built target sampleClient
> [ 15%] Built target testServer
> [ 17%] Built target Hyperspace
> [ 25%] Built target Hyperspace.Master
> [ 26%] Built target bdb_fs_test
> [ 26%] Building CXX object
> src/cc/Hypertable/Lib/CMakeFiles/Hypertable.dir/CommitLog.o
> In file included from /usr/include/c++/4.3/ext/hash_map:64,
>                  from
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/HashMap.h:24,
>                  from
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Common/StringExt.h:28,
>                  from
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/CommitLog.cc:30:
> /usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning
> This file includes at least one deprecated or antiquated header which may be
> removed without further notice at a future date. Please use a non-deprecated
> interface with equivalent functionality instead. For a listing of
> replacement headers and interfaces, consult the file backward_warning.h. To
> disable this warning use -Wno-deprecated.
> In file included from
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/Key.h:33,
>                  from
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/CommitLogReader.h:39,
>                  from
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/CommitLog.cc:40:
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/KeySpec.h:33:
> error: 'numeric_limits' is not a member of 'std'
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/KeySpec.h:33:
> error: expected primary-expression before '>' token
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/KeySpec.h:33:
> error: '::min' has not been declared
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/KeySpec.h:34:
> error: 'numeric_limits' is not a member of 'std'
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/KeySpec.h:34:
> error: expected primary-expression before '>' token
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/KeySpec.h:34:
> error: '::max' has not been declared
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/KeySpec.h:35:
> error: 'numeric_limits' is not a member of 'std'
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/KeySpec.h:35:
> error: expected primary-expression before '>' token
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/KeySpec.h:35:
> error: '::min' has not been declared
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/KeySpec.h:36:
> error: 'numeric_limits' is not a member of 'std'
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/KeySpec.h:36:
> error: expected primary-expression before '>' token
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/KeySpec.h:36:
> error: '::min' has not been declared
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/KeySpec.h:37:
> error: 'numeric_limits' is not a member of 'std'
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/KeySpec.h:37:
> error: expected primary-expression before '>' token
> /opt/hypertable/hypertable-0.9.0.12-alpha/src/cc/Hypertable/Lib/KeySpec.h:37:
> error: '::min' has not been declared
> make[2]: *** [src/cc/Hypertable/Lib/CMakeFiles/Hypertable.dir/CommitLog.o]
> Error 1
> make[1]: *** [src/cc/Hypertable/Lib/CMakeFiles/Hypertable.dir/all] Error 2
> make: *** [all] Error 2
>
>
> Environment is:  Ubuntu 8.10,
>
> uname -a reports:
>
> Linux bruce-laptop 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:20 UTC 2008 i686
> GNU/Linux
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/hypertable-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to