Export to GitHub

thrudb - issue #2

make error: `uuid_unparse_lower' was not declared in this scope


Posted on Dec 10, 2007 by Massive Hippo

after installing libevent and logcxx.

configure completed successfully.

make throws:

src/common/utils.h:73: error: `uuid_unparse_lower' was not declared in this scope

---- Full Output ----------------

if g++ -DPACKAGE_NAME=\"thrudb\" -DPACKAGE_TARNAME=\"thrudb\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"thrudb\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"thrudb\" -DVERSION=\"0.1\" -DHAVE_LIBCLUCENE=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CLUCENE_H=1 -DHAVE_LIBSSL=1 -DHAVE_LIBCRYPTO=1 -DHAVE_OPENSSL_RAND_H=1 -DHAVE_OPENSSL_MD5_H=1 -DHAVE_OPENSSL_SHA_H=1 -DHAVE_OPENSSL_HMAC_H=1 -DHAVE_OPENSSL_AES_H=1 -DHAVE_AES_ENCRYPT=1 -DHAVE_RAND_PSEUDO_BYTES=1 -DHAVE_LIBCURL=1 -DHAVE_LIBEXPAT=1 -I. -I. -Wall -I/usr/local/include/thrift -I/usr/include/thrift -Isrc/common -Igen-cpp -Isrc/thrudoc -g -O2 -MT thrudoc-main.o -MD -MP -MF ".deps/thrudoc-main.Tpo" -c -o thrudoc-main.o test -f 'src/thrudoc/main.cpp' || echo './'src/thrudoc/main.cpp; \ then mv -f ".deps/thrudoc-main.Tpo" ".deps/thrudoc-main.Po"; else rm -f ".deps/thrudoc-main.Tpo"; exit 1; fi In file included from src/common/SpreadManager.h:24, from src/thrudoc/main.cpp:29: src/common/utils.h: In function std::string generateUUID()': src/common/utils.h:73: error:uuid_unparse_lower' was not declared in this scope src/common/utils.h:73: warning: unused variable 'uuid_unparse_lower' make: * [thrudoc-main.o] Error 1

Comment #1

Posted on Jan 6, 2008 by Happy Giraffe

Looks like you are missing libuuid. I've updated configure script to check for this dependancy.

Status: Fixed

Labels:
Type-Defect Priority-Medium