Bug 87976

Summary: kdemultimedia won't comiple without -fPIC; when compiled, doesn't work
Product: [Unmaintained] kdemultimedia Reporter: Chris Lieb <chris__lieb>
Component: generalAssignee: Multimedia Developers <kde-multimedia>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris Lieb 2004-08-24 22:08:28 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    Gentoo Packages
Compiler:          gcc-3.3.4 glibc-2.3.4.20040808-r0; gcc compiled with java and fortran77 support
OS:                Linux

When I emerge kdemultimedia, it errors:

/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: main.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
main.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [kaudiocreator] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.0/work/kdemultimedia-3.3.0/kaudiocreator'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.0/work/kdemultimedia-3.3.0/kaudiocreator'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.0/work/kdemultimedia-3.3.0'
make: *** [all] Error 2

!!! ERROR: kde-base/kdemultimedia-3.3.0 failed.
!!! Function kde_src_compile, Line 130, Exitcode 2
!!! died running emake, kde_src_compile:make

When I compile with -fPIC, it completes.  However, not KMix will not recognize any output devices and only has "Dummy" input devices, and Noatun crashed when I attempt to start it.  I am running a 64-bit install on an Athlon64.
Comment 1 Chris Lieb 2004-09-07 03:52:45 UTC
After recompiling the dependencies of kdemultimedia, it compiled without requiring -fPIC.  Also, Noatun now works.  However, KMix still fails to recognize my sound card.  Also, when I try to play (KsCD) or rip (KAudioCreator) a CD, I get the following error message:

CDROM read or access error (or no audio disc in drive).
Please make sure you have access permissions to:
/dev/cdrom

I'm not sure if these problems are related, or if they should be placed in a new bug.
Comment 2 Ismail Donmez 2006-04-04 20:00:49 UTC
Closing as invalid.