octave-maintainers
[Top][All Lists]
Advanced

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

Re: MinGW build error (3) No rule to make target `corefcn/libcorefcn.la'


From: Michael Goffioul
Subject: Re: MinGW build error (3) No rule to make target `corefcn/libcorefcn.la', needed by 'octave-config.exe'
Date: Tue, 28 Aug 2012 15:40:22 +0100

On Tue, Aug 28, 2012 at 3:26 PM, Philip Nienhuis <address@hidden> wrote:
John W. Eaton wrote:
On 28-Aug-2012, Philip Nienhuis wrote:

|>  ../run-octave --norc --silent --no-history ../../octave/test/fntests.m
|>  ../../octave/test
|>  /home/Philip/octdev/oct-3.7/libtool: line 10108:
|>  /home/Philip/octdev/oct-3.7/src/octave: No such file or directory
|>  /home/Philip/octdev/oct-3.7/libtool: line 10108: exec:
|>  /home/Philip/octdev/oct-3.7/src/octave: cannot execute: No such file or
|>  directory
|>  make[1]: *** [check] Error 126
|>  make[1]: Leaving directory `/home/Philip/octdev/oct-3.7/test'
|>  make: *** [check] Error 2
|
| ....and here's the contents of<BUILDDIR>/src:
|
| address@hidden ~/octdev/oct-3.7
| $ ls -l src
| total 3905
| -rw-r--r-- 1 Philip Administrators   96964 Aug 28 10:20 Makefile
| -rw-r--r-- 1 Philip Administrators   25765 Aug 28 12:54 mkoctfile.cc
| -rwxr-xr-x 1 Philip Administrators   28174 Aug 28 12:54 mkoctfile.exe
| -rw-r--r-- 1 Philip Administrators 2520069 Aug 28 12:54 mkoctfile.o
| -rw-r--r-- 1 Philip Administrators    8112 Aug 28 12:54 octave-config.cc
| -rwxr-xr-x 1 Philip Administrators   28686 Aug 28 12:54 octave-config.exe
| -rw-r--r-- 1 Philip Administrators 1286476 Aug 28 12:54 octave-config.o
|
|
| So, building of octave&  octave-cli has simply been skipped w/o warning

| (unless the stanzas:
|    Makefile:2632: warning: overriding commands for target `check'
|    Makefile:2214: warning: ignoring old commands for target `check'
| ...indicate something).
| I wouldn't know how to get any further here. Suggestions?

Oops.  I think the following changeset will fix that problem:

   http://hg.savannah.gnu.org/hgweb/octave/rev/b241e69306a5

You should just need to update and run make again.  You should NOT
need to run autogen.sh or configure.

Thanks.

Built continues a bit further, but then:

libtool: link: g++ -shared-libgcc -g -O2 -mieee-fp -Ic:/Programs/gplibs/include/freetype2
-Ic:/Programs/gplibs/include -IX:/Programs/gplibs/include -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -Wl,--allow-multiple-definition -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc-v2 -o .libs/octave.exe octave-main.o  -L/x/Programs/gplibs/lib -L/x/Programs/OctaveLibs/lib -L/x/programs/GnuWin32/lib ../libgui/src/.libs/liboctgui.a -LX:/programs/msys/home/Philip/qt4/qt-everywhere-opensource-src-4.7.4/lib -L/projetos/gcc/bld/452/build/mingw32/winsup/mingw -L/projetos/gcc/bld/452/build/mingw32/winsup/w32api/lib -L/projetos/gcc/bld/452/build/mingw32/libstdc++-v3/src -L/projetos/gcc/bld/452/build/mingw32/libstdc++-v3/src/.libs -Lx:/Programs/gplibs/lib -Lx:/Programs/OctaveLibs/lib -Lx:/programs/GnuWin32/lib -Lc:/Programs/gplibs/lib
 -LX:/Programs/gplibs/lib /home/Philip/octdev/oct-3.7/libinterp/.libs/liboctinterp.dll.a -lQtCore -lQtGui -lQtNetwork -lqscintilla2 ../libinterp/.libs/liboctinterp.dll.a /home/Philip/octdev/oct-3.7/liboctave/.libs/liboctave.dll.a -lfltk_gl -lfltk -lole32 -luuid -lcomctl32 /x/Programs/OctaveLibs/lib/libhdf5.dll /mingw/lib/libm.a x:/Programs/gplibs/lib/libfontconfig.dll.a /mingw/lib/libiconv.dll.a x:/Programs/gplibs/lib/libfreetype.dll.a -lz /mingw/lib/libexpat.dll.a -lopengl32 -lglu32 ../liboctave/.libs/liboctave.dll.a /home/Philip/octdev/oct-3.7/libcruft/.libs/libcruft.dll.a -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -larpack -lqrupdate /x/Programs/OctaveLibs/lib/libfftw3.dll.a /x/Programs/OctaveLibs/lib/libfftw3f.dll.a -lreadline -lncurses -lpcre ../libcruft/.libs/libcruft.dll.a -lblas /mingw/lib/gcc/mingw32/4.5.2/libstdc++.dll.a /mingw/lib/libiberty.a -lpthread /mingw/lib/gcc/mingw32/4.5.2/libgfortran.dll.a -llapack -lgdi32 -lws2_32 -luser32 -lkernel32 -L/x/octave/octave-3.7.x/lib/octave/3.7.0+ -Lx:/Programs/gplibs/lib -L/x/Programs/OctaveLibs/lib -L/mingw/lib -L/mingw/lib/gcc/mingw32/4.5.2
x:/programs/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lQtCore
x:/programs/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lQtGui
x:/programs/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lQtNetwork
collect2: ld returned 1 exit status
make[2]: *** [octave.exe] Error 1

make[2]: Leaving directory `/home/Philip/octdev/oct-3.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Philip/octdev/oct-3.7'

make: *** [all] Error 2

I think you have the same problem as me, namely that DLL under Windows are suffixed with '4'.  This will require proper detection in the configure script. I'll try to come up with a solution in the coming days (I'm currently adding up a couple of patches to fix compilation under Windows).

Michael.


reply via email to

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