|
From: | Dmitri A. Sergatskov |
Subject: | Re: octave 4.1.0+ w/ clang-3.8 |
Date: | Sun, 19 Jun 2016 22:56:28 -0500 |
On Sun, 2016-06-19 at 21:21 -0500, Dmitri A. Sergatskov wrote:
> I am trying to compile 4.1.0+ with clang and it fails with linker error:
> ...
> GEN src/octave-build-info.cc
> CXX src/src_octave_cli-octave-build-info.o
> CXXLD src/octave-cli
> libinterp/.libs/liboctinterp.so: undefined reference to
> `Magick::Image::comment() const'
> libinterp/.libs/liboctinterp.so: undefined reference to
> `Magick::CoderInfo::description() const'
> libinterp/.libs/liboctinterp.so: undefined reference to
> `Magick::Image::magick() const'
> clang-3.8: error: linker command failed with exit code 1 (use -v to see
> invocation)
Do clang and g++ mangle C++ symbols in the same way? Can you objdump
liboctinterp.so and libmagick in each case and check what the symbols
are?
I imagine you didn't compile libmagick with clang, right?
- Jordi G. H.
[Prev in Thread] | Current Thread | [Next in Thread] |