bugGnash - The GNU Flash player - Bugs: bug #21387, CVS Gnash does not build with...

 
 

bug #21387: CVS Gnash does not build with boost-1.33

Submitted by:  None
Submitted on:  Mon 22 Oct 2007 04:11:43 PM UTC  
 
Category: buildSeverity: 3 - Normal
Release: NoneStatus: Ready For Test
Privacy: PublicAssigned to: Rob Savoye <rsavoye>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 22 Oct 2007 06:37:49 PM UTC, comment #4:

fix confirmed.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Mon 22 Oct 2007 06:36:31 PM UTC, comment #3:

awesome it works, thanks much guys.

Anonymous
Mon 22 Oct 2007 04:21:52 PM UTC, comment #2:

Should be fixed now, please retry (update, autogen, configure, make)

Sandro Santilli <strk>
Project Member
Mon 22 Oct 2007 04:21:03 PM UTC, comment #1:

This is fixed now by moving the boost testing library to it's own BOOST_EXTRA_LIBS variable, and not polluting the existing BOOST_LIBS with unrequired libraries.

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Mon 22 Oct 2007 04:11:43 PM UTC, original submission:

Whenever I try to build gnash on my f7 box it fails with the following message

make[2]: Entering directory `/home/josef/build/gnash/utilities'
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -DNDEBUG -fvisibility-inlines-hidden -export-dynamic -lltdl -Wl,--as-needed -o gparser parser.o ../server/libgnashserver.la ../libbase/libgnashbase.la ../libmedia/libgnashmedia.la ../backend/libgnashbackend.la ../libamf/libgnashamf.la -lavcodec -lavutil -lvorbisenc -lvorbis -lm -logg -lavformat -lavcodec -lavutil -lavutil -lavcodec -lavutil -lglib-2.0 -lrt -lX11 -lXi -lm
g++ -g -O2 -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -DNDEBUG -fvisibility-inlines-hidden -Wl,--as-needed -o .libs/gparser parser.o -Wl,--export-dynamic ../server/.libs/libgnashserver.so -L/usr/lib64 ../libbase/.libs/libgnashbase.so ../libmedia/.libs/libgnashmedia.so ../backend/.libs/libgnashbackend.so /home/josef/build/gnash/server/.libs/libgnashserver.so /home/josef/build/gnash/libamf/.libs/libgnashamf.so /home/josef/build/gnash/libgeometry/.libs/libgnashgeo.so /home/josef/build/gnash/libmedia/.libs/libgnashmedia.so -lxml2 -lfreetype -lfontconfig -lSDL -lpangox-1.0 -lpango-1.0 -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl ../libamf/.libs/libgnashamf.so /home/josef/build/gnash/libbase/.libs/libgnashbase.so -ljpeg -lz -lcurl -lltdl -lboost_thread -lboost_date_time -lboost_serialization -lboost_unit_test_framework -lpthread -lvorbisenc -lvorbis -logg -lavformat -lavcodec -lavutil -lglib-2.0 -lrt -lX11 -lXi -lm -Wl,--rpath -Wl,/usr/lib/gnash
/usr/lib64/libboost_unit_test_framework.so: undefined reference to `init_unit_test_suite(int, char**)'
collect2: ld returned 1 exit status
make[2]: *** [gparser] Error 1
make[2]: Leaving directory `/home/josef/build/gnash/utilities'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/josef/build/gnash'
make: *** [all] Error 2

Boost seems to have changed its API so if you link -lboost_unit_test_framework you must provide a init_unit_test_suite(int, char**) function for it to use. I was trying to figure out where to put this, but I'm not versed well enough in this codebase in order to just add it and hope it works. This is from pulling CVS as of Mon Oct 22 12:00:47 EDT 2007.

Anonymous

 

(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 rsavoye (Posted a comment)
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 22 Oct 2007 06:37:49 PM UTCrsavoyeOpen/ClosedOpen=>Closed
    Mon 22 Oct 2007 04:21:03 PM UTCrsavoyeCategoryNone=>build
      StatusNone=>Ready For Test
      Assigned toNone=>rsavoye

    Back to the top


    Powered by Savane 3.1-cleanup1