Hi all I am trying to install opencv on a ubuntu 10.04 x86_64. I followed these instructions link text but when I run make I got this message
make [ 0%] Built target opencv_core_pch_dephelp [ 0%] Built target pch_Generate_opencv_core [ 3%] Built target opencv_core [ 4%] Built target opencv_ts_pch_dephelp [ 4%] Built target pch_Generate_opencv_ts [ 4%] Built target opencv_imgproc_pch_dephelp [ 4%] Built target pch_Generate_opencv_imgproc [ 9%] Built target opencv_imgproc [ 9%] Built target opencv_flann_pch_dephelp [ 9%] Built target pch_Generate_opencv_flann [ 9%] Built target opencv_flann [ 9%] Built target opencv_highgui_pch_dephelp [ 9%] Built target pch_Generate_opencv_highgui Linking CXX shared library ../../lib/libopencv_highgui.so /usr/bin/ld: /usr/local/lib/libavcodec.a(avpacket.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libavcodec.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: * [lib/libopencv_highgui.so.2.4.5] Error 1 make[1]: [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 make: ** [all] Error 2