Hi,

Am 14.08.2014 um 19:51 schrieb cedric.dew...@telfort.nl:
> Hi All,
> 
> I am trying to compile softhddevice. how can I solve below error?

 Don't you have the vdr pkgconfig file vdr.pc installed? It's missing the right 
CFLAGS and CXXFLAGS from the vdr
settings for plugins (like -fPIC).

Regards,
Lars.

> 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@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
> 


_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to