bugGNU Octave - Bugs: bug #43932, Compilation error when...

 
 

bug #43932: Compilation error when HAVE_QSCI_FINDSELECTION not defined

Submitter:  Dan Sebald <sebald>
Submitted:  Sun 04 Jan 2015 09:31:30 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 05 Jan 2015 08:14:54 PM UTC, comment #3: 

Dan, could you please test if you can compile octave with the attached patch?

(file #32766)

Torsten Lilge <ttl>
Group Member
Mon 05 Jan 2015 05:59:38 AM UTC, comment #2: 

Oops, that was my fault (cset c2d01ed114ba). I have backedout the changeset. Thank you for the report.

Torsten Lilge <ttl>
Group Member
Sun 04 Jan 2015 09:46:15 PM UTC, comment #1: 

Attached is a simple changeset to place conditional #ifdef around the two unused declarations.

(file #32758)

Dan Sebald <sebald>
Sun 04 Jan 2015 09:31:30 PM UTC, original submission:  

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.

Dan Sebald <sebald>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #32758:  octave-find_dialog-2014jan04.patch added by sebald (900B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by sebald (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-01-05 ttl Attached File- Added cond_compile_find_diag_20150105.patch, #32766
    2015-01-05 ttl StatusNone Fixed
        Open/ClosedOpen Closed
    2015-01-04 sebald Attached File- Added octave-find_dialog-2014jan04.patch, #32758

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code