From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yong Liu Subject: [PATCH 1/6] fix sse3 functions not found with gcc 4.3.4 Date: Thu, 19 Mar 2015 11:16:52 +0800 Message-ID: <1426735018-19411-3-git-send-email-yong.liu@intel.com> References: <1426735018-19411-1-git-send-email-yong.liu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1426735018-19411-1-git-send-email-yong.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" From: Marvin Liu Build dpdk2.0 in Suse11 SP3, there'll be errors for not found sse3 functi= ons. rte_memcpy.h: In function =E2=80=98rte_memcpy=E2=80=99: rte_memcpy.h:625: error: implicit declaration of function =E2=80=98_mm_al= ignr_epi8=E2=80=99 rte_memcpy.h:625: error: nested extern declaration of =E2=80=98_mm_alignr= _epi8=E2=80=99 rte_memcpy.h:625: error: incompatible type for argument 2 of =E2=80=98_mm= _storeu_si128=E2=80=99 These functions defined in tmmintrin.h and should be included in. Signed-off-by: Marvin Liu diff --git a/lib/librte_eal/common/include/rte_common_vect.h b/lib/librte= _eal/common/include/rte_common_vect.h index 54ec70f..df3dce4 100644 --- a/lib/librte_eal/common/include/rte_common_vect.h +++ b/lib/librte_eal/common/include/rte_common_vect.h @@ -50,6 +50,10 @@ #include #endif =20 +#ifdef __SSE3__ +#include +#endif + #if defined(__SSE4_2__) || defined(__SSE4_1__) #include #endif --=20 1.9.3