octave-maintainers
[Top][All Lists]
Advanced

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

MinGW build failure "undefined reference to `vtable for octave_base_valu


From: Philip Nienhuis
Subject: MinGW build failure "undefined reference to `vtable for octave_base_value'"
Date: Tue, 8 Jan 2013 13:01:41 -0800 (PST)

Using a recent checkout:

$ hg id
53ec9063dc6d+ tip

... I get errors in __delaunayn__.cc (I think):

Creating library file: dldfcn/.libs/__delaunayn__.dll.a
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`~octave_base_value':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/octave-value/ov-base.h:211:
undefined reference to `vtable for octave_base_value'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`G__delaunayn__':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/dldfcn/__delaunayn__.cc:67:
undefined reference to `check_version(std::string const&, std::string
const&)'
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/dldfcn/__delaunayn__.cc:67:
undefined reference to `error_state'
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/dldfcn/__delaunayn__.cc:67:
undefined reference to `octave_dld_function::create(octave_value_list
(*)(octave_value_list const&, int), octave_shlib const&, std::string const&,
std::string const&)'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`Z14F__delaunayn__RK17octave_value_listi':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/dldfcn/__delaunayn__.cc:79:
undefined reference to `octave_value::octave_value(double)'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`ZN17octave_value_list6resizeEiRK12octave_value':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/interp-core/oct-obj.h:96:
undefined reference to `Array<octave_value>::resize(dim_vector const&,
octave_value const&)'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`octave_base_value':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/octave-value/ov-base.h:207:
undefined reference to `vtable for octave_base_value'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`Z14F__delaunayn__RK17octave_value_listi':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/dldfcn/__delaunayn__.cc:84:
undefined reference to `print_usage()'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`octave_base_value':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/octave-value/ov-base.h:207:
undefined reference to `vtable for octave_base_value'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`Z14F__delaunayn__RK17octave_value_listi':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/dldfcn/__delaunayn__.cc:192:
undefined reference to `octave_value::octave_value(Matrix const&, MatrixType
const&)'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
'ZN17octave_value_list6resizeEiRK12octave_value':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/interp-core/oct-obj.h:96:
undefined reference to `Array<octave_value>::resize(dim_vector const&,
octave_value const&)'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`octave_base_value':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/octave-value/ov-base.h:207:
undefined reference to `vtable for octave_base_value'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`Z14F__delaunayn__RK17octave_value_listi':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/dldfcn/__delaunayn__.cc:196:
undefined reference to `error(char const*, ...)'
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/dldfcn/__delaunayn__.cc:206:
undefined reference to `warning(char const*, ...)'
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/dldfcn/__delaunayn__.cc:216:
undefined reference to `octave_value::octave_value(RowVector const&)'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`ZN17octave_value_list6resizeEiRK12octave_value':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/interp-core/oct-obj.h:96:
undefined reference to `Array<octave_value>::resize(dim_vector const&,
octave_value const&)'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`octave_base_value':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/octave-value/ov-base.h:207:
undefined reference to `vtable for octave_base_value'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`Z14F__delaunayn__RK17octave_value_listi':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/dldfcn/__delaunayn__.cc:168:
undefined reference to `error(char const*, ...)'
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/dldfcn/__delaunayn__.cc:145:
undefined reference to `error(char const*, ...)'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`octave_base_value':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/octave-value/ov-base.h:207:
undefined reference to `vtable for octave_base_value'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`Z14F__delaunayn__RK17octave_value_listi':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/dldfcn/__delaunayn__.cc:115:
undefined reference to `error(char const*, ...)'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o: In function
`octave_base_value':
X:\programs\msys\home\Philip\octdev\oct370\libinterp/../../octave/libinterp/octave-value/ov-base.h:207:
undefined reference to `vtable for octave_base_value'
dldfcn/.libs/dldfcn___delaunayn___la-__delaunayn__.o:__delaunayn__.cc:(.rdata$_ZTV5ArrayI12octave_valueE[vtable
for Array<octave_value>]+0x10): undefined reference to
`Array<octave_value>::resize_fill_value() const'
collect2: ld returned 1 exit status
make[3]: *** [dldfcn/__delaunayn__.la] Error 1
make[3]: Leaving directory `/home/Philip/octdev/oct370/libinterp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Philip/octdev/oct370/libinterp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Philip/octdev/oct370'
make: *** [all] Error 2

Google turns up a similar issue with cygwin/mingw from 2011 in
__contourc__.cc; see:
http://lists.gnu.org/archive/html/octave-bug-tracker/2011-06/msg00137.html
but that doesn't help me.

What could be the problem here and how can it be solved?

(I'm building using Tatsuro's dependencies (gcc 4.6.2) with gcc 4.5.2. That
does work for octave-3.6.4r-c1 and earlier 3.7.0+ builds.)

Thanks,

Philip



--
View this message in context: 
http://octave.1599824.n4.nabble.com/MinGW-build-failure-undefined-reference-to-vtable-for-octave-base-value-tp4648700.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

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