Hello, again.
And many thanks for answer, Erik.
I am download libv4l-0.4.0 and unpack it to ~/compile/libv4l-0.4.0.
After that:
cd compile/libv4l-0.4.0
[EMAIL PROTECTED] ~/compile/libv4l-0.4.0 $ make all
make -C libv4lconvert V4L2_LIB_VERSION=0.4.0 all
make[1]: Entering directory
`/home/wwarlock/compile/libv4l-0.4.0/libv4lconvert'
cc -c -MMD -I../include -I../../../../linux/include -fPIC -g -O1 -Wall
-W -Wno-unused -Wpointer-arith -Wstrict-prototypes -o libv4lconvert.o
libv4lconvert.c
cc -c -MMD -I../include -I../../../../linux/include -fPIC -g -O1 -Wall
-W -Wno-unused -Wpointer-arith -Wstrict-prototypes -o tinyjpeg.o tinyjpeg.c
cc -c -MMD -I../include -I../../../../linux/include -fPIC -g -O1 -Wall
-W -Wno-unused -Wpointer-arith -Wstrict-prototypes -o sn9c10x.o sn9c10x.c
cc -c -MMD -I../include -I../../../../linux/include -fPIC -g -O1 -Wall
-W -Wno-unused -Wpointer-arith -Wstrict-prototypes -o pac207.o pac207.c
cc -c -MMD -I../include -I../../../../linux/include -fPIC -g -O1 -Wall
-W -Wno-unused -Wpointer-arith -Wstrict-prototypes -o jidctflt.o jidctflt.c
cc -c -MMD -I../include -I../../../../linux/include -fPIC -g -O1 -Wall
-W -Wno-unused -Wpointer-arith -Wstrict-prototypes -o
spca561-decompress.o spca561-decompress.c
cc -c -MMD -I../include -I../../../../linux/include -fPIC -g -O1 -Wall
-W -Wno-unused -Wpointer-arith -Wstrict-prototypes -o rgbyuv.o rgbyuv.c
cc -c -MMD -I../include -I../../../../linux/include -fPIC -g -O1 -Wall
-W -Wno-unused -Wpointer-arith -Wstrict-prototypes -o spca501.o spca501.c
cc -c -MMD -I../include -I../../../../linux/include -fPIC -g -O1 -Wall
-W -Wno-unused -Wpointer-arith -Wstrict-prototypes -o bayer.o bayer.c
cc -shared -Wl,-soname,libv4lconvert.so.0 -o libv4lconvert.so.0
libv4lconvert.o tinyjpeg.o sn9c10x.o pac207.o jidctflt.o
spca561-decompress.o rgbyuv.o spca501.o bayer.o
ln -f -s libv4lconvert.so.0 libv4lconvert.so
make[1]: Leaving directory
`/home/wwarlock/compile/libv4l-0.4.0/libv4lconvert'
make -C libv4l2 V4L2_LIB_VERSION=0.4.0 all
make[1]: Entering directory `/home/wwarlock/compile/libv4l-0.4.0/libv4l2'
cc -c -MMD -I../include -I../../../../linux/include -fPIC -g -O1 -Wall
-W -Wno-unused -Wpointer-arith -Wstrict-prototypes -o libv4l2.o libv4l2.c
cc -c -MMD -I../include -I../../../../linux/include -fPIC -g -O1 -Wall
-W -Wno-unused -Wpointer-arith -Wstrict-prototypes -o log.o log.c
cc -shared -Wl,-soname,libv4l2.so.0 -o libv4l2.so.0 libv4l2.o log.o
../libv4lconvert/libv4lconvert.so -lpthread
ln -f -s libv4l2.so.0 libv4l2.so
cc -c -MMD -I../include -I../../../../linux/include -fPIC -g -O1 -Wall
-W -Wno-unused -Wpointer-arith -Wstrict-prototypes -o v4l2convert.o
v4l2convert.c
v4l2convert.c: В функции ‘mmap’
v4l2convert.c:140: предупреждение: оператор ‘return’ <значение> в
функции возвращающей void
v4l2convert.c: В функции ‘mmap64’
v4l2convert.c:146: предупреждение: оператор ‘return’ <значение> в
функции возвращающей void
cc -shared -Wl,-soname,v4l2convert.so.0 -o v4l2convert.so.0
v4l2convert.o libv4l2.so -lpthread
ln -f -s v4l2convert.so.0 v4l2convert.so
make[1]: Leaving directory `/home/wwarlock/compile/libv4l-0.4.0/libv4l2'
make -C libv4l1 V4L2_LIB_VERSION=0.4.0 all
make[1]: Entering directory `/home/wwarlock/compile/libv4l-0.4.0/libv4l1'
cc -c -MMD -I../include -I../../../../linux/include -fPIC -g -O1 -Wall
-W -Wno-unused -Wpointer-arith -Wstrict-prototypes -o libv4l1.o libv4l1.c
cc -c -MMD -I../include -I../../../../linux/include -fPIC -g -O1 -Wall
-W -Wno-unused -Wpointer-arith -Wstrict-prototypes -o log.o log.c
cc -shared -Wl,-soname,libv4l1.so.0 -o libv4l1.so.0 libv4l1.o log.o
../libv4l2/libv4l2.so -lpthread
ln -f -s libv4l1.so.0 libv4l1.so
cc -c -MMD -I../include -I../../../../linux/include -fPIC -g -O1 -Wall
-W -Wno-unused -Wpointer-arith -Wstrict-prototypes -o v4l1compat.o
v4l1compat.c
v4l1compat.c: В функции ‘mmap’
v4l1compat.c:105: предупреждение: оператор ‘return’ <значение> в функции
возвращающей void
v4l1compat.c: В функции ‘mmap64’
v4l1compat.c:111: предупреждение: оператор ‘return’ <значение> в функции
возвращающей void
cc -shared -Wl,-soname,v4l1compat.so.0 -o v4l1compat.so.0 v4l1compat.o
libv4l1.so -lpthread
ln -f -s v4l1compat.so.0 v4l1compat.so
make[1]: Leaving directory `/home/wwarlock/compile/libv4l-0.4.0/libv4l1'
As you see no errors
=======================
make install
[EMAIL PROTECTED] ~/compile/libv4l-0.4.0 $ sudo make install
Пароль:
make -C libv4lconvert V4L2_LIB_VERSION=0.4.0 install
make[1]: Entering directory
`/home/wwarlock/compile/libv4l-0.4.0/libv4lconvert'
mkdir -p /usr/local/include
install -p -m 644 ../include/libv4lconvert.h /usr/local/include
mkdir -p /usr/local/lib
install -m 755 libv4lconvert.so.0 /usr/local/lib
cd /usr/local/lib && \
ln -f -s libv4lconvert.so.0 libv4lconvert.so
mkdir -p /usr/local/lib/pkgconfig
install -m 644 libv4lconvert.pc /usr/local/lib/pkgconfig
make[1]: Leaving directory
`/home/wwarlock/compile/libv4l-0.4.0/libv4lconvert'
make -C libv4l2 V4L2_LIB_VERSION=0.4.0 install
make[1]: Entering directory `/home/wwarlock/compile/libv4l-0.4.0/libv4l2'
mkdir -p /usr/local/include
install -p -m 644 ../include/libv4l2.h /usr/local/include
mkdir -p /usr/local/lib/libv4l
install -m 755 libv4l2.so.0 /usr/local/lib
cd /usr/local/lib && \
ln -f -s libv4l2.so.0 libv4l2.so
install -m 755 v4l2convert.so.0 \
/usr/local/lib/libv4l/v4l2convert.so
mkdir -p /usr/local/lib/pkgconfig
install -m 644 libv4l2.pc /usr/local/lib/pkgconfig
make[1]: Leaving directory `/home/wwarlock/compile/libv4l-0.4.0/libv4l2'
make -C libv4l1 V4L2_LIB_VERSION=0.4.0 install
make[1]: Entering directory `/home/wwarlock/compile/libv4l-0.4.0/libv4l1'
mkdir -p /usr/local/include
install -p -m 644 ../include/libv4l1.h /usr/local/include
mkdir -p /usr/local/lib/libv4l
install -m 755 libv4l1.so.0 /usr/local/lib
cd /usr/local/lib && \
ln -f -s libv4l1.so.0 libv4l1.so
install -m 755 v4l1compat.so.0 \
/usr/local/lib/libv4l/v4l1compat.so
mkdir -p /usr/local/lib/pkgconfig
install -m 644 libv4l1.pc /usr/local/lib/pkgconfig
make[1]: Leaving directory `/home/wwarlock/compile/libv4l-0.4.0/libv4l1'
Successful
=============================
make export
[EMAIL PROTECTED] ~/compile/libv4l-0.4.0 $ sudo make export
make -C libv4lconvert V4L2_LIB_VERSION=0.4.0 clean
make[1]: Entering directory
`/home/wwarlock/compile/libv4l-0.4.0/libv4lconvert'
rm -f *.a *.so* *.o *.d libv4lconvert.pc log *~
make[1]: Leaving directory
`/home/wwarlock/compile/libv4l-0.4.0/libv4lconvert'
make -C libv4l2 V4L2_LIB_VERSION=0.4.0 clean
make[1]: Entering directory `/home/wwarlock/compile/libv4l-0.4.0/libv4l2'
rm -f *.a *.so* *.o *.d libv4l2.pc log *~
make[1]: Leaving directory `/home/wwarlock/compile/libv4l-0.4.0/libv4l2'
make -C libv4l1 V4L2_LIB_VERSION=0.4.0 clean
make[1]: Entering directory `/home/wwarlock/compile/libv4l-0.4.0/libv4l1'
rm -f *.a *.so* *.o *.d libv4l1.pc log *~
make[1]: Leaving directory `/home/wwarlock/compile/libv4l-0.4.0/libv4l1'
mkdir /tmp/libv4l-0.4.0
mkdir: can't create directory `/tmp/libv4l-0.4.0': File Exists
make: *** [export] Error 1
One error because this is not first export. But, it does not matter.
Then i'm exporting LD variables how writen in documentation.
And when i'm trying to use any capturing program (i.e. cheese, vlc,
xawtv) my laptop just hangs.
Nor Ctrl+Alt+F1, nor Ctrl+Alt+SysRq - combinations does not working.
Only Caps Lock is flashing.
Doctor, please say me, is my patient will be alive? ))
With best regards,
Dmitriy.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
M560x-driver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel