bugGnash - The GNU Flash player - Bugs: bug #24750, undefined reference to...

 
 

bug #24750: undefined reference to `BZ2_bzDecompressInit'

Submitted by:  None
Submitted on:  Wed 05 Nov 2008 03:43:12 AM UTC  
 
Category: buildSeverity: 3 - Normal
Release: 0.8.4 releaseStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 04 Dec 2008 12:14:11 PM UTC, comment #3:

No follow up, assuming fixed.

Benjamin Wolsey <bwy>
Project Member
Fri 07 Nov 2008 11:25:31 AM UTC, comment #2:

For the reporter: drop --with-ffmpeg-incl flag, since you're specifying a directory which should be scanned.
Chances are pkg-config will get you the correct stuff.
Need or not of bzlib depends really on how ffmpeg was compiled.
Also, test with gnash trunk, since the ffmpeg macros changed heavily.

Sandro Santilli <strk>
Project Member
Wed 05 Nov 2008 08:10:31 AM UTC, comment #1:

Rob, IIRC -lbz was one of the dependencies of ffmpeg.
This guy is not using pkg-config (as he gives --with-ffmpeg-incl)
but note he's using --with-ffmpeg-incl and NOT --with-ffmpeg-lib

Anonymous (please put yourself in the Cc list so to get notifications when we ask questions): add an LDFLAGS=-lbz to your 'make' call and see if it fixes it; Also, please try gnash trunk:

bzr branch http://bzr.savannah.gnu.org/r/gnash/trunk

Sandro Santilli <strk>
Project Member
Wed 05 Nov 2008 03:43:12 AM UTC, original submission:

First i configure with
./configure --prefix=/usr --enable-gui=gtk --enable-renderer=cairo --enable-media=ffmpeg --with-ffmpeg-incl=/usr/include --enable-z=no

Then type make

/jhalfs/gnash-0.8.4/libmedia/.libs/libgnashmedia.so: undefined reference to `BZ2_bzDecompressInit'
/jhalfs/gnash-0.8.4/libmedia/.libs/libgnashmedia.so: undefined reference to `BZ2_bzDecompress'
/jhalfs/gnash-0.8.4/libmedia/.libs/libgnashmedia.so: undefined reference to `BZ2_bzDecompressEnd'
collect2: ld returned 1 exit status

readelf -d libmedia/.libs/libgnashmedia.so

Dynamic section at offset 0x5b391c contains 39 entries:
标记 类型 名称/值
0x00000001 (NEEDED) 共享库:[libjpeg.so.62]
0x00000001 (NEEDED) 共享库:[libz.so.1]
0x00000001 (NEEDED) 共享库:[libcurl.so.4]
0x00000001 (NEEDED) 共享库:[libboost_thread-gcc41-mt-1_36.so.1.36.0]
0x00000001 (NEEDED) 共享库:[libboost_date_time-gcc41-mt-1_36.so.1.36.0]
0x00000001 (NEEDED) 共享库:[libvorbisenc.so.2]
0x00000001 (NEEDED) 共享库:[libvorbis.so.0]
0x00000001 (NEEDED) 共享库:[libtheora.so.0]
0x00000001 (NEEDED) 共享库:[libogg.so.0]
0x00000001 (NEEDED) 共享库:[libSDL-1.2.so.0]
0x00000001 (NEEDED) 共享库:[libpthread.so.0]
0x00000001 (NEEDED) 共享库:[librt.so.1]
0x00000001 (NEEDED) 共享库:[liblber-2.3.so.0]
0x00000001 (NEEDED) 共享库:[libstdc++.so.6]
0x00000001 (NEEDED) 共享库:[libm.so.6]
0x00000001 (NEEDED) 共享库:[libc.so.6]
0x00000001 (NEEDED) 共享库:[libgcc_s.so.1]
0x0000000e (SONAME) Library soname: [libgnashmedia-0.8.4.so]
0x0000000f (RPATH) Library rpath: [/usr/lib]
0x0000000c (INIT) 0x98ee0
0x0000000d (FINI) 0x4d0b64
0x00000004 (HASH) 0xd4
0x00000005 (STRTAB) 0x10664
0x00000006 (SYMTAB) 0x4ed4
0x0000000a (STRSZ) 94263 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000003 (PLTGOT) 0x5b4c48
0x00000002 (PLTRELSZ) 3680 (bytes)
0x00000014 (PLTREL) REL
0x00000017 (JMPREL) 0x98080
0x00000011 (REL) 0x28ec0
0x00000012 (RELSZ) 455104 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x00000016 (TEXTREL) 0x0
0x6ffffffe (VERNEED) 0x28d90
0x6fffffff (VERNEEDNUM) 5
0x6ffffff0 (VERSYM) 0x2769c
0x6ffffffa (RELCOUNT) 24522
0x00000000 (NULL) 0x0

ldd libmedia/.libs/libgnashmedia.so
linux-gate.so.1 => (0xffffe000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7749000)
libz.so.1 => /lib/libz.so.1 (0xb772e000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0xb76f5000)
libboost_thread-gcc41-mt-1_36.so.1.36.0 => /usr/lib/libboost_thread-gcc41-mt-1_36.so.1.36.0 (0xb76e4000)
libboost_date_time-gcc41-mt-1_36.so.1.36.0 => /usr/lib/libboost_date_time-gcc41-mt-1_36.so.1.36.0 (0xb76d2000)
libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb75d8000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb75af000)
libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb7568000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7563000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb74ed000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb74d5000)
librt.so.1 => /lib/librt.so.1 (0xb74cc000)
liblber-2.3.so.0 => /usr/lib/liblber-2.3.so.0 (0xb74c3000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb73df000)
libm.so.6 => /lib/libm.so.6 (0xb73ba000)
libc.so.6 => /lib/libc.so.6 (0xb728f000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7283000)
libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7249000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7120000)
libdl.so.2 => /lib/libdl.so.2 (0xb711c000)
libdirectfb-1.3.so.0 => /usr/lib/libdirectfb-1.3.so.0 (0xb7057000)
libfusion-1.3.so.0 => /usr/lib/libfusion-1.3.so.0 (0xb7035000)
libdirect-1.3.so.0 => /usr/lib/libdirect-1.3.so.0 (0xb701a000)
/lib/ld-linux.so.2 (0x80000000)

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 bwy (Posted a comment)
  • -unavailable- added by strk (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
    Thu 04 Dec 2008 12:14:11 PM UTCbwyStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 07 Nov 2008 11:25:31 AM UTCstrkStatusNone=>Ready For Test
    Wed 05 Nov 2008 08:10:31 AM UTCstrkCategorygui-gtk=>build

    Back to the top


    Powered by Savane 3.1-cleanup1