[meta-intel] Yocto + mohonpeak BSP build probelm

Lai Eddy eddy.lai.tw at gmail.com
Thu Aug 7 16:45:17 PDT 2014


mohonpeak bsp with yocto got following bitbake errors
to compile meta/recipes-devtools/libtool/libtool-native_2.4.2.bb

-------------------------------------------------------------------------------------------------------------------------------
|
/home/dev/poky/c2000/tmp/work/x86_64-linux/libtool-native/2.4.2-r6.1/libtool-2.4.2/libltdl/libltdl/lt__private.h:98:25:
error: called object 'size_t' is not a function or function pointer
|  #define streq(s1, s2) (!strcmp((s1), (s2)))
|                          ^
|
/home/dev/poky/c2000/tmp/work/x86_64-linux/libtool-native/2.4.2-r6.1/libtool-2.4.2/libltdl/ltdl.c:2431:36:
note: in expansion of macro 'streq'
|        if (cur && cur->info.name && streq (cur->info.name, module_name))
|                                     ^
| In file included from /usr/include/stdlib.h:959:0,
|                  from
/home/dev/poky/c2000/tmp/work/x86_64-linux/libtool-native/2.4.2-r6.1/libtool-2.4.2/libltdl/libltdl/lt_system.h:35,
|                  from
/home/dev/poky/c2000/tmp/work/x86_64-linux/libtool-native/2.4.2-r6.1/libtool-2.4.2/libltdl/libltdl/lt__alloc.h:34,
|                  from
/home/dev/poky/c2000/tmp/work/x86_64-linux/libtool-native/2.4.2-r6.1/libtool-2.4.2/libltdl/libltdl/lt__private.h:51,
|                  from
/home/dev/poky/c2000/tmp/work/x86_64-linux/libtool-native/2.4.2-r6.1/libtool-2.4.2/libltdl/ltdl.c:32:
| /usr/include/x86_64-linux-gnu/bits/stdlib.h:143:20: note: declared here
|  __fortify_function size_t
|                     ^
| In file included from /usr/include/string.h:635:0,
|                  from
/home/dev/poky/c2000/tmp/work/x86_64-linux/libtool-native/2.4.2-r6.1/libtool-2.4.2/libltdl/libltdl/lt__private.h:44,
|                  from
/home/dev/poky/c2000/tmp/work/x86_64-linux/libtool-native/2.4.2-r6.1/libtool-2.4.2/libltdl/ltdl.c:32:
|
/home/dev/poky/c2000/tmp/work/x86_64-linux/libtool-native/2.4.2-r6.1/libtool-2.4.2/libltdl/libltdl/lt__private.h:98:25:
error: called object is not a function or function pointer
|  #define streq(s1, s2) (!strcmp((s1), (s2)))
|                          ^
|
/home/dev/poky/c2000/tmp/work/x86_64-linux/libtool-native/2.4.2-r6.1/libtool-2.4.2/libltdl/ltdl.c:2431:36:
note: in expansion of macro 'streq'
|        if (cur && cur->info.name && streq (cur->info.name, module_name))
|                                     ^
| make[2]: *** [libltdl/libltdl_libltdl_la-ltdl.lo] Error 1
| make[2]: Leaving directory
`/home/dev/poky/c2000/tmp/work/x86_64-linux/libtool-native/2.4.2-r6.1/build'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/home/dev/poky/c2000/tmp/work/x86_64-linux/libtool-native/2.4.2-r6.1/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see
/home/dev/poky/c2000/tmp/work/x86_64-linux/libtool-native/2.4.2-r6.1/temp/log.do_compile.3266
for further information)
ERROR: Task 48 (/home/dev/poky/meta/recipes-devtools/libtool/
libtool-native_2.4.2.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 49 tasks of which 48 didn't need to be rerun
and 1 failed.
No currently running tasks (40 of 63)

Summary: 1 task failed:
  /home/dev/poky/meta/recipes-devtools/libtool/libtool-native_2.4.2.bb,
do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.



2014-07-16 16:51 GMT+08:00 Chang, Rebecca Swee Fun <
rebecca.swee.fun.chang at intel.com>:

>  Hi Eddy,
>
>
>
> Thanks for using Mohonpeak Yocto Project BSP. I’ve checked your
> attachments. Here are my comments:
>
>
>
> Bblayers.conf:
>
> - Remove line : /media/eddylai/datahd/poky/meta-intel/meta-isg \
>
> - You only add layers that contains conf/ directory. In this case,
> meta-isg layer does not contain any layer configurations, so you don’t need
> to add that.
>
>
>
> Layer.conf:
>
> - You have duplicated parallelism options
>
> Note that you have:
>
> BB_NUMBER_THREADS ?= "8"
>
> BB_NUMBER_THREADS ?= ${@oe.utils.cpu_count()}
>
>
>
> Choose 1 option and comment out the other option.
>
> BB_NUMBER_THREADS ?= ${@oe.utils.cpu_count()} will allocate max number of
> threads based on your machine capability.
>
> If you would like to specify your own, comment this line.
>
>
>
> Same for this:
>
> PARALLEL_MAKE ?= "-j 8"
>
> PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
>
>
>
> - You are building two MACHINE type
>
> MACHINE ?= "mohonpeak-32"
>
> MACHINE ??= "qemux86"
>
>
>
> Choose one and comment out the other option.
>
>
>
> Regards
>
> Rebecca
>
>
>
>
>
>
>
> *From:* meta-intel-bounces at yoctoproject.org [mailto:
> meta-intel-bounces at yoctoproject.org] *On Behalf Of *Lai Eddy
> *Sent:* 16 July, 2014 4:39 PM
> *To:* meta-intel at yoctoproject.org
> *Subject:* [meta-intel] Yocto + mohonpeak BSP build probelm
>
>
>
>
>
> I have just download Yocto YP Core - Daisy 1.6.1 and  Intel® Atom®
> Processor C2000 (Mohon Peak) BSP , modified .conf files (as attached) then
> try the first time build, got errors as below, anything else I did wrong?
> (have tried both 32/64 arch )
>
> checked there's no conf/layer.conf under meta-isg folder included in the
> original downloaded BSP( tryied both "git" and "download the .bz2 file from
> YP site")
>
> Eddy Lai
>
> ============================================================
> $ bitbake core-image-sato
> ERROR: Traceback (most recent call last):
>   File "/media/eddylai/datahd/poky/bitbake/lib/bb/cookerdata.py", line
> 163, in wrapped
>     return func(fn, *args)
>   File "/media/eddylai/datahd/poky/bitbake/lib/bb/cookerdata.py", line
> 173, in parse_config_file
>     return bb.parse.handle(fn, data, include)
>   File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/__init__.py", line
> 99, in handle
>     return h['handle'](fn, data, include)
>   File
> "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py",
> line 120, in handle
>     abs_fn = resolve_file(fn, data)
>   File "/media/eddylai/datahd/poky/bitbake/lib/bb/parse/__init__.py", line
> 122, in resolve_file
>     raise IOError("file %s not found" % fn)
> IOError: file
> /media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf not found
>
> ERROR: Unable to parse
> /media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf: file
> /media/eddylai/datahd/poky/meta-intel/meta-isg/conf/layer.conf not found
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-intel/attachments/20140808/68787468/attachment.html>


More information about the meta-intel mailing list