help-octave
[Top][All Lists]
Advanced

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

Building Octave under Mingw


From: madushan1000
Subject: Building Octave under Mingw
Date: Sun, 9 Sep 2012 21:44:19 -0700 (PDT)

I'm trying to build GNU Octave under Mingw compiler.After building required
dependencies I tried to build octave.
When I call make,I think at the final linking stage,at this line

//bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -pthread -DHAVE_CONFIG_H
-mieee-fp -Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread
-pthread -g -O2 -pthread -no-undefined -o octave.exe main.o liboctinterp.la
../liboctave/liboctave.la ../libcruft/libcruft.la -liberty -lm -lgdi32
-lws2_32 -luser32 -lkernel32 -lgdi32 -lws2_32 -luser32 -lkernel32/

ld.exe grows up to all the free RAM and after exceed memory,gives lots of
errors.In those errors some are saying c standers libraries could't find
too.I dumped errors to file and the file size is more than 40MBs.

Some of those errors 
/c:/mingw/bin/../lib/gcc/mingw32/4.7.0/include/c++/ostream:111: undefined
reference to `std::cout'
c:/mingw/bin/../lib/gcc/mingw32/4.7.0/include/c++/ostream:111: undefined
reference to `std::basic_ostream<char, std::char_traits&lt;char> >&
std::endl<char, std::char_traits&lt;char> >(std::basic_ostream<char,
std::char_traits&lt;char> >&)'
./.libs/liboctinterp.a(liboctinterp_la-octave.o): In function `octave_main':
C:\MinGW\sources\octave-3.6.2\src/octave.cc:931: undefined reference to
`std::basic_string<char, std::char_traits&lt;char>, std::allocator<char>
>::basic_string(char const*, std::allocator<char> const&)'
C:\MinGW\sources\octave-3.6.2\src/octave.cc:931: undefined reference to
`std::basic_string<char, std::char_traits&lt;char>, std::allocator<char>
>::~basic_string()' ./.libs/liboctinterp.a(liboctinterp_la-octave.o): In
function `protect_var<bool>':
C:\MinGW\sources\octave-3.6.2\src/unwind-prot.h:238: undefined reference to
`operator new(unsigned int)'
./.libs/liboctinterp.a(liboctinterp_la-octave.o): In function `~Array':
C:\MinGW\sources\octave-3.6.2\src/../liboctave/Array.h:235: undefined
reference to `operator delete(void*)'
./.libs/liboctinterp.a(liboctinterp_la-octave.o): In function
`maximum_braindamage':/
  



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Building-Octave-under-Mingw-tp4643923.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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