Can't build libfm with SDK-V2.0-1703

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't build libfm with SDK-V2.0-1703

696 Views
sp_qoriq
Contributor III

I'm unable to build libfm with SDK-V2.0-1703 patch. I was able to build it before I applied the 1793 patch. I can see that 1703 patch attempts to use a different branch and SRCREV number than what was used before.

Below is the error:

build_ls2088ardb> bitbake fmc
Loading cache: 100% |#############.......| ETA: 00:00:00
Loaded 6167 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

.

.

.

.
ERROR: oe_runmake failed

ERROR: Function failed: do_compile (log file is located at /home/shiva/qoriq/QorIQ-CM/QorIQ-SDK-V2.0-20160527-yocto/build_ls2088ardb/tmp/work/aarch64-fsl-linux/fmlib/git-r1/temp/log.do_compile.6676)
ERROR: Logfile of failure stored in: /home/shiva/qoriq/QorIQ-CM/QorIQ-SDK-V2.0-20160527-yocto/build_ls2088ardb/tmp/work/aarch64-fsl-linux/fmlib/git-r1/temp/log.do_compile.6676
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 DESTDIR=/home/shiva/qoriq/QorIQ-CM/QorIQ-SDK-V2.0-20160527-yocto/build_ls2088ardb/tmp/work/aarch64-fsl-linux/fmlib/git-r1/image PREFIX=/usr LIB_DEST_DIR=/usr/lib64 CROSS_COMPILE=aarch64-fsl-linux- KERNEL_SRC=/home/shiva/qoriq/QorIQ-CM/QorIQ-SDK-V2.0-20160527-yocto/build_ls2088ardb/tmp/work-shared/ls2088ardb/kernel-source libfm-aarch64.a
| make: *** No rule to make target 'libfm-aarch64.a'. Stop.
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/shiva/qoriq/QorIQ-CM/QorIQ-SDK-V2.0-20160527-yocto/build_ls2088ardb/tmp/work/aarch64-fsl-linux/fmlib/git-r1/temp/log.do_compile.6676)
ERROR: Task 80 (/home/shiva/qoriq/QorIQ-CM/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-dpaa/fmlib/fmlib_git.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 620 tasks of which 609 didn't need to be rerun and 1 failed.
ERROR: oe_runmake failed

Any help is appreciated.

0 Kudos
2 Replies

484 Views
Pavel
NXP Employee
NXP Employee

Test your building using the following patch to fix it:

http://git.freescale.com/git/cgit.cgi/yocto/meta-nxp-npi.git/commit/?h=jethro-sdk-v2.0-ga-17.03

 

Attached file contains corrected linux-qoriq_4.1.bbappend file. Path for this file is the following:

/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-nxp-npi-1703/recipes-kernel/linux


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

484 Views
sp_qoriq
Contributor III

Thanks for the reply, Pavel. I have already applied that patch; without that patch I had run into "too many levels of symbolic links" error.

Here are the steps I followed:

  1. Install SDK-V2.0-SOURCE
  2. Install the SDK-V2-1703 patch
  3. Apply the patch from the link: http://git.freescale.com/git/cgit.cgi/yocto/meta-nxp-npi.git/commit/?h=jethro-sdk-v2.0-ga-17.03
  4. Setup the environment for ls2088ardb
  5. bitbake fsl-image-core => successful
  6. bitbake custom image recipe which uses 'fmc' => failed
  7. bitbake 'fmc' by itself => failed

Any other suggestions? Can you please try steps 1-4, 7 and see if it works for you?

Thanks a lot,

-Shiva

0 Kudos