open-vcdiff-0.8.3 giving error in cross compilation for power-pc architecture

18 views
Skip to first unread message

Suyash Kulshrestha

unread,
Jan 2, 2013, 10:12:05 AM1/2/13
to open-...@googlegroups.com
I was trying to compile the packae for powerpc and was able to get thru most of the steps of having a good spec file and using the source tar. But during compilation, it gave error of undefined function calls to a few of them. I am not sure if these functions are missing or there are platform dependant macros which haven't been defined for these methods.

Please help me out if anyone has face similar issue and been able to resolve it.
The errors are as below:

 warning: libvcdcom.so.0, needed by ./.libs/libvcddec.so, not found (try using -rpath or -rpath-link)
./.libs/libvcddec.so: undefined reference to `open_vcdiff::g_fatal_error_occurred'
./.libs/libvcddec.so: undefined reference to `open_vcdiff::VarintBE<long long>::Parse(char const*, char const**)'
./.libs/libvcdenc.so: undefined reference to `open_vcdiff::VarintBE<int>::Length(int)'
./.libs/libvcddec.so: undefined reference to `open_vcdiff::VCDiffCodeTableData::Validate(unsigned char) const'
./.libs/libvcddec.so: undefined reference to `open_vcdiff::VCDiffAddressCache::Init()'
./.libs/libvcdenc.so: undefined reference to `open_vcdiff::VarintBE<int>::AppendToOutputString(int, open_vcdiff::OutputStringInterface*)'
./.libs/libvcdenc.so: undefined reference to `open_vcdiff::VarintBE<long long>::Length(long long)'
./.libs/libvcddec.so: undefined reference to `open_vcdiff::VarintBE<int>::Parse(char const*, char const**)'
./.libs/libvcddec.so: undefined reference to `open_vcdiff::VCDiffAddressCache::DecodeAddress(int, unsigned char, char const**, char const*)'
./.libs/libvcddec.so: undefined reference to `open_vcdiff::VCDiffAddressCache::VCDiffAddressCache()'
./.libs/libvcddec.so: undefined reference to `open_vcdiff::VCDiffCodeTableData::kDefaultCodeTableData'
./.libs/libvcddec.so: undefined reference to `open_vcdiff::VCDiffInstructionName(open_vcdiff::VCDiffInstructionType)'
./.libs/libvcddec.so: undefined reference to `open_vcdiff::VCDiffAddressCache::VCDiffAddressCache(int, int)'
./.libs/libvcdenc.so: undefined reference to `open_vcdiff::VCDiffAddressCache::EncodeAddress(int, int, int*)'
./.libs/libvcddec.so: undefined reference to `adler32'
./.libs/libvcdenc.so: undefined reference to `open_vcdiff::VarintBE<long long>::AppendToOutputString(long long, open_vcdiff::OutputStringInterface*)'
./.libs/libvcdenc.so: undefined reference to `open_vcdiff::VarintBE<int>::AppendToString(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)'
collect2: ld returned 1 exit status
Makefile:836: *** [vcdiff] Error 1


The above is the snapshot of the compilation error. Please let me know if anybody has a solution.
Thanks.
Reply all
Reply to author
Forward
0 new messages