Unable to install opencv 3.1.0 with CUDA and python support on JETSON TK1

I have followed steps below

Downloaded opencv 3.1.0 source from github

cd opencv-3.1.0

mkdir build

cd build

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_OPENGL=ON -D ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 …

cmake was successful.

make -j 4

/tmp/ccLpHues.s: Assembler messages:
/tmp/ccLpHues.s:715: Error: thumb conditional instruction should be in IT block – strexeq r1,r2,[r4]' /tmp/ccLpHues.s:1316: Error: thumb conditional instruction should be in IT block -- strexeq r1,r2,[r4]’
/tmp/ccLpHues.s:5706: Error: thumb conditional instruction should be in IT block – strexeq r1,r2,[r4]' /tmp/ccLpHues.s:6001: Error: thumb conditional instruction should be in IT block -- strexeq r6,r5,[r4]’
/tmp/ccLpHues.s:6636: Error: thumb conditional instruction should be in IT block – `strexeq r1,r3,[r7]’
make[2]: *** [modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/canny.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs…
make: *** [all] Error 2

Please help me install the opencv with python with cpp and CUDA…

Hi mayankazad.

The steps you followed wad from below wiki link?

http://elinux.org/Jetson/Installing_OpenCV#Natively_compiling_the_OpenCV_library_from_source_onboard_the_device

Thanks