[meta-intel] failed to build DPDK v1.7.0

2014-10-20 Thread Lai Eddy
yocto 1.6.1 on Ubuntu 12.04 , mohonpeak BSP

build dpdk got following errors:
=
ERROR: Function failed: do_compile (log file is located at
/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/temp/log.do_compile.10103)
ERROR: Logfile of failure stored in:
/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/temp/log.do_compile.10103
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 -e MAKEFLAGS= EXTRA_LDFLAGS=
--sysroot=/c2000/tmp/sysroots/mohonpeak64 EXTRA_CFLAGS=
--sysroot=/c2000/tmp/sysroots/mohonpeak64 CROSS=x86_64-poky-linux- prefix=
LDFLAGS= WERROR_FLAGS=-w V=1
| make[1]: Entering directory
`/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0'
| == Build scripts
| == Build scripts/testhost
| == Build lib
| == Build lib/librte_eal
| == Build lib/librte_eal/common
| == Build lib/librte_eal/linuxapp
| == Build lib/librte_eal/linuxapp/igb_uio
|   Building modules, stage 2.
|   MODPOST 1 modules
| == Build lib/librte_eal/linuxapp/eal
| == Build lib/librte_eal/linuxapp/kni
|   Building modules, stage 2.
|   MODPOST 1 modules
| == Build lib/librte_malloc
| == Build lib/librte_ring
| == Build lib/librte_mempool
| == Build lib/librte_mbuf
| == Build lib/librte_timer
| == Build lib/librte_cfgfile
| == Build lib/librte_cmdline
| == Build lib/librte_ether
| == Build lib/librte_net
| == Build lib/librte_pmd_e1000
| == Build lib/librte_pmd_ixgbe
| x86_64-poky-linux-gcc -Wp,-MD,./.ixgbe_rxtx_vec.o.d.tmp -m64 -pthread
-march=native -DRTE_MACHINE_CPUFLAG_SSE -DRTE_MACHINE_CPUFLAG_SSE2
-DRTE_MACHINE_CPUFLAG_SSE3 -DRTE_MACHINE_CPUFLAG_SSSE3
-DRTE_COMPILE_TIME_CPUFLAGS=RTE_CPUFLAG_SSE,RTE_CPUFLAG_SSE2,RTE_CPUFLAG_SSE3,RTE_CPUFLAG_SSSE3
-O2 -pipe -g -feliminate-unused-debug-types
-I/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/x86_64-ivshmem-linuxapp-gcc/include
-include
/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/x86_64-ivshmem-linuxapp-gcc/include/rte_config.h
-O3 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align
-Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef
-Wwrite-strings -Wno-deprecated
--sysroot=/media/datahd/c2000/tmp/sysroots/mohonpeak64 -o ixgbe_rxtx_vec.o
-c
/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c
| In file included from
/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:41:0:
|
/c2000/tmp/sysroots/x86_64-linux/usr/lib/corei7-64-poky-linux/gcc/x86_64-poky-linux/4.8.2/include/nmmintrin.h:31:3:
error: #error SSE4.2 instruction set not enabled
|  # error SSE4.2 instruction set not enabled
|^
|
/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:
In function 'ixgbe_recv_pkts_vec':
|
/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:297:3:
error: implicit declaration of function '_mm_shuffle_epi8'
[-Werror=implicit-function-declaration]
|pkt_mb4 = _mm_shuffle_epi8(descs[3], shuf_msk);
|^
:
:
:
|
/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:341:3:
error: implicit declaration of function '_mm_popcnt_u64'
[-Werror=implicit-function-declaration]
|var = _mm_popcnt_u64(_mm_cvtsi128_si64(staterr));
|^
|
/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c:341:3:
error: nested extern declaration of '_mm_popcnt_u64'
[-Werror=nested-externs]
| cc1: all warnings being treated as errors
| make[4]: *** [ixgbe_rxtx_vec.o] Error 1
| make[3]: *** [librte_pmd_ixgbe] Error 2
| make[2]: *** [lib] Error 2
| make[1]: *** [all] Error 2
| make[1]: Leaving directory
`/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/dpdk-1.7.0'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/c2000/tmp/work/mohonpeak64-poky-linux/dpdk/1.7.0-r0/temp/log.do_compile.10103)
ERROR: Task 7 (/poky/meta-intel/common/recipes-extended/dpdk/dpdk_1.7.0.bb,
do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 591 tasks of which 590 didn't need to be
rerun and 1 failed.
No currently running tasks (552 of 597)

Summary: 1 task failed:
  /poky/meta-intel/common/recipes-extended/dpdk/dpdk_1.7.0.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] Packages needed for gstreamer h264 libva encoding

2014-10-20 Thread Volker Vogelhuber
I'm trying to add gstreamer h264 encoder plugins into my image for a 
baytrail atom soc.
Currently I added gstreamer1.0, gstreamer-vaapi-1.0 and 
libva-intel-driver to the image recipe, but it does not seem to add any 
h264 encoder at all.
Do I miss something obviously? I also tried adding gst-va-intel but it 
seems to cause no effect. There are no sources or anything else in the 
working folder of gst-va-intel. I'm currently on meta-intel daisy branch.


Any help appreciated
--
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] Packages needed for gstreamer h264 libva encoding

2014-10-20 Thread Burton, Ross
On 20 October 2014 16:25, Volker Vogelhuber
v.vogelhu...@digitalendoscopy.de wrote:
 Currently I added gstreamer1.0, gstreamer-vaapi-1.0 and libva-intel-driver
 to the image recipe, but it does not seem to add any h264 encoder at all.

The decoder is in your hardware, so there's nothing to install.
You'll probably want to install the full set of GStreamer elements
(the gstreamer -meta packages depend on all of them for convenience)
so you don't have problems with container decoding, but the playbin
element should automatically do hardware-assisted decoding and colour
space conversion if the VA pieces are all installed.

Ross
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel