Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Opencv:Error

91 views
Skip to first unread message

yamak...@gmail.com

unread,
Feb 24, 2013, 9:27:45 AM2/24/13
to
Hi,
I get this error when I install OpenCV-2.40 for arm:
/usr/local/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: libv4l2.so.0, needed by /usr/local/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/lib/libv4l1.so, not found (try using -rpath or -rpath-link)
/usr/local/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/lib/libv4l1.so: undefined reference to `v4l2_get_control'
/usr/local/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/lib/libv4l1.so: undefined reference to `v4l2_ioctl'
/usr/local/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/lib/libv4l1.so: undefined reference to `v4l2_read'
/usr/local/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/lib/libv4l1.so: undefined reference to `v4l2_dup'
/usr/local/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/lib/libv4l1.so: undefined reference to `v4l2_munmap'
/usr/local/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/lib/libv4l1.so: undefined reference to `v4l2_fd_open'
/usr/local/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/lib/libv4l1.so: undefined reference to `v4l2_set_control'
/usr/local/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/lib/libv4l1.so: undefined reference to `v4l2_log_file'
/usr/local/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/lib/libv4l1.so: undefined reference to `v4l2_close'
/usr/local/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.3/../../../../arm-none-linux-gnueabi/lib/libv4l1.so: undefined reference to `v4l2_mmap'
collect2: ld returned 1 exit status

Please Help me.Why I get this error??

r...@kafka.ru

unread,
Mar 29, 2013, 12:32:42 PM3/29/13
to
It has been a while since your post, but I see no answers.

First, I think there are several groups where you will get your answer fast.
There is a Yahoo group and a Google group and a OpenCV support group.

Either you do not have the V4l2 library installed or it has a path different
than what the compiler is expecting. If it is installed, you can fix the
path in the calling source code. There should be a line before this
identifying the code being compiled. If not, the compiler is sitting its
configuration. Check its configuration file. Add the correct path to it.
Search for libv4l1.so It may have a prefix and you may need a wild card.

I would recommend 4.7 gnueabihf if you can use it. Version 4.7 is a more
efficient compiler with the ARM and the hard float (hf) executes float
routines about 10 times as fast as soft float (gnueabi)
0 new messages