Re: Cmake, Clang and plugins

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

 



On 4-7-2016 13:09, Willem Jan Withagen wrote:
> Hi,
> 
> I'm being pestered by:
>  dlopen(/home/wjw/Ceph/work.cmake/ceph/build/lib/libec_jerasure.so):
> /home/wjw/Ceph/work.cmake/ceph/build/lib/libec_jerasure.so: Undefined
> symbol "ceph_arch_neon"
> if I try to run anything that want as plugin.
> 
> Now the question is: what extra bui;ding/linker  options would this
> require to actually fix this?
> Symbol analysis is below.

Right,

Many Variable/option combinations further down the line:
  set(CMAKE_EXE_LINKER_FLAGS "-Wl,-export-dynamic")
was my friend.

And not things like:
  CMAKE_LINKER_FLAGS
Those flags do not end up on the commandline when linking an executable.

And the dynamic table needs to be atleast on the executable.

--WjW




--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux