Bug 37023

Summary: linking problem when compiling cvs version off avifile from avifile,sourceforge.net
Product: [Retired] Red Hat Linux Reporter: Knut J BJuland <knutjbj>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED WORKSFORME QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-25 17:12:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
compiler output when comiling avifile-0.6 none

Description Knut J BJuland 2001-04-21 20:45:08 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.2-2 i686)


gcc link plugins in aviplay incorretly, it working in gcc-2.96-80

Reproducible: Always
Steps to Reproduce:
1..cvs -d:pserver:anonymous.net./cvsroot/avifile co
avfile-0.6
2. cd avifile-0.6,./configure make, make install
3. aviplay
	

Actual Results:  
it worked with gcc-2.96-80 from rawhide
ibwin32.so.0: found 23 plugins
libmpeg_audiodec.so.0: found 1 plugin
libmp3lame_audioenc.so.0: found 1 plugin
libaudiodec.so.0: found 4 plugins
Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr
pge mca cmov pat pse36 mmx fxsr sse
797.427 MHz Pentium III (Coppermine) processor detected
Stream 0: 73646976:34766964, 8117 chunks
Cache: Adding stream 0, 8117 chunks
Stream 1: 73647561:0, 324 chunks
Cache: Adding stream 1, 324 chunks
Cache:   Creating cache for file descriptor: 8
Successfully initialized stream 0
Chunk table size 8117, format size 40
Successfully initialized stream 1
Chunk table size 3887537, format size 30
Successfully opened /c/astro.avi. 1 video streams, 1 audio streams
Length 8117
File /c/astro.avi successfully opened
2 streams
Audio in MPEG Layer-1/2 format
src [wFormatTag=85, nChannels=2, nSamplesPerSec=48000,
nAvgBytesPerSec=12000, nBlockAlign=1, wBitsPerSample=16, cbSize=12]
dst [wFormatTag=1, nChannels=2, nSamplesPerSec=48000,
nAvgBytesPerSec=192000, nBlockAlign=4, wBitsPerSample=16, cbSize=0]
File /c/astro.sub not found
File /c/astro.SUB not found
Initializing registry
Decoder is capable of YUV output ( flags 0x1f )
Video Depth 32
Loading subtitle font: "6x13"
Creating YUV overlay for width 720, height 480, fourcc 0x32595559
Player started
aviplay: error while loading shared libraries:
/usr/lib/avifile/libmpeg_audiodec.so.0: undefined symbol:
generate__9Mpegtoraw



Expected Results:  aviplay plays with sound

I have placed win32dlls in /usr/lib/win32/ . using divx files from my own
DVD

Comment 1 Jakub Jelinek 2001-04-25 15:08:02 UTC
Can you attach here preprocessed filter.ii (use -save-temps) plus g++
options used?

Comment 2 Knut J BJuland 2001-04-25 16:33:24 UTC
Created attachment 16407 [details]
compiler output when comiling avifile-0.6

Comment 3 Jakub Jelinek 2001-04-25 17:12:33 UTC
That seems different to the first report, plus it looks like a bug in
avifile, not gcc.

Comment 4 Knut J BJuland 2001-04-25 17:46:02 UTC
I used gcc 2.9.6-80 to compile, an I think it'll be fixed in avifile-0.6 when ii
is released.