bugGNU Octave - Bugs: bug #32281, build failure of...

 
 

bug #32281: build failure of __fltk_uigetfile__ on mingw

Submitted by:  Tatsuro MATSUOKA <tmacchant>
Submitted on:  Fri 28 Jan 2011 07:01:51 PM UTC  
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Microsoft Windows

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Sun 30 Jan 2011 03:02:14 AM UTC, comment #6: 

I have confirmed the fix.  Thanks!

Tatsuro MATSUOKA <tmacchant>
Sat 29 Jan 2011 05:37:00 PM UTC, comment #5: 

I checked in the following changeset:

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

Does that fix the problem for you?

John W. Eaton <jwe>
Project Administrator
Sat 29 Jan 2011 08:06:59 AM UTC, comment #4: 

If I add
LIBS=-lfltk
at the configure

build error was diaappeared and _fltk_uigetfile_-0.dll was created successfully.

Perhaps some flag is missing for the windows build.

Tatsuro MATSUOKA <tmacchant>
Fri 28 Jan 2011 09:05:56 PM UTC, comment #3: 

FWIW, on Mandriva Linux 2010.1 I had to add a symlink "FL_include" to /usr/include/.../Fl_include (i.e. just a stupid lower/upper caps directory name issue).

Philip Nienhuis <philipnienhuis>
Project Member
Fri 28 Jan 2011 07:37:16 PM UTC, comment #2: 

I am not sure, is it required to add something for _fltk_uigetfile_ to src/Makefile.am?

Kai

Kai Habel <kahacjde>
Project Member
Fri 28 Jan 2011 07:26:18 PM UTC, comment #1: 

The class Fl_File_Chooser should be defined in the fltk library.

I don't know what is going on here. Did I miss an entry for _fltk_uigetfile_ somewhere?

Kai

Kai Habel <kahacjde>
Project Member
Fri 28 Jan 2011 07:01:51 PM UTC, original submission:  

**********************************
author Kai Habel <kai.habel@gmx.de>
Thu Jan 27 17:58:19 2011 +0100
changeset 12183 b4d26c65e7e6
parent 12182 99b00a9a5147
************************************
Using dev source of changeset the above I have met the build failure of _fltk_uigetfile_.

The _fltk_uigetfile_ is newly implemented and this is a new problem.

I am using the fltk-1.3.

Creating library file: DLD-FUNCTIONS/.libs/__fltk_uigetfile__.dll.a
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0x518): undefined reference to `Fl_File_Chooser::filename_label'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0x557): undefined reference to `Fl_File_Chooser::Fl_File_Chooser(char const*, char const*, int, char const*)'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0x56d): undefined reference to `Fl_File_Chooser::preview(int)'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0x588): undefined reference to `Fl_File_Chooser::show()'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0x591): undefined reference to `Fl::wait()'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0x59f): undefined reference to `Fl_File_Chooser::shown()'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0xb23): undefined reference to `Fl_File_Chooser::value(int)'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0xb33): undefined reference to `Fl_File_Chooser::count()'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0x1042): undefined reference to `Fl_File_Chooser::directory()'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0x11e7): undefined reference to `Fl_File_Chooser::filter_value()'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0x1373): undefined reference to `Fl_File_Chooser::hide()'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0x1378): undefined reference to `Fl::flush()'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0x1390): undefined reference to `Fl_File_Chooser::~Fl_File_Chooser()'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0x1568): undefined reference to `Fl_File_Chooser::value(int)'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0x176a): undefined reference to `Fl_File_Chooser::value(int)'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0x1f85): undefined reference to `Fl_File_Chooser::ok_label(char const*)'
DLD-FUNCTIONS/.libs/__fltk_uigetfile__.o:__fltk_uigetfile__.cc:(.text+0x2013): undefined reference to `Fl_File_Chooser::value(int)'

Tatsuro MATSUOKA <tmacchant>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by philipnienhuis (Posted a comment)
  • -email is unavailable- added by kahacjde (Posted a comment)
  • -email is unavailable- added by tmacchant (Submitted the item)
  • -email is unavailable- added by tmacchant
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-30 jwe StatusNone => Fixed
        Open/ClosedOpen => Closed
    2011-01-28 tmacchant Carbon-Copy- => Added kai.habel@gmx.de

    Back to the top


    Powered by Savane 3.5