Swi-fx30-catm_2.0.0 build error in swi-linux

Hi

I’m a newer in fx30s

I want to compiler R11 version but i have problem.

I use Ubuntu 16.04 to compiler

$> leaf setup fx30_catm_r11 -p swi-fx30-catm_2.0.0
$> leaf getsrc legato
$> leaf getsrc swi-linux
$> cd swi-linux
$> make MACH=mdm9x28 PROD=fx30s

When i compiler “ninja” there will error in “updateDaemon”

| [10/35] Generating IPC interface code
| [11/35] Generating IPC interface code
| ninja: build stopped: subcommand failed.
| Makefile.framework:296: recipe for target 'updateDaemon' failed
| make[1]: *** [updateDaemon] Error 1
| make[1]: Leaving directory '/home/test/workspace/swi-linux-src/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/legato-af/git-r0/legato-af'
| Makefile:379: recipe for target 'framework_wp77xx' failed
| make: *** [framework_wp77xx] Error 2
| WARNING: /home/test/workspace/swi-linux-src/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/legato-af/git-r0/temp/run.do_compile.25495:1 exit 2 from 'make $LEGATO_TARGET ENABLE_IMA=0 IMA_PRIVATE_KEY= IMA_PUBLIC_CERT='
| ERROR: Function failed: do_compile (log file is located at /home/test/workspace/swi-linux-src/build_bin/tmp/work/armv7a-neon-poky-linux-gnueabi/legato-af/git-r0/temp/log.do_compile.25495)
ERROR: Task (/home/test/workspace/swi-linux-src/meta-swi/common/recipes-legato/legato-af/legato-af_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2949 tasks of which 2853 didn't need to be rerun and 1 failed.

The complete information is as follows :
compiler_error.txt (28.4 KB)

Please help to compiler FX30s. Thanks

how about just type “make clean” and “make”

Hi @jyijyi ,

I did it many times.

you can also try swi-fx30-catm-3.0.0

Hi @jyijyi ,

OK, I can try to compiler swi-fx30-catm-3.0.0 but it is R14 ?
I want to use Talon iot card, so i follow the advice of the article below

Hi @jyijyi ,

I try to use R14 “swi-fx30-catm-3.0.0”

and execute

$> make clean
$> make

and i got error.

Build image of minimal rootfs (for swi-mdm9x28).
WARNING: Layer swi-wp-bin should set LAYERSERIES_COMPAT_swi-wp-bin in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer swi-wp-bin should set LAYERSERIES_COMPAT_swi-wp-bin in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: /home/test/workspace/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-bin/recipes/swimtd/swimtd_git.bb: Unable to get checksum for swimtd SRC_URI entry swimtd-bin.tar.bz2: file could not be found
Parsing recipes: 100% |##########################################| Time: 0:02:08
Parsing of 2167 .bb files complete (0 cached, 2167 parsed). 3086 targets, 339 skipped, 0 masked, 0 errors.
ERROR: No recipes available for:
  /home/test/workspace/swi-linux-src/meta-columbia-x/rootfs/recipes/columbia-initscripts/columbia-initscripts.bbappend

Summary: There were 3 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Makefile:324: recipe for target 'image_bin' failed
make: *** [image_bin] Error 1

How can i solve it ? Please help me. Thanks.

you can try these:

$> leaf setup fx30-catm -p swi-fx30-catm_3.0.0
$> leaf getsrc legato
$> leaf getsrc swi-linux
$> cd swi-linux
$> make MACH=mdm9x28 PROD=fx30

Hi @jyijyi ,

My steps

$> leaf setup fx30-catm-r14 -p swi-fx30-catm_3.0.0
$> leaf getsrc legato
$> leaf getsrc swi-linux
$> cd to swi-linux-src
$> make MACH-mdm9x28 PROD=fx30s

The result is still error,

WARNING: /home/test/workspace/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-bin/recipes/acdbrtac/acdbrtac_git.bb: Unable to get checksum for acdbrtac SRC_URI entry acdbrtac-bin.tar.bz2: file could not be found
WARNING: /home/test/workspace/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-bin/recipes/adiertac/adiertac_git.bb: Unable to get checksum for adiertac SRC_URI entry adiertac-bin.tar.bz2: file could not be found
WARNING: /home/test/workspace/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-bin/recipes/acdbmapper/acdbmapper_git.bb: Unable to get checksum for acdbmapper SRC_URI entry acdbmapper-bin.tar.bz2: file could not be found
WARNING: /home/test/workspace/swi-linux-src/meta-swi-extras/meta-swi-mdm9x28-bin/recipes/acdbloader/acdbloader_git.bb: Unable to get checksum for acdbloader SRC_URI entry acdbloader-bin.tar.bz2: file could not be found
Parsing recipes: 100% |##########################################| Time: 0:02:02
Parsing of 2167 .bb files complete (0 cached, 2167 parsed). 3086 targets, 339 skipped, 0 masked, 0 errors.
ERROR: No recipes available for:
  /home/test/workspace/swi-linux-src/meta-columbia-x/rootfs/recipes/columbia-initscripts/columbia-initscripts.bbappend

Summary: There were 34 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Makefile:324: recipe for target 'image_bin' failed
make: *** [image_bin] Error 1

How can i solve it? Thanks

have you done a “make clean” first?

Hi @jyijyi ,

Yes, “make clean” will remove folder, and i checked it.

Hi @jyijyi ,

I have another question

Your command is “PROD=fx30” , but i want to compiled “FX30s”, is that the same ?

$> make MACH-mdm9x28 PROD=fx30

I think it is the same…

Hi @jyijyi ,

Thanks for your support. R14 is compiled by commnad “make MACH=mdm9x28 PROD=fx30”

Now i want to use R11 to add BT and wifi, how to i do ?

what is the problem to use WIFI now?

I want to use " Talon IoT card"

and i find the

and follow the step it should use R11 version ?

what happen if you apply on R14?

Hi @jyijyi ,

I did not try it on R14.

You mean it can try on R14 ?

I have tried WP77 +FW R13 + IOT card “Talon-mangOH-Mirage-WiFi-BT-Module”

I have also tried WP77 +FW R14 + IOT card “Talon-mangOH-Mirage-WiFi-BT-Module”

BTW, for bluetooth, you can see this document: