Menu

Getting error: ‘uint64_t’ has not be...

2010-03-13
2013-04-18
  • martin grotzke

    martin grotzke - 2010-03-13

    Hi,

    I'm just trying to build dreamcache on my fedora 12 box and I'm getting the following error:

    make: Entering directory `/home/magro/appz/development/dreamcache/dreamcache-0.9/src'
    /bin/sh ../libtool -tag=CXX   -mode=compile g++ -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT Cache.lo -MD -MP -MF .deps/Cache.Tpo -c -o Cache.lo `test -f 'main/Cache.cpp' || echo './'`main/Cache.cpp
    g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT Cache.lo -MD -MP -MF .deps/Cache.Tpo -c main/Cache.cpp  -fPIC -DPIC -o .libs/Cache.o
    In file included from main/Logger.h:16,
                     from main/User.h:12,
                     from main/Cache.h:14,
                     from main/Cache.cpp:6:
    main/functions.h:103: error: ‘uint64_t’ has not been declared

    I'm using gcc-c++-4.4.3, uname -a gives
    Linux mescalin 2.6.32.9-67.fc12.i686.PAE #1 SMP Sat Feb 27 09:42:55 UTC 2010 i686 i686 i386 GNU/Linux

    Do you need more info?

    Cheers,
    Martin

     
  • Jacek Psiuk

    Jacek Psiuk - 2010-03-14

    Thanks for the feedback!

    A brand new version of dreamcache has just been released especially for You! ;)

    https://sourceforge.net/projects/dreamcache/files/dreamcache-0.9.1.tar.gz/download

    Please don't hesitate to share your comments about it with us ;)

    Cheers!

     
  • martin grotzke

    martin grotzke - 2010-03-14

    Great, what an honor! And I can report make install is working now.

    My first impression: write performance - simply putting 1500 keys (from 1 to 1500) with two alternating values of 100kb and 200kb takes about the same time as with memcached (using spymemcached with binary protocol on my local laptop with 2 cores). Using the text protocol gives a timeout when get'ting an item (sorry for beeing so lazy that I don't submit this as an issue separately - binary protocol's fine for me :-)).

    Thanx && cheers,
    Martin

     
  • Jacek Psiuk

    Jacek Psiuk - 2010-03-15

    Hmm… 1500 keys isn't a big number, is it? Run a test that will last at least a minute. You'll get more accurate results. Also experiment with server's thread count to obtain as much as you can.

    Ad. connection timeouts… by default the connection timeout is set to 10 secs, however, you can adjust it in server.cfg configuration file for your needs. I dont know spymemcached by I suppose it relies on the long-lasting connection. Go and try to increase it for tests.

    Best regards!
    Jacek

     

Log in to post a comment.