hallo,
mit freundlicher hilfe vom austrian coder hab ich anfangs viel hinbekommen. habe mich entschlossen mein gentoo-system neu aufzusetzen nachdem ich vieles rumprobiert hatte.
habe jetzt ein lauffaehiges amd64 system auf dem schon allerlei laeuft nur kann ich den vdr nicht emergen.
ich bekomme folgenden fehler:
g++ -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"hello"' -I../../../include -I/usr/include/ hello.c
g++ -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"hello"' -I../../../include -I/usr/include/ i18n.c
g++ -shared hello.o i18n.o -o libvdr-hello.so
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: hello.o: relocation R_X86_64_32 against `vtable for cMenuSetupHello' can not be used when making a shared object; recompile with -fPIC
hello.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libvdr-hello.so] Error 1
make: Leaving directory `/var/tmp/portage/vdr-1.3.18/work/vdr-1.3.18/PLUGINS/src/hello'
!!! ERROR: media-video/vdr-1.3.18 failed.
!!! Function src_compile, Line 299, Exitcode 2
!!! compile problem plugin: /var/tmp/portage/vdr-1.3.18/work/vdr-1.3.18/PLUGINS/src/hello
!!! If you need support, post the topmost build error, NOT this status message.
Alles anzeigen
hab das ganze auch schon mal probiert mit USE="-fPIC" emerge vdr geht aber auch nicht.
die tv-karte scheint er laut dmesg richtig eingebunden zu haben.
evtl. als hinweis noch:
beim bootstrappen hatte ich anfangs probleme mit meinen CFLAGS. die hatte ich beim ersten setup nicht. ich benutze die von amd empfohlenen. durch viel rumprobieren hab ich dann rausgefunden das -ffast_math das uebel war.
hier meine make.conf:
These settings were set by the catalyst build script that automatically built$
# Please consult /etc/make.conf.example for a more detailed example
#CFLAGS="-O3 -march=athlon64 -funroll-all-loops -funit-at-a-time -fpeel-loops -$
#CFLAGS="-O3 -march=athlon64 -pipe -ffast_math"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="-gnome -gtk -qt dvb samba ftp ethereal X"
MAKEOPTS="-j2"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.dee/pub/mirrors/gentoo [URL]ftp://ftp.join.un[/URL]$
SYNC="rsync://rsync16.de.gentoo.org/gentoo-merged"
ACCEPT_KEYWORDS="~amd64"
Alles anzeigen
urks hab grad gesehen das ich meine cflags auskommentiert hatte .... naja damit hab ich wohl alle optimierungen verloren. reichts wenn ich ein emerge -uD world && emerge system mache?
na toll ... wieder ewig warten
edit:
hab vergessen zu sagen das ich den 2.6.10-r7 kernel benutze