mkoctfile

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

mkoctfile

Douglas Steele
Hi

Win2k, cygnus v1.0, octave-2.0.16

/cygdrive/c/octave-2.0.16/examples 39 $ mkoctfile oregonator.cc

results in a oregonator.o but not oct file and a long error message
which begins as the following.

If anyone knows what it means and how to fix I would be interested.

Thanks


c++: unrecognized option `-shared'
Warning: resolving _compare__Ct12basic_string3ZcZt18string_char_traits1Z
cZt24__default_aloc_template2b0i0RCt12basic_string3ZcZt18string_char_tra
its1ZcZt24__default_alloc_templateb0i0UiUi@PLT by linking to _compare__C
t12basic_string3ZcZt18string_char_traits1ZcZt24__deault_alloc_template2b
0i0RCt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_empl
ate2b0i0UiUi
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
Warning: resolving ___builtin_new@PLT by linking to ___builtin_new
Warning: resolving __t12basic_string3ZcZt18string_char_traits1ZcZt24__de
fault_alloc_templte2b0i0$nilRep@GOT by linking to __t12basic_string3ZcZt
18string_char_traits1ZcZt24__defaut_alloc_template2b0i0$nilRep
Warning: resolving _clone__Q2t12basic_string3ZcZt18string_char_traits1Zc
Zt24__default_all

etc plus

oregonator.o: In function `Foregonator(octave_value_list const &, int)':
/octave/include/octave/Array.h:135: undefined reference to
`_GLOBAL_OFFSET_TABLE_'
oregonator.o: In function `Foregonator(octave_value_list const &, int)':
/cygdrive/c/octave-2.0.16/examples/oregonator.cc:15: undefined reference
to `vector_value_
_C12octave_valuebb@PLT'
/cygdrive/c/octave-2.0.16/examples/oregonator.cc:15: undefined reference
to `_$_12octave_value@PLT'
/cygdrive/c/octave-2.0.16/examples/oregonator.cc:17: undefined reference
to `LC6@GOTOFF'
/cygdrive/c/octave-2.0.16/examples/oregonator.cc:17: undefined reference
to `LC6@GOTOFF'
/cygdrive/c/octave-2.0.16/examples/oregonator.cc:17: undefined reference
to `LC7@GOTOFF'
/cygdrive/c/octave-2.0.16/examples/oregonator.cc:17: undefined reference
to `LC8@GOTOFF'
/cygdrive/c/octave-2.0.16/examples/oregonator.cc:18: undefined reference
to `LC8@GOTOFF'
/cygdrive/c/octave-2.0.16/examples/oregonator.cc:19: undefined reference
to `LC9@GOTOFF'
/cygdrive/c/octave-2.0.16/examples/oregonator.cc:21: undefined reference
to `__12octave_va
lueRC12ColumnVectori@PLT'oregonator.o: In function
`Foregonator(octave_value_list const &, int)':
/octave/include/octave/oct-obj.h:49: undefined reference to `__t5Array1Z
12octave_valueiRC12octave_value@PLT'oregonator.o: In function
`Foregonator(octave_value_list const &, int)':
/cygdrive/c/octave-2.0.16/examples/oregonator.cc:21: undefined reference
to `_$_12octave_v
--
Douglas Steele



-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
Subscription information:  http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------


Reply | Threaded
Open this post in threaded view
|

mkoctfile

Dirk Eddelbuettel

  "Douglas" == Douglas Steele <[hidden email]> writes:
  Douglas>  Hi Win2k, cygnus v1.0, octave-2.0.16
  Douglas>
  Douglas> /cygdrive/c/octave-2.0.16/examples 39 $ mkoctfile oregonator.cc
[...]
  Douglas> c++: unrecognized option `-shared' Warning: resolving

AFAIK nobody ever said that this would work under Windows.  Mumit said he'd
look into it, but right now, creating Octave .dll files does not work.

You could always install Linux ...

Dirk

--
According to the latest figures, 43% of all statistics are totally worthless.



-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
Subscription information:  http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------