bugGnash - The GNU Flash player - Bugs: bug #28740, Current trunk (r11809,...

 
 

bug #28740: Current trunk (r11809, r11842,r11852,r11880) fails building testsuite

Submitter:  Sandro Santilli <strk>
Submitted:  Tue 26 Jan 2010 07:20:15 PM UTC
   
 
Category:  build Severity:  5 - Blocker
Release:  None Status:  Fixed
Privacy:  Public Assigned to:  strk
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 04 Feb 2010 07:39:27 AM UTC, comment #10: 

The second patch is now in trunk, r11883.

Sandro Santilli <strk>
Group Member
Wed 03 Feb 2010 11:20:55 PM UTC, comment #9: 

Oops, the patch is incomplete in that we also need to reorder
SUBDIRS in top-level Makefile. The correct order is:
 libmedia
 libsound (needs libmedia)
 libcore (needs both libmedia and libsound)

Sandro Santilli <strk>
Group Member
Wed 03 Feb 2010 11:09:16 PM UTC, comment #8: 

I sent a patch for this problem to gnash-dev, with explanation
of the problem. I re-attach here just for the record.

The core problem is that libcore must link to libsound as it
depends on it, while libsound should not link to libcore but must link to libmedia.

(file #19611)

Sandro Santilli <strk>
Group Member
Sat 30 Jan 2010 07:21:45 PM UTC, comment #7: 

r11852 is still broken.
it's libsound missing now:

../../libcore/.libs/libgnashcore.so: undefined reference to `gnash::sound::sound_handler::startSound(int, int, std::vector<gnash::sound::SoundEnvelope, std::allocator<gnash::sound::SoundEnvelope> > const*, bool, unsigned int, unsigned int)'
../../libcore/.libs/libgnashcore.so: undefined reference to `gnash::sound::sound_handler::playStream(int, unsigned long)'
collect2: ld returned 1 exit status
make[1]: * [StreamTest] Error 1
make[1]: Leaving directory `/home/src/gnash/build/head/gtk+kde4+sdl+fb+dump_agg_ffmpeg-svn-20090520/testsuite/libcore.all'

Sandro Santilli <strk>
Group Member
Fri 29 Jan 2010 09:51:50 PM UTC, comment #6: 

Ooops, it's back as of r11842

Sandro Santilli <strk>
Group Member
Fri 29 Jan 2010 07:56:13 PM UTC, comment #5: 

Fixed by I don't remember which commit.
Rob, consider following up after fixes by specifying revision
number of the fix (for the record)

Sandro Santilli <strk>
Group Member
Wed 27 Jan 2010 07:42:31 AM UTC, comment #4: 

libtool 2.2.4, automake 1.10.1

        LIBLTDL -lltdl

Sandro Santilli <strk>
Group Member
Wed 27 Jan 2010 07:31:11 AM UTC, comment #3: 

Ubuntu 8.10 (LTS)

Sandro Santilli <strk>
Group Member
Wed 27 Jan 2010 02:07:40 AM UTC, comment #2: 

I don't have this problem with on Fedora, Debian, or Ubuntu. All it really needs is to have libmedia added to the link line. Which version of which distribution are you having this problem on ?

Rob Savoye <rsavoye>
Group administrator
Tue 26 Jan 2010 08:56:22 PM UTC, comment #1: 

I don't have this problem.

Benjamin Wolsey <bwy>
Group Member
Tue 26 Jan 2010 07:20:15 PM UTC, original submission:  


libtool: link: g++ -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wre
turn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -Wl,--as-neede
d -o .libs/StreamTest StreamTest.o  /usr/src/gnash/build/head/gtk+kde4+sdl+fb+du
mp_agg_ffmpeg-svn-20090520/libltdl/./.libs/dlopen.a -L/usr/lib -L/usr/lib64 -L/e
xtra/ffmpeg-svn-20090520/lib ../../libcore/.libs/libgnashcore.so /usr/src/gnash/
build/head/gtk+kde4+sdl+fb+dump_agg_ffmpeg-svn-20090520/libnet/.libs/libgnashnet
.so /usr/lib/libglib-2.0.so /usr/src/gnash/build/head/gtk+kde4+sdl+fb+dump_agg_f
fmpeg-svn-20090520/libamf/.libs/libgnashamf.so /usr/lib/libfreetype.so -lfontcon
fig ../../libmedia/.libs/libgnashmedia.so -lspeex -lspeexdsp ../../libsound/.lib
s/libgnashsound.so /usr/lib/libSDL.so ../../libbase/.libs/libgnashbase.so ../../
libamf/.libs/libgnashamf.so /usr/src/gnash/build/head/gtk+kde4+sdl+fb+dump_agg_f
fmpeg-svn-20090520/libbase/.libs/libgnashbase.so /usr/lib/libjpeg.so -lpng12 /us
r/lib/libgif.so /usr/lib/libcurl-gnutls.so /usr/lib/libidn.so -lldap -lkrb5 -lk5
crypto -lcom_err -lgssapi_krb5 /usr/lib/libgnutls.so /usr/lib/libtasn1.so -lz /l
ib/libgcrypt.so -lboost_thread-gcc42-mt-1_34_1 -lboost_date_time-gcc42-1_34_1 -l
pthread ../../libltdl/.libs/libltdlc.a -lavcodec -lavformat -lavutil -lswscale -
lc -lrt -lX11 -lXi -lbz2 -llber -ldl -Wl,-rpath -Wl,/extra/gnash-cvs/lib/gnash
../../libcore/.libs/libgnashcore.so: undefined reference to `gnash::media::opera
tor<<(std::basic_ostream<char, std::char_traits<char> >&, gnash::media::audioCod
ecType const&)'
../../libcore/.libs/libgnashcore.so: undefined reference to `gnash::media::Media
Parser::nextVideoFrameTimestamp(unsigned long&) const'

Sandro Santilli <strk>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #19612:  linkingdeps2.patch added by strk (1KiB - text/x-diff - updated patch to correctly order SUBDIRS)
file #19611:  linkingdeps.patch added by strk (982B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rsavoye (Posted a comment)
  • -email is unavailable- added by bwy (Posted a comment)
  • -email is unavailable- added by strk (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 logged-in users can vote.

     

    Follow 17 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-02-18 strk StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2010-02-04 strk StatusIn Progress Ready For Test
    2010-02-03 strk Attached File- Added linkingdeps2.patch, #19612
    2010-02-03 strk Attached File- Added linkingdeps.patch, #19611
        StatusConfirmed In Progress
        Assigned toNone strk
        SummaryCurrent trunk (r11809, r11842,r11852) fails building testsuite Current trunk (r11809, r11842,r11852,r11880) fails building testsuite
    2010-01-30 strk Severity3 - Normal 5 - Blocker
        SummaryCurrent trunk (r11809, r11842) fails building testsuite Current trunk (r11809, r11842,r11852) fails building testsuite
    2010-01-29 strk StatusFixed Confirmed
        Open/ClosedClosed Open
        SummaryCurrent trunk (r11809) fails building testsuite Current trunk (r11809, r11842) fails building testsuite
    2010-01-29 strk StatusWorks For Me Fixed
        Open/ClosedOpen Closed
    2010-01-27 rsavoye Severity5 - Blocker 3 - Normal
        StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code