Compiling Perl Modules (Frequencies.pm) and IVTV
I have a WinTV PVR 250 that I am trying to get working. After several false starts I was able to compile IVTV. I then tried to run the included utility to set the channel (ptune.pl) and came up with a message that I was missing the Frequencies.pm module, so I located the file it was included in - Video-Capture-V4l-0.224, unpacked it and attempted to compile it. The command I used was perl Makefile.pl This seemed to work fine, but when I try to run make, I get the following output (below). The relevant bit seemed to be about 6 rows from the bottom - a message that I should recompile with -fPIC I tried running perl Makefile.pl -fPIC make and got the same error. So what should I try next? Is there another way to set the channel on the card. I've tried xawtv (which crashes) and Kwintv (which realizes that there's a video card available, but doesn't recognize any input). I have a running vcr attached to the card (the card was intended for transferring old video tapes to dvds). Thanks, Hilary This is the output of the make command: make[1]: Entering directory `/home/hhertzof/Video-Capture-V4l-0.224/V4l' cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -Wall -pipe -DVERSION=\"0.224\" -DXS_VERSION=\"0.224\" -fPIC "-I/usr/lib/perl5/5.8.3/x86_64-linux-thread-multi/CORE" V4l.c V4l.c: In function `XS_Video__Capture__V4l_reduce2': V4l.c:1766: warning: unused variable `RETVAL' V4l.c: In function `XS_Video__Capture__V4l_findmin': V4l.xs:652: warning: `mindata' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Tuner_mode': V4l.c:1679: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Picture_palette': V4l.c:1511: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Picture_depth': V4l.c:1483: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Picture_whiteness': V4l.c:1455: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Picture_contrast': V4l.c:1427: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Picture_colour': V4l.c:1399: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Picture_hue': V4l.c:1371: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Picture_brightness': V4l.c:1343: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Audio_step': V4l.c:1315: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Audio_balance': V4l.c:1287: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Audio_mode': V4l.c:1259: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Audio_flags': V4l.c:1203: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Audio_treble': V4l.c:1175: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Audio_bass': V4l.c:1147: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Audio_volume': V4l.c:1119: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Channel_norm': V4l.c:1063: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Tuner_tuner': V4l.c:1539: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Audio_audio': V4l.c:1091: warning: `RETVAL' might be used uninitialized in this function V4l.c: In function `XS_Video__Capture__V4l__Channel_channel': V4l.c:923: warning: `RETVAL' might be used uninitialized in this function Running Mkbootstrap for Video::Capture::V4l () chmod 644 V4l.bs rm -f ../blib/arch/auto/Video/Capture/V4l/V4l.so LD_RUN_PATH="" cc -shared -L/usr/local/lib64 V4l.o -o ../blib/arch/auto/Video/Capture/V4l/V4l.so -lpthread chmod 755 ../blib/arch/auto/Video/Capture/V4l/V4l.so cp V4l.bs ../blib/arch/auto/Video/Capture/V4l/V4l.bs chmod 644 ../blib/arch/auto/Video/Capture/V4l/V4l.bs Manifying ../blib/man3/Video::Capture::V4l.3pm make[1]: Leaving directory `/home/hhertzof/Video-Capture-V4l-0.224/V4l' make[1]: Entering directory `/home/hhertzof/Video-Capture-V4l-0.224/VBI' cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -Wall -pipe -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib/perl5/5.8.3/x86_64-linux-thread-multi/CORE" VBI.c VBI.xs: In function `unham16': VBI.xs:258: warning: unused variable `bit' VBI.xs: In function `decoder_decode_vps': VBI.xs:296: warning: suggest parentheses around arithmetic in operand of | VBI.xs:296: warning: suggest parentheses around arithmetic in operand of | VBI.xs:296: warning: suggest parentheses around arithmetic in operand of | VBI.xs:296: warning: suggest parentheses around arithmetic in operand of | VBI.xs:302: warning: suggest parentheses around arithmetic in operand of | VBI.xs: In function `decoder_decode_vt': VBI.xs:380: warning: suggest parentheses around comparison in operand of & VBI.xs: In function `decoder_decode_other': VBI.xs:397: warning: unused variable `pos' VBI.xs: In function `decode_stream': VBI.xs:780: warning: suggest parentheses around assignment used as truth value VBI.xs: In function `decode_block': VBI.xs:1175: warning: suggest parentheses around arithmetic in operand of | VBI.c: In function `XS_Video__Capture__VBI__EPG_decode_block': VBI.c:1425: warning: unused variable `RETVAL' VBI.xs: In function `get_byte_SE': VBI.xs:206: warning: `byte' might be used uninitialized in this function VBI.xs: In function `decode_block': VBI.xs:1198: warning: control reaches end of non-void function VBI.xs:1098: warning: `msg_len' might be used uninitialized in this function VBI.c: In function `XS_Video__Capture__VBI_decode_ansi': VBI.xs:692: warning: `o' might be used uninitialized in this function VBI.c: At top level: VBI.xs:32: warning: `invtab' defined but not used Running Mkbootstrap for Video::Capture::VBI () chmod 644 VBI.bs rm -f ../blib/arch/auto/Video/Capture/VBI/VBI.so LD_RUN_PATH="" cc -shared -L/usr/local/lib64 VBI.o -o ../blib/arch/auto/Video/Capture/VBI/VBI.so chmod 755 ../blib/arch/auto/Video/Capture/VBI/VBI.so cp VBI.bs ../blib/arch/auto/Video/Capture/VBI/VBI.bs chmod 644 ../blib/arch/auto/Video/Capture/VBI/VBI.bs Manifying ../blib/man3/Video::Capture::VBI.3pm make[1]: Leaving directory `/home/hhertzof/Video-Capture-V4l-0.224/VBI' make[1]: Entering directory `/home/hhertzof/Video-Capture-V4l-0.224/RTjpeg' cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -Wall -pipe -DVERSION=\"0.012\" -DXS_VERSION=\"0.012\" -fPIC "-I/usr/lib/perl5/5.8.3/x86_64-linux-thread-multi/CORE" RTjpeg.c RTjpeg.xs: In function `boot_Video__RTjpeg': RTjpeg.xs:112: warning: unused variable `stash' cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -Wall -pipe -DVERSION=\"0.012\" -DXS_VERSION=\"0.012\" -o codec/RTjpeg.o codec/RTjpeg.c codec/RTjpeg.c: In function `RTjpeg_b2s': codec/RTjpeg.c:99: warning: use of cast expressions as lvalues is deprecated Running Mkbootstrap for Video::RTjpeg () chmod 644 RTjpeg.bs rm -f ../blib/arch/auto/Video/RTjpeg/RTjpeg.so LD_RUN_PATH="" cc -shared -L/usr/local/lib64 RTjpeg.o codec/RTjpeg.o -o ../blib/arch/auto/Video/RTjpeg/RTjpeg.so /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: codec/RTjpeg.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC codec/RTjpeg.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [../blib/arch/auto/Video/RTjpeg/RTjpeg.so] Error 1 make[1]: Leaving directory `/home/hhertzof/Video-Capture-V4l-0.224/RTjpeg' make: *** [subdirs] Error 2
participants (1)
-
Hilary L Hertzoff