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 19:00:55 +0100

On Tue, Aug 28, 2012 at 6:22 PM, Philip Nienhuis <address@hidden> wrote:
Michael Goffioul wrote:
On Tue, Aug 28, 2012 at 3:26 PM, Philip Nienhuis <address@hidden
<mailto: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

        <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).

Could be that it is all Windows-specific. It builds fine under Linux (Mageia 2).

Yes, I think it only happens on Windows. Although technically it could happen on any platform. It depends on how Qt has been compiled/packaged.
 
IIRC perhaps this same problem (that I now recognize as no octave executable generated in MinGW) started popping up several months ago, and I gave up because of lack of time then.
3.6.2 could be built OK, later versions had problems.

Qt requirement has been added only recently. It's probably not the same problem.

Michael.


reply via email to

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