bugGnash - The GNU Flash player - Bugs: bug #29727, Compile failure during linking:...

 
 

bug #29727: Compile failure during linking: undefined reference to gnash::GtkGui::GtkGui

Submitted by:  Andrew Guertin <dolphinling>
Submitted on:  Sat 01 May 2010 06:57:53 AM UTC  
 
Category: buildSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 01 May 2010 10:55:23 AM UTC, comment #5:

r12173 fixes it :)

Andrew Guertin <dolphinling>
Sat 01 May 2010 10:40:44 AM UTC, comment #4:

Ready for test as of r12173

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sat 01 May 2010 10:27:52 AM UTC, comment #3:

seems an easy fix in gui/am-frag/gtk.am

I'm trying a patch.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sat 01 May 2010 10:22:26 AM UTC, comment #2:

Confirmed on 12172.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sat 01 May 2010 09:53:40 AM UTC, comment #1:

I have tracked this down further:

Revision 12035 works on this machine
Revisions 12036-12041 failed with the following error: [1]
Revisions 12042 and on fail with the error that is the subject of this report.

Revision 12042 was "big merge from hwaccel branch"

[1]
/usr/include/boost-1_41/boost/smart_ptr/intrusive_ptr.hpp: In destructor ‘boost::intrusive_ptr<T>::~intrusive_ptr() [with T = const gnash::BitmapInfo]’:
../../trunk-old/libcore/fill_style.h:122: instantiated from here
/usr/include/boost-1_41/boost/smart_ptr/intrusive_ptr.hpp:101: error: ‘intrusive_ptr_release’ was not declared in this scope
/usr/include/boost-1_41/boost/smart_ptr/intrusive_ptr.hpp: In copy constructor ‘boost::intrusive_ptr<T>::intrusive_ptr(const boost::intrusive_ptr<T>&) [with T = const gnash::BitmapInfo]’:
../../trunk-old/libcore/fill_style.h:66: instantiated from ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Tp*, const _Tp&) [with _Tp = gnash::fill_style]’
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include/g++-v4/bits/stl_vector.h:690: instantiated from ‘void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = gnash::fill_style, _Alloc = std::allocator<gnash::fill_style>]’
../../trunk-old/libcore/swf/ShapeRecord.h:125: instantiated from here
/usr/include/boost-1_41/boost/smart_ptr/intrusive_ptr.hpp:96: error: ‘intrusive_ptr_add_ref’ was not declared in this scope
../../trunk-old/backend/Renderer_cairo.cpp: At global scope:
../../trunk-old/backend/Renderer_cairo.cpp:91: warning: ‘void gnash::snap_to_pixel(cairo_t*, double&, double&, bool)’ defined but not used
make[3]: *** [Renderer_cairo.lo] Error 1

Andrew Guertin <dolphinling>
Sat 01 May 2010 06:57:53 AM UTC, original submission:

I'm getting a consistent failure compiling on a particular machine. The machine is an x86_64 running Gentoo.

The error is
CXXLD gtk-gnash
gtk_gnash-gui_gtk.o: In function `gnash::createGTKGui(unsigned long, float, bool, gnash::RunResources&)':
/home/andrew/gnash/configure/gui/../../trunk/gui/gui_gtk.cpp:38: undefined reference to `gnash::GtkGui::GtkGui(unsigned long, float, bool, gnash::RunResources&)'
collect2: ld returned 1 exit status
make[4]: *** [gtk-gnash] Error 1

configure was run with --prefix=$HOME/local --enable-gui=gtk --with-renderer=cairo --with-plugins-install=prefix

I tried to track down the commit it was introduced in, but ran into a different (now-fixed) compiler failure. I haven't tried going back farther to see if it works before that failure was introduced. This is a (relatively) new machine, so I have never successfully compiled on it.

Andrew Guertin <dolphinling>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by dolphinling (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 01 May 2010 02:16:27 PM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sat 01 May 2010 10:40:44 AM UTCstrkStatusIn Progress=>Ready For Test
    Sat 01 May 2010 10:27:52 AM UTCstrkStatusConfirmed=>In Progress
      Assigned torsavoye=>strk
    Sat 01 May 2010 10:22:26 AM UTCstrkCategoryNone=>build
      StatusNone=>Confirmed
      Assigned toNone=>rsavoye

    Back to the top


    Powered by Savane 3.1-cleanup1