Bug 87976 - kdemultimedia won't comiple without -fPIC; when compiled, doesn't work
Summary: kdemultimedia won't comiple without -fPIC; when compiled, doesn't work
Status: RESOLVED NOT A BUG
Alias: None
Product: kdemultimedia
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-24 22:08 UTC by Chris Lieb
Modified: 2006-04-04 20:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.