Compiling the new SDK I get several errors:
(1) Some packages for the fs are not found on the net - connection to some ftp server fails
(2) Patching the TI's DVSDK 4.02.00.06 fails
The problem (1) is solvable by downloading the files manually and adding a .verified file in the download directory.
The second problem is not solvable by patching the files manually, this results in other errors.
I need some help with this.
The compilers output is:
Entering proprietary_src... Checking dependencies for dvsdk-4_02_00_06 Compiling and installing dvsdk-4_02_00_06... Checking dependencies for gst-dmai-plugins Compiling and installing gst-dmai-plugins...Merging arch patches into the series... Applying quilt patchesWende Patch arch/prgb_tidmaivideosink_support.patch anpatching file src/src/gsttidmaivideosink.cHunk #1 FAILED at 196.Hunk #2 succeeded at 1634 with fuzz 2 (offset 1087 lines).Hunk #3 FAILED at 715.2 out of 3 hunks FAILED -- rejects in file src/src/gsttidmaivideosink.c
Something is out of sync. The patches should apply cleanly. Try
make clean build install
It worked. Thank you!
I also had to re-installed the SDK an keep the configuration to the default values.
Some needed packages still have to be downloaded manually, but that was working just fine.
I am working for Leo368. I have the same problem... I made the command "make build" after "make config":
ehsan@ubuntu:~/LeopardBoardDM365sdkEVAL2011Q2$ make VERBOSE=1
The SDK requires dvsdk_3_10_00_19 provided by Texas Instruments.You can abort now and install the dvsdk_3_10_00_19 package on the default path at /home/ehsan/dvsdk/dvsdk_3_10_00_19, so it will be automatically detected next time you try to build.The DVSDK can be retrieved from the TI website: http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_3_10/3_10_00_19/index_FDS.html
Please provide the path to dvsdk_3_10_00_19 installation location or press ctrl-c to abort
(This moment, I had to type the address of DVSDK package... I don't know it's a right practice!)/home/ehsan/ti-dvsdk_dm368-evm_4_02_00_06
mv dvsdk_3_10_00_19/Rules.make dvsdk_3_10_00_19/Rules.make.origecho PLATFORM=dm365 > dvsdk_3_10_00_19/Rules.makecat Rules.make >> dvsdk_3_10_00_19/Rules.makequilt push -a Applying patch rr-sdk-integration.patchpatching file dvsdk_3_10_00_19/dvsdk_demos_3_10_00_16/dm365/decode/MakefileHunk #1 FAILED at 36.Hunk #2 FAILED at 72.Hunk #3 FAILED at 111.3 out of 3 hunks FAILED -- rejects in file dvsdk_3_10_00_19/dvsdk_demos_3_10_00_16/dm365/decode/Makefilepatching file dvsdk_3_10_00_19/dvsdk_demos_3_10_00_16/dm365/encode/MakefileHunk #1 FAILED at 35.Hunk #2 FAILED at 72.Hunk #3 FAILED at 111.3 out of 3 hunks FAILED -- rejects in file dvsdk_3_10_00_19/dvsdk_demos_3_10_00_16/dm365/encode/Makefilepatching file dvsdk_3_10_00_19/xdctools_3_16_01_27/packages/gnu/targets/MVArm9.xdcHunk #1 FAILED at 34.1 out of 1 hunk FAILED -- rejects in file dvsdk_3_10_00_19/xdctools_3_16_01_27/packages/gnu/targets/MVArm9.xdcpatching file dvsdk_3_10_00_19/dmai_2_10_00_12/packages/config.bldHunk #1 FAILED at 73.1 out of 1 hunk FAILED -- rejects in file dvsdk_3_10_00_19/dmai_2_10_00_12/packages/config.bldpatching file dvsdk_3_10_00_19/dmai_2_10_00_12/packages/ti/sdo/dmai/linux/dm365/Ir.cHunk #1 FAILED at 38.1 out of 1 hunk FAILED -- rejects in file dvsdk_3_10_00_19/dmai_2_10_00_12/packages/ti/sdo/dmai/linux/dm365/Ir.cPatch rr-sdk-integration.patch does not apply (enforce with -f)make: *** [patched] Error 1make: Leaving directory `/home/ehsan/LeopardBoardDM365sdkEVAL2011Q2/proprietary/dvsdk_3_10_00'Error building dvsdk_3_10_00make: *** [dependency_build] Error 1make: Leaving directory `/home/ehsan/LeopardBoardDM365sdkEVAL2011Q2/proprietary'make: *** [proprietary_src_build] Error 1make: Leaving directory `/home/ehsan/LeopardBoardDM365sdkEVAL2011Q2/fs'make: *** [fs_build] Error 2ehsan@ubuntu:~/LeopardBoardDM365sdkEVAL2011Q2$
As Todd said... I made "proprietary/dvsdk_3_10_00$ make clean build install" and the result:
ehsan@ubuntu:~/LeopardBoardDM365sdkEVAL2011Q2/proprietary/dvsdk_3_10_00$ make clean build installMakefile:7: *** ====== DEVDIR variable is empty, invoke this Makefile from the BSP root, or provide the path to it =====. Stop.ehsan@ubuntu:~/LeopardBoardDM365sdkEVAL2011Q2/proprietary/dvsdk_3_10_00$
I have even reinstall DVSDK but nothing more happened.
I am not sure it happens because I have install DVSDK for DM368 ("dvsdk_dm368-evm_4_02_00_06_setuplinux.bin") not DM365...
In addition, I have downloaded RR SDK from SVN repository: source.ridgerun.net/.../trunk and copied in "/home/ehsan/LeopardBoardDM365sdkEVAL2011Q2/" not by "LeopardBoardDM365sdk-EVAL2011Q2-Linux-x86-Install.bin". Does it make any difference?
It seems all the configuration is appropriated to DM365 when I enter "make config"...
Ridgerun Linux SDK
Board configuration: Leopard Board DM365
A RidgeRun expert let me know that SVN repository in "source.ridgerun.net/.../trunk" is not up-to-dated. The source SDK is associated with "DVSDK.3.10.00.19", not the latest "DVSDK4.02.00.06". In retrospect, I had not followed the exact instruction of SDK installation by calling "LeopardBoardDM365sdk-EVAL2011Q2-Linux-x86-Install".