Package: libgflags-dev
Version: 2.1.2-3
I am using the following package versions from jessie/sid:
Package: libgflags2v5
Source: gflags
Version: 2.1.2-3
Installed-Size: 285
Package: libgflags-dev
Source: gflags
Version: 2.1.2-3
Installed-Size: 558
Trying to compile this program:
#include <gflags/gflags.h>
int main(int argc, char** argv)
{
google::SetUsageMessage("usage");
return 0;
}
I get this message:
% g++ -lgflags flags.cpp -o flags
/tmp/ccQnf2DM.o: In function `main':
flags.cpp:(.text+0x39): undefined reference to
`google::SetUsageMessage(std::string const&)'
collect2: error: ld returned 1 exit status
It compiles with gflags 2.0-2.1 on Debian 8.1
--
С уважением,
*Михаил Арефьев*
Ведущий программист группы разработки PT SIEM
Positive Technologies
Тел.: +7 (495) 744-01-44, факс: +7 (495) 744-01-87
Эл. почта: [email protected]
www.ptsecurity.ru, www.maxpatrol.ru, www.securitylab.ru