Hi Lars, I do have 3 directories with .pc files on my system: root@a20-OLinuXino:/# cd /usr/ root@a20-OLinuXino:/usr# find -iname pkgconfig ./local/lib/pkgconfig ./share/pkgconfig ./lib/arm-linux-gnueabihf/pkgconfig ./lib/pkgconfig kind regards, Cedric >----Origineel Bericht---- >Van : cedric.dewijs@xxxxxxxxxx >Datum : 15/08/2014 02:22 >Aan : vdr@xxxxxxxxxxx >Onderwerp : Re: softhddevice fails to compile > >Hi Lars, > >I don't have vdr.pc anywhere on my system: >root@a20-OLinuXino:/usr# cd / >root@a20-OLinuXino:/# find -iname vdr.pc >root@a20-OLinuXino:/# > >Where can I get this file for debian on an Allwinner A20? > >I already installed vdr-dev: >root@a20-OLinuXino:~# apt-get install vdr-dev >Reading package lists... Done >Building dependency tree >Reading state information... Done >vdr-dev is already the newest version. > >Kind regards, >Cedric > >>----Origineel Bericht---- >>Van : dvb@xxxxxxxxxxxxxx >>Datum : 14/08/2014 22:41 >>Aan : vdr@xxxxxxxxxxx >>Onderwerp : Re: softhddevice fails to compile >> >>Hi, >> >>Am 14.08.2014 um 19:51 schrieb cedric.dewijs@xxxxxxxxxx: >>> 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@xxxxxxxxxxx >>> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr >>> >> >> >>_______________________________________________ >>vdr mailing list >>vdr@xxxxxxxxxxx >>http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr >> > > >_______________________________________________ >vdr mailing list >vdr@xxxxxxxxxxx >http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > _______________________________________________ vdr mailing list vdr@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr