octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: octave 4.1.0+ w/ clang-3.8


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, Jun 19, 2016 at 10:30 PM, Jordi Gutiérrez Hermoso <address@hidden> wrote:
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?

​No. It is whatever came with Fedora 24.
I am confused here:


​ls -l /usr/lib64/libGraphicsMagick-Q16.so.3.15.0
-rwxr-xr-x 1 root root 1845064 May 30 22:24 /usr/lib64/libGraphicsMagick-Q16.so.3.15.0


objdump -t /usr/lib64/libGraphicsMagick-Q16.so.3.15.0

/usr/lib64/libGraphicsMagick-Q16.so.3.15.0:     file format elf64-x86-64

SYMBOL TABLE:
no symbols


 

- Jordi G. H.


​Dmitri.
--
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]