From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] bond: fix for compile issue on 32 bits Oracle Linux 6.4 Date: Wed, 02 Jul 2014 10:57:44 +0200 Message-ID: <1962144.i50g17LyK2@xps13> References: <1404286192-10884-1-git-send-email-helin.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Helin Zhang Return-path: In-Reply-To: <1404286192-10884-1-git-send-email-helin.zhang-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" 2014-07-02 15:29, Helin Zhang: > The compile error on 32 bits Oracle Linux 6.4 is as below. > ****** > Kernel: 2.6.39 > GCC: 4.4.7 20120313 > > In file included from /usr/include/stdlib.h:320, > from /home/dpdk/i686-native-linuxapp-gcc/include/rte_mempool.h:63, > from /home/dpdk/i686-native-linuxapp-gcc/include/rte_mbuf.h:61, > from /home/dpdk/lib/librte_pmd_bond/rte_eth_bond_api.c:37: > /usr/include/sys/types.h:61: error: conflicting types for dev_t > /usr/include/linux/types.h:22: note: previous declaration of dev_t was here > /usr/include/sys/types.h:66: error: conflicting types for gid_t > /usr/include/linux/types.h:52: note: previous declaration of gid_t was here > /usr/include/sys/types.h:71: error: conflicting types for mode_t > /usr/include/linux/types.h:24: note: previous declaration of mode_t was here > /usr/include/sys/types.h:76: error: conflicting types for nlink_t > /usr/include/linux/types.h:25: note: previous declaration of nlink_t was > here /usr/include/sys/types.h:81: error: conflicting types for uid_t > /usr/include/linux/types.h:51: note: previous declaration of uid_t was here > *** > > Signed-off-by: Helin Zhang > Acked-by: Cunming Liang Applied for version 1.7.0. Thanks -- Thomas