Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 234 by
wyy...@gmail.com: snappy
http://code.google.com/p/leveldb/issues/detail?id=234
What steps will reproduce the problem?
1.i write a c++ program.
2.in linux ,g++ -o sa Main.cpp libleveldb.a -lpthread
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
leveldb 1.14.0, red hat
Please provide any additional information below.
this is problem:
libleveldb.a(table_builder.o): In function
`leveldb::TableBuilder::WriteBlock(leveldb::BlockBuilder*,
leveldb::BlockHandle*)':
table_builder.cc:(.text+0x6a8): undefined reference to
`snappy::MaxCompressedLength(unsigned long)'
table_builder.cc:(.text+0x6e2): undefined reference to
`snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)'
libleveldb.a(format.o): In function
`leveldb::ReadBlock(leveldb::RandomAccessFile*, leveldb::ReadOptions
const&, leveldb::BlockHandle const&, leveldb::BlockContents*)':
format.cc:(.text+0x5de): undefined reference to
`snappy::GetUncompressedLength(char const*, unsigned long, unsigned long*)'
format.cc:(.text+0x64e): undefined reference to `snappy::RawUncompress(char
const*, unsigned long, char*)'
collect2: ld returned 1 exit status
i think may be snappy problem,but i dont kown what to do
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings