help-octave
[Top][All Lists]
Advanced

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

Build failure: undefined symbol check_version(...)


From: Andrew Janke
Subject: Build failure: undefined symbol check_version(...)
Date: Sun, 1 Jul 2018 02:22:24 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Hi, Octave folks,

I'm compiling Octave on macOS 10.13.5 and running into a build failure.

  CXXLD    libinterp/dldfcn/__delaunayn__.la
Undefined symbols for architecture x86_64:
  "check_version(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
      _G__delaunayn__ in __delaunayn___la-__delaunayn__.o
  "err_disabled_feature(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:       F__delaunayn__(octave_value_list const&, int) in __delaunayn___la-__delaunayn__.o   "octave_dld_function::create(octave_value_list (*)(octave_value_list const&, int), octave::dynamic_library const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
      _G__delaunayn__ in __delaunayn___la-__delaunayn__.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libinterp/dldfcn/__delaunayn__.la] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Does anyone know what might be causing this?

(And does anyone know how to turn on a verbose build so I can see the exact command which is failing? 'make VERBOSE=1' doesn't seem to do anything.)

I can see what looks like a matching check_version(std::string, std::string) definition in libinterp/corefcn/defun.cc. I wonder why it's not being linked?

I'm using the latest sources from the Hg repository.

Configuring using the following:

$ cat my_configure
./configure \
  --prefix=/tmp/test-octave \
  --disable-readline \
  --without-fltk \
  --without-x \
  --without-qhull

Cheers,
Andrew



reply via email to

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