octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #43932] Compilation error when HAVE_QSCI_FINDS


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #43932] Compilation error when HAVE_QSCI_FINDSELECTION not defined
Date: Sun, 04 Jan 2015 21:31:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

URL:
  <http://savannah.gnu.org/bugs/?43932>

                 Summary: Compilation error when HAVE_QSCI_FINDSELECTION not
defined
                 Project: GNU Octave
            Submitted by: sebald
            Submitted on: Sun 04 Jan 2015 09:31:30 PM GMT
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Compilation at the link stage is failing on my system:


/bin/sh ../libtool  --tag=CXX   --mode=link g++  -Wall -W -Wshadow
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual -g -O2 -pthread -no-undefined   -o octave-gui
octave_gui-main-gui.o ../libgui/liboctgui.la ../libinterp/liboctinterp.la
../liboctave/liboctave.la  -lutil -lm  
libtool: link: g++ -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -o .libs/octave-gui
octave_gui-main-gui.o  ../libgui/.libs/liboctgui.so
/usr/local/src/octave/octave/build1/libinterp/.libs/liboctinterp.so
-lQtNetwork -lQtOpenGL -lQtGui -lQtCore -lqscintilla2
../libinterp/.libs/liboctinterp.so
/usr/local/src/octave/octave/build1/liboctave/.libs/liboctave.so -lfreetype
-lhdf5 -lz -lfontconfig -lGL -lGLU -lX11 -lgl2ps
../liboctave/.libs/liboctave.so -lcurl -lcholmod -lumfpack -lamd -lcamd
-lcolamd -lccolamd -lcxsparse -larpack -lqrupdate -llapack -lblas -lreadline
-lncurses -lpcre -ldl -lgfortran -lutil -lm -pthread -Wl,-rpath
-Wl,/usr/local/lib/octave/3.9.0+
../libgui/.libs/liboctgui.so: undefined reference to
`find_dialog::handle_sel_search_changed(int)'
../libgui/.libs/liboctgui.so: undefined reference to
`find_dialog::handle_selection_changed(bool)'
collect2: ld returned 1 exit status


The HAVE_QSCI_FINDSELECTION must not be defined on my system so those member
functions are excluded from the build.  I needed to condition out the
declarations of those functions in the header file in order for linking to
pass.  I'll attach a changeset in the next post.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43932>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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