Hello Guys:
I am using ffmpeg on keystone-II platform, need compile it with TI-OpenCL But 
when I add configure option --enable-opencl
It always prompts that: Error: opencl not found, this is my configure command:


./configure --prefix=/share/rootfs --enable-shared 
--cross-prefix=/ti/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-
 --arch=armv7  --target-os=linux --enable-gpl 
--extra-cflags=-I/share/rootfs/usr/include 
--extra-ldflags=-L/share/rootfs/usr/lib --enable-opencl 


I check config.log file, and find some information


/ti/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-gcc
 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -I/share/rootfs/usr/include 
-march=armv7-a -std=c99 -fomit-frame-pointer -mthumb -fPIC -pthread -c -o 
/tmp/ffconf.twPlgqzp.o /tmp/ffconf.HR3xssUO.c
/ti/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-gcc
 -L/share/rootfs/usr/lib -march=armv7-a -Wl,--as-needed -Wl,-z,noexecstack -o 
/tmp/ffconf.G83p7Idl /tmp/ffconf.twPlgqzp.o -lOpenCL -lm -lbz2 -lz -pthread
/ti/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld:
 warning: libmpmmailbox.so.1, needed by /share/rootfs/usr/lib/libOpenCL.so, not 
found (try using -rpath or -rpath-link)
/ti/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld:
 warning: libmpmtransport.so.1, needed by /share/rootfs/usr/lib/libOpenCL.so, 
not found (try using -rpath or -rpath-link)
/ti/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld:
 warning: libmpmclient.so.1, needed by /share/rootfs/usr/lib/libOpenCL.so, not 
found (try using -rpath or -rpath-link)
/ti/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld:
 warning: libticmem.so.1, needed by /share/rootfs/usr/lib/libOpenCL.so, not 
found (try using -rpath or -rpath-link)
/ti/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld:
 warning: libffi.so.6, needed by /share/rootfs/usr/lib/libOpenCL.so, not found 
(try using -rpath or -rpath-link)
/ti/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld:
 warning: libbfd-2.23.1.20121113.so, needed by 
/share/rootfs/usr/lib/libOpenCL.so, not found (try using -rpath or -rpath-link)
/ti/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld:
 warning: libsqlite3.so.0, needed by /share/rootfs/usr/lib/libOpenCL.so, not 
found (try using -rpath or -rpath-link)
/ti/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/../../../../arm-linux-gnueabihf/bin/ld:
 warning: libstdc++.so.6, needed by /share/rootfs/usr/lib/libOpenCL.so, not 
found (try using -rpath or -rpath-link)
/share/rootfs/usr/lib/libOpenCL.so: undefined reference to `mpm_load'
/share/rootfs/usr/lib/libOpenCL.so: undefined reference to 
`std::basic_string<char, std::char_traits<char>, std::allocator<char> 
>::basic_string(std::string const&, unsigned int, unsigned int)@GLIBCXX_3.4'
/share/rootfs/usr/lib/libOpenCL.so: undefined reference to 
`std::string::compare(unsigned int, unsigned int, char const*) 
const@GLIBCXX_3.4'
/share/rootfs/usr/lib/libOpenCL.so: undefined reference to `mpm_mailbox_create'
/share/rootfs/usr/lib/libOpenCL.so: undefined reference to 
`std::cin@GLIBCXX_3.4'
/share/rootfs/usr/lib/libOpenCL.so: undefined reference to 
`__cxa_free_exception@CXXABI_1.3'


I checked that missed library are in my configure directory,  DO NOT KNOW how 
to resolve it, Could you give some suggestion?
Thank you very much, and best wishes.


rock.you
2015.12.31

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to