Package: libgoogle-glog
Version: 0.3.2-1

When I use some setting flags defined in the library glog in a program,

e.g.,

#include <gflags/gflags.h>
#include <glog/logging.h>
#include <iostream>

int main(int argc, char* argv[])
{
        // Initialize Google's logging library.
        google::InitGoogleLogging(argv[0]);
        std::cout << fLI::FLAGS_v;
        std::cout << fLI::FLAGS_log_dir;
}

and compile this program, I get the following compilation errors:

undefined reference to `fLI::FLAGS_v’
undefined reference to `fLI::FLAGS_log_dir’

If I download the source code of glog and compile it, then the errors are fixed.

This means that, in the package, google-glog is compiled without
google-gflags installed.

I am using Debian sid, kernel 3.2.0-1-amd64.

Alberto Quattrini Li


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to