I am trying to compile softhddevice. how can I solve below error?
Kind regards,
Cedric
/vdr-plugin-softhddevice$ make
Makefile:115: CFLAGS not set
Makefile:118: CXXFLAGS not set
cc -I/usr/include/alsa -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DUSE_VDR_SPU -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_SCREENSAVER -DGIT_REV='"4a4de36"' -g -W -Wall -Wextra -Winit-self -Wdeclaration-after-statement -c -o video.o video.c
cc -I/usr/include/alsa -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DUSE_VDR_SPU -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_SCREENSAVER -DGIT_REV='"4a4de36"' -g -W -Wall -Wextra -Winit-self -Wdeclaration-after-statement -c -o audio.o audio.c
cc -I/usr/include/alsa -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DUSE_VDR_SPU -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_SCREENSAVER -DGIT_REV='"4a4de36"' -g -W -Wall -Wextra -Winit-self -Wdeclaration-after-statement -c -o codec.o codec.c
codec.c: In function ‘Codec_get_buffer’:
codec.c:217:2: warning: ‘age’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1063) [-Wdeprecated-declarations]
codec.c:248:2: warning: ‘age’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1063) [-Wdeprecated-declarations]
codec.c: In function ‘CodecAudioDecode’:
codec.c:1474:5: warning: ‘avcodec_decode_audio3’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4131) [-Wdeprecated-declarations]
cc -I/usr/include/alsa -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DUSE_VDR_SPU -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_SCREENSAVER -DGIT_REV='"4a4de36"' -g -W -Wall -Wextra -Winit-self -Wdeclaration-after-statement -c -o ringbuffer.o ringbuffer.c
g++ -I/usr/include/alsa -DPLUGIN_NAME_I18N='"softhddevice"' -D_GNU_SOURCE -DAV_INFO -DAV_INFO_TIME=3000 -DUSE_PIP -DUSE_VDR_SPU -DUSE_ALSA -DUSE_OSS -DUSE_VDPAU -DUSE_SCREENSAVER -DGIT_REV='"4a4de36"' -g -W -Wall -Wextra -Winit-self -Werror=overloaded-virtual -shared softhddevice.o softhddev.o video.o audio.o codec.o ringbuffer.o -lasound -lvdpau -lxcb-screensaver -lxcb-dpms -lxcb -lrt -lavcodec -lX11-xcb -lX11 -lxcb-icccm -lxcb -o libvdr-softhddevice.so
/usr/bin/ld: softhddevice.o: relocation R_ARM_THM_MOVW_ABS_NC against `Remotes' can not be used when making a shared object; recompile with -fPIC
softhddevice.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libvdr-softhddevice.so] Error 1
_______________________________________________ vdr mailing list vdr@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr