DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Problem building DPDK libraries
@ 2016-11-17 15:51 David Aldrich
  2016-11-17 15:59 ` Thomas Monjalon
  0 siblings, 1 reply; 18+ messages in thread
From: David Aldrich @ 2016-11-17 15:51 UTC (permalink / raw)
  To: users

Hi

I am trying to build DPDK 16.07.1 on Wind River Linux 8.

'make' fails:

# make
[snip]
  CC rte_spinlock.o
  AR librte_eal.a
  SYMLINK-FILE include/exec-env/rte_interrupts.h
  SYMLINK-FILE include/exec-env/rte_kni_common.h
  SYMLINK-FILE include/exec-env/rte_dom0_common.h
  INSTALL-LIB librte_eal.a
== Build lib/librte_eal/linuxapp/igb_uio
make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build: No such file or directory.  Stop.
/root/dpdk-stable-16.07.1/mk/rte.module.mk:79: recipe for target 'igb_uio.ko' failed

Indeed, that 'build' directory does not exist:

# ls /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/
kernel         modules.alias.bin  modules.builtin.bin  modules.dep.bin  modules.order    modules.symbols
modules.alias  modules.builtin    modules.dep          modules.devname  modules.softdep  modules.symbols.bin

Please can someone help me with this?

Best regards

David

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 15:51 [dpdk-users] Problem building DPDK libraries David Aldrich
@ 2016-11-17 15:59 ` Thomas Monjalon
  2016-11-17 16:05   ` David Aldrich
  0 siblings, 1 reply; 18+ messages in thread
From: Thomas Monjalon @ 2016-11-17 15:59 UTC (permalink / raw)
  To: David Aldrich; +Cc: users

2016-11-17 15:51, David Aldrich:
> make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build: No such file or directory.  Stop.

You need the kernel headers, or just disable compilation of kernel modules:
	sed -ri 's,(KNI_KMOD=).*,\1n,' build/.config
	sed -ri 's,(IGB_UIO=).*,\1n,' build/.config

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 15:59 ` Thomas Monjalon
@ 2016-11-17 16:05   ` David Aldrich
  2016-11-17 16:09     ` Wiles, Keith
  0 siblings, 1 reply; 18+ messages in thread
From: David Aldrich @ 2016-11-17 16:05 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: users

Thanks, I thought I had installed the kernel headers, but I had done it incorrectly.  Now fixed.

But make is still failing:

  CC ixgbe_rxtx_vec_sse.o
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <support@windriver.com> for instructions.
/root/dpdk-stable-16.07.1/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_eth_af_packet.o' failed
make[6]: *** [rte_eth_af_packet.o] Error 4
/root/dpdk-stable-16.07.1/mk/rte.subdir.mk:61: recipe for target 'af_packet' failed
make[5]: *** [af_packet] Error 2
make[5]: *** Waiting for unfinished jobs....

Best regards

David

> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> Sent: 17 November 2016 16:00
> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> Cc: users@dpdk.org
> Subject: Re: [dpdk-users] Problem building DPDK libraries
> 
> 2016-11-17 15:51, David Aldrich:
> > make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build: No such
> file or directory.  Stop.
> 
> You need the kernel headers, or just disable compilation of kernel modules:
> 	sed -ri 's,(KNI_KMOD=).*,\1n,' build/.config
> 	sed -ri 's,(IGB_UIO=).*,\1n,' build/.config
> 
> 
> 
>  Click
> https://www.mailcontrol.com/sr/4ZSg1SI7T87GX2PQPOmvUstiqgZjxB51m1JQqZ
> njH0BFwQAIYudV!69Vnv0C8JC0YknPHNppj5zLq66BGWNXYg==  to report this
> email as spam.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 16:05   ` David Aldrich
@ 2016-11-17 16:09     ` Wiles, Keith
  2016-11-17 16:24       ` David Aldrich
  0 siblings, 1 reply; 18+ messages in thread
From: Wiles, Keith @ 2016-11-17 16:09 UTC (permalink / raw)
  To: David Aldrich; +Cc: Thomas Monjalon, users


> On Nov 17, 2016, at 10:05 AM, David Aldrich <David.Aldrich@EMEA.NEC.COM> wrote:
> 
> Thanks, I thought I had installed the kernel headers, but I had done it incorrectly.  Now fixed.
> 
> But make is still failing:
> 
>  CC ixgbe_rxtx_vec_sse.o
> gcc: internal compiler error: Killed (program cc1)
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <support@windriver.com> for instructions.
> /root/dpdk-stable-16.07.1/mk/internal/rte.compile-pre.mk:138: recipe for target 'rte_eth_af_packet.o’ failed

What version of GCC? 

When I see this type of error it is sometimes not enough tmp space to compile the file, just a thought.

> make[6]: *** [rte_eth_af_packet.o] Error 4
> /root/dpdk-stable-16.07.1/mk/rte.subdir.mk:61: recipe for target 'af_packet' failed
> make[5]: *** [af_packet] Error 2
> make[5]: *** Waiting for unfinished jobs....
> 
> Best regards
> 
> David
> 
>> -----Original Message-----
>> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
>> Sent: 17 November 2016 16:00
>> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
>> Cc: users@dpdk.org
>> Subject: Re: [dpdk-users] Problem building DPDK libraries
>> 
>> 2016-11-17 15:51, David Aldrich:
>>> make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build: No such
>> file or directory.  Stop.
>> 
>> You need the kernel headers, or just disable compilation of kernel modules:
>> 	sed -ri 's,(KNI_KMOD=).*,\1n,' build/.config
>> 	sed -ri 's,(IGB_UIO=).*,\1n,' build/.config
>> 
>> 
>> 
>> Click
>> https://www.mailcontrol.com/sr/4ZSg1SI7T87GX2PQPOmvUstiqgZjxB51m1JQqZ
>> njH0BFwQAIYudV!69Vnv0C8JC0YknPHNppj5zLq66BGWNXYg==  to report this
>> email as spam.

Regards,
Keith


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 16:09     ` Wiles, Keith
@ 2016-11-17 16:24       ` David Aldrich
  2016-11-17 16:28         ` David Aldrich
  2016-11-17 16:47         ` David Aldrich
  0 siblings, 2 replies; 18+ messages in thread
From: David Aldrich @ 2016-11-17 16:24 UTC (permalink / raw)
  To: Wiles, Keith; +Cc: Thomas Monjalon, users

Hi

I'm using:

# gcc --version
gcc (Wind River Linux 5.2.0-8.0-intel-haswell-64) 5.2.0

I'll consider the tmp space.

Thanks

David

> -----Original Message-----
> From: Wiles, Keith [mailto:keith.wiles@intel.com]
> Sent: 17 November 2016 16:10
> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> Subject: Re: [dpdk-users] Problem building DPDK libraries
> 
> 
> > On Nov 17, 2016, at 10:05 AM, David Aldrich
> <David.Aldrich@EMEA.NEC.COM> wrote:
> >
> > Thanks, I thought I had installed the kernel headers, but I had done it
> incorrectly.  Now fixed.
> >
> > But make is still failing:
> >
> >  CC ixgbe_rxtx_vec_sse.o
> > gcc: internal compiler error: Killed (program cc1) Please submit a
> > full bug report, with preprocessed source if appropriate.
> > See <support@windriver.com> for instructions.
> > /root/dpdk-stable-16.07.1/mk/internal/rte.compile-pre.mk:138: recipe
> > for target 'rte_eth_af_packet.o’ failed
> 
> What version of GCC?
> 
> When I see this type of error it is sometimes not enough tmp space to compile
> the file, just a thought.
> 
> > make[6]: *** [rte_eth_af_packet.o] Error 4
> > /root/dpdk-stable-16.07.1/mk/rte.subdir.mk:61: recipe for target
> > 'af_packet' failed
> > make[5]: *** [af_packet] Error 2
> > make[5]: *** Waiting for unfinished jobs....
> >
> > Best regards
> >
> > David
> >
> >> -----Original Message-----
> >> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> >> Sent: 17 November 2016 16:00
> >> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> >> Cc: users@dpdk.org
> >> Subject: Re: [dpdk-users] Problem building DPDK libraries
> >>
> >> 2016-11-17 15:51, David Aldrich:
> >>> make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build:
> >>> No such
> >> file or directory.  Stop.
> >>
> >> You need the kernel headers, or just disable compilation of kernel modules:
> >> 	sed -ri 's,(KNI_KMOD=).*,\1n,' build/.config
> >> 	sed -ri 's,(IGB_UIO=).*,\1n,' build/.config
> >>
> >>
> >>
> >> Click
> >>
> https://www.mailcontrol.com/sr/4ZSg1SI7T87GX2PQPOmvUstiqgZjxB51m1JQqZ
> >> njH0BFwQAIYudV!69Vnv0C8JC0YknPHNppj5zLq66BGWNXYg==  to report this
> >> email as spam.
> 
> Regards,
> Keith


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 16:24       ` David Aldrich
@ 2016-11-17 16:28         ` David Aldrich
  2016-11-17 16:47         ` David Aldrich
  1 sibling, 0 replies; 18+ messages in thread
From: David Aldrich @ 2016-11-17 16:28 UTC (permalink / raw)
  To: David Aldrich, Wiles, Keith; +Cc: Thomas Monjalon, users

The allocation for /tmp is 7.9G, which is almost entirely unused.

David

> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of David Aldrich
> Sent: 17 November 2016 16:25
> To: Wiles, Keith <keith.wiles@intel.com>
> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> Subject: Re: [dpdk-users] Problem building DPDK libraries
> 
> Hi
> 
> I'm using:
> 
> # gcc --version
> gcc (Wind River Linux 5.2.0-8.0-intel-haswell-64) 5.2.0
> 
> I'll consider the tmp space.
> 
> Thanks
> 
> David
> 
> > -----Original Message-----
> > From: Wiles, Keith [mailto:keith.wiles@intel.com]
> > Sent: 17 November 2016 16:10
> > To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> > Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> > Subject: Re: [dpdk-users] Problem building DPDK libraries
> >
> >
> > > On Nov 17, 2016, at 10:05 AM, David Aldrich
> > <David.Aldrich@EMEA.NEC.COM> wrote:
> > >
> > > Thanks, I thought I had installed the kernel headers, but I had done
> > > it
> > incorrectly.  Now fixed.
> > >
> > > But make is still failing:
> > >
> > >  CC ixgbe_rxtx_vec_sse.o
> > > gcc: internal compiler error: Killed (program cc1) Please submit a
> > > full bug report, with preprocessed source if appropriate.
> > > See <support@windriver.com> for instructions.
> > > /root/dpdk-stable-16.07.1/mk/internal/rte.compile-pre.mk:138: recipe
> > > for target 'rte_eth_af_packet.o’ failed
> >
> > What version of GCC?
> >
> > When I see this type of error it is sometimes not enough tmp space to
> > compile the file, just a thought.
> >
> > > make[6]: *** [rte_eth_af_packet.o] Error 4
> > > /root/dpdk-stable-16.07.1/mk/rte.subdir.mk:61: recipe for target
> > > 'af_packet' failed
> > > make[5]: *** [af_packet] Error 2
> > > make[5]: *** Waiting for unfinished jobs....
> > >
> > > Best regards
> > >
> > > David
> > >
> > >> -----Original Message-----
> > >> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> > >> Sent: 17 November 2016 16:00
> > >> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> > >> Cc: users@dpdk.org
> > >> Subject: Re: [dpdk-users] Problem building DPDK libraries
> > >>
> > >> 2016-11-17 15:51, David Aldrich:
> > >>> make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build:
> > >>> No such
> > >> file or directory.  Stop.
> > >>
> > >> You need the kernel headers, or just disable compilation of kernel modules:
> > >> 	sed -ri 's,(KNI_KMOD=).*,\1n,' build/.config
> > >> 	sed -ri 's,(IGB_UIO=).*,\1n,' build/.config
> > >>
> > >>
> > >>
> > >> Click
> > >>
> >
> https://www.mailcontrol.com/sr/4ZSg1SI7T87GX2PQPOmvUstiqgZjxB51m1JQqZ
> > >> njH0BFwQAIYudV!69Vnv0C8JC0YknPHNppj5zLq66BGWNXYg==  to report
> this
> > >> email as spam.
> >
> > Regards,
> > Keith


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 16:24       ` David Aldrich
  2016-11-17 16:28         ` David Aldrich
@ 2016-11-17 16:47         ` David Aldrich
  2016-11-17 16:54           ` Pavey, Nicholas
  2016-11-17 16:56           ` Wiles, Keith
  1 sibling, 2 replies; 18+ messages in thread
From: David Aldrich @ 2016-11-17 16:47 UTC (permalink / raw)
  To: David Aldrich, Wiles, Keith; +Cc: Thomas Monjalon, users

Hi 

I find that:

	make

succeeds.

But I've been advised to run:

	make -j T=x86_64-native-linuxapp-gcc install

I think '-j' was causing the compiler problems, so I can drop that.

Do I need the 'T=' part?

How would I do:

	make install

? That doesn't work currently for me.

David

> -----Original Message-----
> From: David Aldrich
> Sent: 17 November 2016 16:29
> To: 'David Aldrich' <David.Aldrich@emea.nec.com>; Wiles, Keith
> <keith.wiles@intel.com>
> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> Subject: RE: [dpdk-users] Problem building DPDK libraries
> 
> The allocation for /tmp is 7.9G, which is almost entirely unused.
> 
> David
> 
> > -----Original Message-----
> > From: users [mailto:users-bounces@dpdk.org] On Behalf Of David Aldrich
> > Sent: 17 November 2016 16:25
> > To: Wiles, Keith <keith.wiles@intel.com>
> > Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> > Subject: Re: [dpdk-users] Problem building DPDK libraries
> >
> > Hi
> >
> > I'm using:
> >
> > # gcc --version
> > gcc (Wind River Linux 5.2.0-8.0-intel-haswell-64) 5.2.0
> >
> > I'll consider the tmp space.
> >
> > Thanks
> >
> > David
> >
> > > -----Original Message-----
> > > From: Wiles, Keith [mailto:keith.wiles@intel.com]
> > > Sent: 17 November 2016 16:10
> > > To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> > > Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> > > Subject: Re: [dpdk-users] Problem building DPDK libraries
> > >
> > >
> > > > On Nov 17, 2016, at 10:05 AM, David Aldrich
> > > <David.Aldrich@EMEA.NEC.COM> wrote:
> > > >
> > > > Thanks, I thought I had installed the kernel headers, but I had
> > > > done it
> > > incorrectly.  Now fixed.
> > > >
> > > > But make is still failing:
> > > >
> > > >  CC ixgbe_rxtx_vec_sse.o
> > > > gcc: internal compiler error: Killed (program cc1) Please submit a
> > > > full bug report, with preprocessed source if appropriate.
> > > > See <support@windriver.com> for instructions.
> > > > /root/dpdk-stable-16.07.1/mk/internal/rte.compile-pre.mk:138:
> > > > recipe for target 'rte_eth_af_packet.o’ failed
> > >
> > > What version of GCC?
> > >
> > > When I see this type of error it is sometimes not enough tmp space
> > > to compile the file, just a thought.
> > >
> > > > make[6]: *** [rte_eth_af_packet.o] Error 4
> > > > /root/dpdk-stable-16.07.1/mk/rte.subdir.mk:61: recipe for target
> > > > 'af_packet' failed
> > > > make[5]: *** [af_packet] Error 2
> > > > make[5]: *** Waiting for unfinished jobs....
> > > >
> > > > Best regards
> > > >
> > > > David
> > > >
> > > >> -----Original Message-----
> > > >> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> > > >> Sent: 17 November 2016 16:00
> > > >> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> > > >> Cc: users@dpdk.org
> > > >> Subject: Re: [dpdk-users] Problem building DPDK libraries
> > > >>
> > > >> 2016-11-17 15:51, David Aldrich:
> > > >>> make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build:
> > > >>> No such
> > > >> file or directory.  Stop.
> > > >>
> > > >> You need the kernel headers, or just disable compilation of kernel
> modules:
> > > >> 	sed -ri 's,(KNI_KMOD=).*,\1n,' build/.config
> > > >> 	sed -ri 's,(IGB_UIO=).*,\1n,' build/.config
> > > >>
> > > >>
> > > >>
> > > >> Click
> > > >>
> > >
> >
> https://www.mailcontrol.com/sr/4ZSg1SI7T87GX2PQPOmvUstiqgZjxB51m1JQqZ
> > > >> njH0BFwQAIYudV!69Vnv0C8JC0YknPHNppj5zLq66BGWNXYg==  to report
> > this
> > > >> email as spam.
> > >
> > > Regards,
> > > Keith


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 16:47         ` David Aldrich
@ 2016-11-17 16:54           ` Pavey, Nicholas
  2016-11-17 16:56             ` David Aldrich
  2016-11-17 16:56           ` Wiles, Keith
  1 sibling, 1 reply; 18+ messages in thread
From: Pavey, Nicholas @ 2016-11-17 16:54 UTC (permalink / raw)
  To: David Aldrich, Wiles, Keith; +Cc: Thomas Monjalon, users

Yes, I’ve found that –j<n> causes problems too.

I believe I’ve used both the T=<…> and the environment variable version without problems, as long as :


·         You don’t use parallel make (-j<n>)

·         You completely remove the target directory before building (this has the same name as “T”)

o    I don’t recall exactly the problem this addressed, but I did find that doing a completely clean build is sometimes necessary.

Thanks,


Nick


From: David Aldrich <David.Aldrich@EMEA.NEC.COM>
Date: Thursday, November 17, 2016 at 11:47 AM
To: David Aldrich <David.Aldrich@EMEA.NEC.COM>, "Wiles, Keith" <keith.wiles@intel.com>
Cc: Thomas Monjalon <thomas.monjalon@6wind.com>, "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Problem building DPDK libraries

Hi

I find that:

      make

succeeds.

But I've been advised to run:

      make -j T=x86_64-native-linuxapp-gcc install

I think '-j' was causing the compiler problems, so I can drop that.

Do I need the 'T=' part?

How would I do:

      make install

? That doesn't work currently for me.

David

-----Original Message-----
From: David Aldrich
Sent: 17 November 2016 16:29
To: 'David Aldrich' <David.Aldrich@emea.nec.com<mailto:David.Aldrich@emea.nec.com>>; Wiles, Keith
<keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>; users@dpdk.org<mailto:users@dpdk.org>
Subject: RE: [dpdk-users] Problem building DPDK libraries
The allocation for /tmp is 7.9G, which is almost entirely unused.
David
> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of David Aldrich
> Sent: 17 November 2016 16:25
> To: Wiles, Keith <keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
> Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>; users@dpdk.org<mailto:users@dpdk.org>
> Subject: Re: [dpdk-users] Problem building DPDK libraries
>
> Hi
>
> I'm using:
>
> # gcc --version
> gcc (Wind River Linux 5.2.0-8.0-intel-haswell-64) 5.2.0
>
> I'll consider the tmp space.
>
> Thanks
>
> David
>
> > -----Original Message-----
> > From: Wiles, Keith [mailto:keith.wiles@intel.com]
> > Sent: 17 November 2016 16:10
> > To: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>
> > Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>; users@dpdk.org<mailto:users@dpdk.org>
> > Subject: Re: [dpdk-users] Problem building DPDK libraries
> >
> >
> > > On Nov 17, 2016, at 10:05 AM, David Aldrich
> > <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>> wrote:
> > >
> > > Thanks, I thought I had installed the kernel headers, but I had
> > > done it
> > incorrectly.  Now fixed.
> > >
> > > But make is still failing:
> > >
> > >  CC ixgbe_rxtx_vec_sse.o
> > > gcc: internal compiler error: Killed (program cc1) Please submit a
> > > full bug report, with preprocessed source if appropriate.
> > > See <support@windriver.com<mailto:support@windriver.com>> for instructions.
> > > /root/dpdk-stable-16.07.1/mk/internal/rte.compile-pre.mk:138:
> > > recipe for target 'rte_eth_af_packet.o’ failed
> >
> > What version of GCC?
> >
> > When I see this type of error it is sometimes not enough tmp space
> > to compile the file, just a thought.
> >
> > > make[6]: *** [rte_eth_af_packet.o] Error 4
> > > /root/dpdk-stable-16.07.1/mk/rte.subdir.mk:61: recipe for target
> > > 'af_packet' failed
> > > make[5]: *** [af_packet] Error 2
> > > make[5]: *** Waiting for unfinished jobs....
> > >
> > > Best regards
> > >
> > > David
> > >
> > >> -----Original Message-----
> > >> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> > >> Sent: 17 November 2016 16:00
> > >> To: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>
> > >> Cc: users@dpdk.org<mailto:users@dpdk.org>
> > >> Subject: Re: [dpdk-users] Problem building DPDK libraries
> > >>
> > >> 2016-11-17 15:51, David Aldrich:
> > >>> make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build:
> > >>> No such
> > >> file or directory.  Stop.
> > >>
> > >> You need the kernel headers, or just disable compilation of kernel
modules:
> > >>    sed -ri 's,(KNI_KMOD=).*,\1n,' build/.config
> > >>    sed -ri 's,(IGB_UIO=).*,\1n,' build/.config
> > >>
> > >>
> > >>
> > >> Click
> > >>
> >
>
https://www.mailcontrol.com/sr/4ZSg1SI7T87GX2PQPOmvUstiqgZjxB51m1JQqZ
> > >> njH0BFwQAIYudV!69Vnv0C8JC0YknPHNppj5zLq66BGWNXYg==  to report
> this
> > >> email as spam.
> >
> > Regards,
> > Keith



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 16:54           ` Pavey, Nicholas
@ 2016-11-17 16:56             ` David Aldrich
  2016-11-17 16:58               ` Pavey, Nicholas
  2016-11-17 17:00               ` Wiles, Keith
  0 siblings, 2 replies; 18+ messages in thread
From: David Aldrich @ 2016-11-17 16:56 UTC (permalink / raw)
  To: Pavey, Nicholas, Wiles, Keith; +Cc: Thomas Monjalon, users

Thanks.

Do I need to do ‘make install’ or is ‘make’ sufficient?

David

From: Pavey, Nicholas [mailto:npavey@akamai.com]
Sent: 17 November 2016 16:55
To: David Aldrich <David.Aldrich@EMEA.NEC.COM>; Wiles, Keith <keith.wiles@intel.com>
Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
Subject: Re: [dpdk-users] Problem building DPDK libraries

Yes, I’ve found that –j<n> causes problems too.

I believe I’ve used both the T=<…> and the environment variable version without problems, as long as :


·        You don’t use parallel make (-j<n>)

·        You completely remove the target directory before building (this has the same name as “T”)

o   I don’t recall exactly the problem this addressed, but I did find that doing a completely clean build is sometimes necessary.

Thanks,


Nick


From: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>
Date: Thursday, November 17, 2016 at 11:47 AM
To: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>, "Wiles, Keith" <keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>, "users@dpdk.org<mailto:users@dpdk.org>" <users@dpdk.org<mailto:users@dpdk.org>>
Subject: Re: [dpdk-users] Problem building DPDK libraries

Hi

I find that:

      make

succeeds.

But I've been advised to run:

      make -j T=x86_64-native-linuxapp-gcc install

I think '-j' was causing the compiler problems, so I can drop that.

Do I need the 'T=' part?

How would I do:

      make install

? That doesn't work currently for me.

David

-----Original Message-----
From: David Aldrich
Sent: 17 November 2016 16:29
To: 'David Aldrich' <David.Aldrich@emea.nec.com<mailto:David.Aldrich@emea.nec.com>>; Wiles, Keith
<keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>; users@dpdk.org<mailto:users@dpdk.org>
Subject: RE: [dpdk-users] Problem building DPDK libraries
The allocation for /tmp is 7.9G, which is almost entirely unused.
David
> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of David Aldrich
> Sent: 17 November 2016 16:25
> To: Wiles, Keith <keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
> Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>; users@dpdk.org<mailto:users@dpdk.org>
> Subject: Re: [dpdk-users] Problem building DPDK libraries
>
> Hi
>
> I'm using:
>
> # gcc --version
> gcc (Wind River Linux 5.2.0-8.0-intel-haswell-64) 5.2.0
>
> I'll consider the tmp space.
>
> Thanks
>
> David
>
> > -----Original Message-----
> > From: Wiles, Keith [mailto:keith.wiles@intel.com]
> > Sent: 17 November 2016 16:10
> > To: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>
> > Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>; users@dpdk.org<mailto:users@dpdk.org>
> > Subject: Re: [dpdk-users] Problem building DPDK libraries
> >
> >
> > > On Nov 17, 2016, at 10:05 AM, David Aldrich
> > <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>> wrote:
> > >
> > > Thanks, I thought I had installed the kernel headers, but I had
> > > done it
> > incorrectly.  Now fixed.
> > >
> > > But make is still failing:
> > >
> > >  CC ixgbe_rxtx_vec_sse.o
> > > gcc: internal compiler error: Killed (program cc1) Please submit a
> > > full bug report, with preprocessed source if appropriate.
> > > See <support@windriver.com<mailto:support@windriver.com>> for instructions.
> > > /root/dpdk-stable-16.07.1/mk/internal/rte.compile-pre.mk:138:
> > > recipe for target 'rte_eth_af_packet.o’ failed
> >
> > What version of GCC?
> >
> > When I see this type of error it is sometimes not enough tmp space
> > to compile the file, just a thought.
> >
> > > make[6]: *** [rte_eth_af_packet.o] Error 4
> > > /root/dpdk-stable-16.07.1/mk/rte.subdir.mk:61: recipe for target
> > > 'af_packet' failed
> > > make[5]: *** [af_packet] Error 2
> > > make[5]: *** Waiting for unfinished jobs....
> > >
> > > Best regards
> > >
> > > David
> > >
> > >> -----Original Message-----
> > >> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> > >> Sent: 17 November 2016 16:00
> > >> To: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>
> > >> Cc: users@dpdk.org<mailto:users@dpdk.org>
> > >> Subject: Re: [dpdk-users] Problem building DPDK libraries
> > >>
> > >> 2016-11-17 15:51, David Aldrich:
> > >>> make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build:
> > >>> No such
> > >> file or directory.  Stop.
> > >>
> > >> You need the kernel headers, or just disable compilation of kernel
modules:
> > >>    sed -ri 's,(KNI_KMOD=).*,\1n,' build/.config
> > >>    sed -ri 's,(IGB_UIO=).*,\1n,' build/.config
> > >>
> > >>
> > >>
> > >> Click
> > >>
> >
>
https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==><https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>
> > >> njH0BFwQAIYudV!69Vnv0C8JC0YknPHNppj5zLq66BGWNXYg==  to report<https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>
> this<https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>
> > >> email as spam.<https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>
> ><https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>
> > Regards,<https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>
> > Keith<https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>
 <https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>
 <https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>



<https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>

Click <https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==> here<https://www.mailcontrol.com/sr/OcCJsRfsE!3GX2PQPOmvUpnwDS3JbRsAjmLEzh840+T6QNmG7h5Ed4U86vlU1ndTYknPHNppj5z3Y22mGO5KhQ==> to report this email as spam.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 16:47         ` David Aldrich
  2016-11-17 16:54           ` Pavey, Nicholas
@ 2016-11-17 16:56           ` Wiles, Keith
  1 sibling, 0 replies; 18+ messages in thread
From: Wiles, Keith @ 2016-11-17 16:56 UTC (permalink / raw)
  To: David Aldrich; +Cc: Thomas Monjalon, users


> On Nov 17, 2016, at 10:47 AM, David Aldrich <David.Aldrich@EMEA.NEC.COM> wrote:
> 
> Hi 
> 
> I find that:
> 
> 	make
> 
> succeeds.
> 
> But I've been advised to run:
> 
> 	make -j T=x86_64-native-linuxapp-gcc install
> 
> I think '-j' was causing the compiler problems, so I can drop that.
> 
> Do I need the 'T=' part?

I would use the T= part, but you will get a warning at the end, but you can ignore it. DPDK can be built a number of ways, but I find the ‘make install T=${RTE_TARGET} -j’ (or without -j) works the best for me.

The -j should work unless you are using NFS and the time is off some how, but really the build time is pretty fast without it. If it works without -j then I would stay with it unless you just need the speed, but you have to figure out why it does not work.

> 
> How would I do:
> 
> 	make install
> 
> ? That doesn't work currently for me.
> 
> David
> 
>> -----Original Message-----
>> From: David Aldrich
>> Sent: 17 November 2016 16:29
>> To: 'David Aldrich' <David.Aldrich@emea.nec.com>; Wiles, Keith
>> <keith.wiles@intel.com>
>> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
>> Subject: RE: [dpdk-users] Problem building DPDK libraries
>> 
>> The allocation for /tmp is 7.9G, which is almost entirely unused.
>> 
>> David
>> 
>>> -----Original Message-----
>>> From: users [mailto:users-bounces@dpdk.org] On Behalf Of David Aldrich
>>> Sent: 17 November 2016 16:25
>>> To: Wiles, Keith <keith.wiles@intel.com>
>>> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
>>> Subject: Re: [dpdk-users] Problem building DPDK libraries
>>> 
>>> Hi
>>> 
>>> I'm using:
>>> 
>>> # gcc --version
>>> gcc (Wind River Linux 5.2.0-8.0-intel-haswell-64) 5.2.0
>>> 
>>> I'll consider the tmp space.
>>> 
>>> Thanks
>>> 
>>> David
>>> 
>>>> -----Original Message-----
>>>> From: Wiles, Keith [mailto:keith.wiles@intel.com]
>>>> Sent: 17 November 2016 16:10
>>>> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
>>>> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
>>>> Subject: Re: [dpdk-users] Problem building DPDK libraries
>>>> 
>>>> 
>>>>> On Nov 17, 2016, at 10:05 AM, David Aldrich
>>>> <David.Aldrich@EMEA.NEC.COM> wrote:
>>>>> 
>>>>> Thanks, I thought I had installed the kernel headers, but I had
>>>>> done it
>>>> incorrectly.  Now fixed.
>>>>> 
>>>>> But make is still failing:
>>>>> 
>>>>> CC ixgbe_rxtx_vec_sse.o
>>>>> gcc: internal compiler error: Killed (program cc1) Please submit a
>>>>> full bug report, with preprocessed source if appropriate.
>>>>> See <support@windriver.com> for instructions.
>>>>> /root/dpdk-stable-16.07.1/mk/internal/rte.compile-pre.mk:138:
>>>>> recipe for target 'rte_eth_af_packet.o’ failed
>>>> 
>>>> What version of GCC?
>>>> 
>>>> When I see this type of error it is sometimes not enough tmp space
>>>> to compile the file, just a thought.
>>>> 
>>>>> make[6]: *** [rte_eth_af_packet.o] Error 4
>>>>> /root/dpdk-stable-16.07.1/mk/rte.subdir.mk:61: recipe for target
>>>>> 'af_packet' failed
>>>>> make[5]: *** [af_packet] Error 2
>>>>> make[5]: *** Waiting for unfinished jobs....
>>>>> 
>>>>> Best regards
>>>>> 
>>>>> David
>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
>>>>>> Sent: 17 November 2016 16:00
>>>>>> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
>>>>>> Cc: users@dpdk.org
>>>>>> Subject: Re: [dpdk-users] Problem building DPDK libraries
>>>>>> 
>>>>>> 2016-11-17 15:51, David Aldrich:
>>>>>>> make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build:
>>>>>>> No such
>>>>>> file or directory.  Stop.
>>>>>> 
>>>>>> You need the kernel headers, or just disable compilation of kernel
>> modules:
>>>>>> 	sed -ri 's,(KNI_KMOD=).*,\1n,' build/.config
>>>>>> 	sed -ri 's,(IGB_UIO=).*,\1n,' build/.config
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Click
>>>>>> 
>>>> 
>>> 
>> https://www.mailcontrol.com/sr/4ZSg1SI7T87GX2PQPOmvUstiqgZjxB51m1JQqZ
>>>>>> njH0BFwQAIYudV!69Vnv0C8JC0YknPHNppj5zLq66BGWNXYg==  to report
>>> this
>>>>>> email as spam.
>>>> 
>>>> Regards,
>>>> Keith
> 

Regards,
Keith


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 16:56             ` David Aldrich
@ 2016-11-17 16:58               ` Pavey, Nicholas
  2016-11-17 17:00               ` Wiles, Keith
  1 sibling, 0 replies; 18+ messages in thread
From: Pavey, Nicholas @ 2016-11-17 16:58 UTC (permalink / raw)
  To: David Aldrich, Wiles, Keith; +Cc: Thomas Monjalon, users

IIRC, I use ‘make install’

Nick

From: David Aldrich <David.Aldrich@EMEA.NEC.COM>
Date: Thursday, November 17, 2016 at 11:56 AM
To: "Pavey, Nicholas" <npavey@akamai.com>, "Wiles, Keith" <keith.wiles@intel.com>
Cc: Thomas Monjalon <thomas.monjalon@6wind.com>, "users@dpdk.org" <users@dpdk.org>
Subject: RE: [dpdk-users] Problem building DPDK libraries

Thanks.

Do I need to do ‘make install’ or is ‘make’ sufficient?

David

From: Pavey, Nicholas [mailto:npavey@akamai.com]
Sent: 17 November 2016 16:55
To: David Aldrich <David.Aldrich@EMEA.NEC.COM>; Wiles, Keith <keith.wiles@intel.com>
Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
Subject: Re: [dpdk-users] Problem building DPDK libraries

Yes, I’ve found that –j<n> causes problems too.

I believe I’ve used both the T=<…> and the environment variable version without problems, as long as :


·         You don’t use parallel make (-j<n>)

·         You completely remove the target directory before building (this has the same name as “T”)

o   I don’t recall exactly the problem this addressed, but I did find that doing a completely clean build is sometimes necessary.

Thanks,


Nick


From: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>
Date: Thursday, November 17, 2016 at 11:47 AM
To: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>, "Wiles, Keith" <keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>, "users@dpdk.org<mailto:users@dpdk.org>" <users@dpdk.org<mailto:users@dpdk.org>>
Subject: Re: [dpdk-users] Problem building DPDK libraries

Hi

I find that:

      make

succeeds.

But I've been advised to run:

      make -j T=x86_64-native-linuxapp-gcc install

I think '-j' was causing the compiler problems, so I can drop that.

Do I need the 'T=' part?

How would I do:

      make install

? That doesn't work currently for me.

David

-----Original Message-----
From: David Aldrich
Sent: 17 November 2016 16:29
To: 'David Aldrich' <David.Aldrich@emea.nec.com<mailto:David.Aldrich@emea.nec.com>>; Wiles, Keith
<keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>; users@dpdk.org<mailto:users@dpdk.org>
Subject: RE: [dpdk-users] Problem building DPDK libraries
The allocation for /tmp is 7.9G, which is almost entirely unused.
David
> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of David Aldrich
> Sent: 17 November 2016 16:25
> To: Wiles, Keith <keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
> Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>; users@dpdk.org<mailto:users@dpdk.org>
> Subject: Re: [dpdk-users] Problem building DPDK libraries
>
> Hi
>
> I'm using:
>
> # gcc --version
> gcc (Wind River Linux 5.2.0-8.0-intel-haswell-64) 5.2.0
>
> I'll consider the tmp space.
>
> Thanks
>
> David
>
> > -----Original Message-----
> > From: Wiles, Keith [mailto:keith.wiles@intel.com]
> > Sent: 17 November 2016 16:10
> > To: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>
> > Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>; users@dpdk.org<mailto:users@dpdk.org>
> > Subject: Re: [dpdk-users] Problem building DPDK libraries
> >
> >
> > > On Nov 17, 2016, at 10:05 AM, David Aldrich
> > <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>> wrote:
> > >
> > > Thanks, I thought I had installed the kernel headers, but I had
> > > done it
> > incorrectly.  Now fixed.
> > >
> > > But make is still failing:
> > >
> > >  CC ixgbe_rxtx_vec_sse.o
> > > gcc: internal compiler error: Killed (program cc1) Please submit a
> > > full bug report, with preprocessed source if appropriate.
> > > See <support@windriver.com<mailto:support@windriver.com>> for instructions.
> > > /root/dpdk-stable-16.07.1/mk/internal/rte.compile-pre.mk:138:
> > > recipe for target 'rte_eth_af_packet.o’ failed
> >
> > What version of GCC?
> >
> > When I see this type of error it is sometimes not enough tmp space
> > to compile the file, just a thought.
> >
> > > make[6]: *** [rte_eth_af_packet.o] Error 4
> > > /root/dpdk-stable-16.07.1/mk/rte.subdir.mk:61: recipe for target
> > > 'af_packet' failed
> > > make[5]: *** [af_packet] Error 2
> > > make[5]: *** Waiting for unfinished jobs....
> > >
> > > Best regards
> > >
> > > David
> > >
> > >> -----Original Message-----
> > >> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> > >> Sent: 17 November 2016 16:00
> > >> To: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>
> > >> Cc: users@dpdk.org<mailto:users@dpdk.org>
> > >> Subject: Re: [dpdk-users] Problem building DPDK libraries
> > >>
> > >> 2016-11-17 15:51, David Aldrich:
> > >>> make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build:
> > >>> No such
> > >> file or directory.  Stop.
> > >>
> > >> You need the kernel headers, or just disable compilation of kernel
modules:
> > >>    sed -ri 's,(KNI_KMOD=).*,\1n,' build/.config
> > >>    sed -ri 's,(IGB_UIO=).*,\1n,' build/.config
> > >>
> > >>
> > >>
> > >> Click
> > >>
> >
>
https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==><https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mailcontrol.com_sr_MZbqvYs5QwJvpeaetUwhCQ-3D-3D&d=DgMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=ssgET6RyiWLuSGT5U4X0s-CtLYP5dr-AKGa5XH84zdM&m=1zZXDW8J8EZnvvTyHiUeZGRJTP-dv7uM5lLPU_4SS3E&s=BF3WqAAJQLUQC0n5dM5MkIlM1tit0gYP9X1xx05Qte0&e=>
> > >> njH0BFwQAIYudV!69Vnv0C8JC0YknPHNppj5zLq66BGWNXYg==  to report<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mailcontrol.com_sr_MZbqvYs5QwJvpeaetUwhCQ-3D-3D&d=DgMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=ssgET6RyiWLuSGT5U4X0s-CtLYP5dr-AKGa5XH84zdM&m=1zZXDW8J8EZnvvTyHiUeZGRJTP-dv7uM5lLPU_4SS3E&s=BF3WqAAJQLUQC0n5dM5MkIlM1tit0gYP9X1xx05Qte0&e=>
> this<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mailcontrol.com_sr_MZbqvYs5QwJvpeaetUwhCQ-3D-3D&d=DgMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=ssgET6RyiWLuSGT5U4X0s-CtLYP5dr-AKGa5XH84zdM&m=1zZXDW8J8EZnvvTyHiUeZGRJTP-dv7uM5lLPU_4SS3E&s=BF3WqAAJQLUQC0n5dM5MkIlM1tit0gYP9X1xx05Qte0&e=>
> > >> email as spam.<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mailcontrol.com_sr_MZbqvYs5QwJvpeaetUwhCQ-3D-3D&d=DgMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=ssgET6RyiWLuSGT5U4X0s-CtLYP5dr-AKGa5XH84zdM&m=1zZXDW8J8EZnvvTyHiUeZGRJTP-dv7uM5lLPU_4SS3E&s=BF3WqAAJQLUQC0n5dM5MkIlM1tit0gYP9X1xx05Qte0&e=>
> ><https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mailcontrol.com_sr_MZbqvYs5QwJvpeaetUwhCQ-3D-3D&d=DgMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=ssgET6RyiWLuSGT5U4X0s-CtLYP5dr-AKGa5XH84zdM&m=1zZXDW8J8EZnvvTyHiUeZGRJTP-dv7uM5lLPU_4SS3E&s=BF3WqAAJQLUQC0n5dM5MkIlM1tit0gYP9X1xx05Qte0&e=>
> > Regards,<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mailcontrol.com_sr_MZbqvYs5QwJvpeaetUwhCQ-3D-3D&d=DgMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=ssgET6RyiWLuSGT5U4X0s-CtLYP5dr-AKGa5XH84zdM&m=1zZXDW8J8EZnvvTyHiUeZGRJTP-dv7uM5lLPU_4SS3E&s=BF3WqAAJQLUQC0n5dM5MkIlM1tit0gYP9X1xx05Qte0&e=>
> > Keith<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mailcontrol.com_sr_MZbqvYs5QwJvpeaetUwhCQ-3D-3D&d=DgMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=ssgET6RyiWLuSGT5U4X0s-CtLYP5dr-AKGa5XH84zdM&m=1zZXDW8J8EZnvvTyHiUeZGRJTP-dv7uM5lLPU_4SS3E&s=BF3WqAAJQLUQC0n5dM5MkIlM1tit0gYP9X1xx05Qte0&e=>
 <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mailcontrol.com_sr_MZbqvYs5QwJvpeaetUwhCQ-3D-3D&d=DgMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=ssgET6RyiWLuSGT5U4X0s-CtLYP5dr-AKGa5XH84zdM&m=1zZXDW8J8EZnvvTyHiUeZGRJTP-dv7uM5lLPU_4SS3E&s=BF3WqAAJQLUQC0n5dM5MkIlM1tit0gYP9X1xx05Qte0&e=>
 <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mailcontrol.com_sr_MZbqvYs5QwJvpeaetUwhCQ-3D-3D&d=DgMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=ssgET6RyiWLuSGT5U4X0s-CtLYP5dr-AKGa5XH84zdM&m=1zZXDW8J8EZnvvTyHiUeZGRJTP-dv7uM5lLPU_4SS3E&s=BF3WqAAJQLUQC0n5dM5MkIlM1tit0gYP9X1xx05Qte0&e=>



<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mailcontrol.com_sr_MZbqvYs5QwJvpeaetUwhCQ-3D-3D&d=DgMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=ssgET6RyiWLuSGT5U4X0s-CtLYP5dr-AKGa5XH84zdM&m=1zZXDW8J8EZnvvTyHiUeZGRJTP-dv7uM5lLPU_4SS3E&s=BF3WqAAJQLUQC0n5dM5MkIlM1tit0gYP9X1xx05Qte0&e=>

Click <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mailcontrol.com_sr_MZbqvYs5QwJvpeaetUwhCQ-3D-3D&d=DgMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=ssgET6RyiWLuSGT5U4X0s-CtLYP5dr-AKGa5XH84zdM&m=1zZXDW8J8EZnvvTyHiUeZGRJTP-dv7uM5lLPU_4SS3E&s=BF3WqAAJQLUQC0n5dM5MkIlM1tit0gYP9X1xx05Qte0&e=> here<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mailcontrol.com_sr_OcCJsRfsE-213GX2PQPOmvUpnwDS3JbRsAjmLEzh840-26-2343-3BT6QNmG7h5Ed4U86vlU1ndTYknPHNppj5z3Y22mGO5KhQ-3D-3D&d=DgMGaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=ssgET6RyiWLuSGT5U4X0s-CtLYP5dr-AKGa5XH84zdM&m=1zZXDW8J8EZnvvTyHiUeZGRJTP-dv7uM5lLPU_4SS3E&s=VGl5PHewHbJPtsrTOy6BZi43hXQGNrnMUAa0Owev5GY&e=> to report this email as spam.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 16:56             ` David Aldrich
  2016-11-17 16:58               ` Pavey, Nicholas
@ 2016-11-17 17:00               ` Wiles, Keith
  2016-11-17 17:02                 ` David Aldrich
  1 sibling, 1 reply; 18+ messages in thread
From: Wiles, Keith @ 2016-11-17 17:00 UTC (permalink / raw)
  To: David Aldrich; +Cc: Pavey, Nicholas, Thomas Monjalon, users


> On Nov 17, 2016, at 10:56 AM, David Aldrich <David.Aldrich@EMEA.NEC.COM> wrote:
> 
> Thanks.
>  
> Do I need to do ‘make install’ or is ‘make’ sufficient?

I do not really install DPDK, but use it from the source tree. If you want to install it then look at the docs, it talks about install the binaries. The install is handy with the T= option only to make sure you build the correct version and ignore the warning at the end.

>  
> David
>  
> From: Pavey, Nicholas [mailto:npavey@akamai.com] 
> Sent: 17 November 2016 16:55
> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>; Wiles, Keith <keith.wiles@intel.com>
> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> Subject: Re: [dpdk-users] Problem building DPDK libraries
>  
> Yes, I’ve found that –j<n> causes problems too.
>  
> I believe I’ve used both the T=<…> and the environment variable version without problems, as long as :
>  
> ·        You don’t use parallel make (-j<n>)
> ·        You completely remove the target directory before building (this has the same name as “T”)
> o   I don’t recall exactly the problem this addressed, but I did find that doing a completely clean build is sometimes necessary.
>  
> Thanks,
>  
>  
> Nick
>  
>  
> From: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> Date: Thursday, November 17, 2016 at 11:47 AM
> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>, "Wiles, Keith" <keith.wiles@intel.com>
> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>, "users@dpdk.org" <users@dpdk.org>
> Subject: Re: [dpdk-users] Problem building DPDK libraries
>  
> Hi
>  
> I find that:
>  
>       make
>  
> succeeds.
>  
> But I've been advised to run:
>  
>       make -j T=x86_64-native-linuxapp-gcc install
>  
> I think '-j' was causing the compiler problems, so I can drop that.
>  
> Do I need the 'T=' part?
>  
> How would I do:
>  
>       make install
>  
> ? That doesn't work currently for me.
>  
> David
>  
> -----Original Message-----
> From: David Aldrich
> Sent: 17 November 2016 16:29
> To: 'David Aldrich' <David.Aldrich@emea.nec.com>; Wiles, Keith
> <keith.wiles@intel.com>
> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> Subject: RE: [dpdk-users] Problem building DPDK libraries
> The allocation for /tmp is 7.9G, which is almost entirely unused.
> David
> > -----Original Message-----
> > From: users [mailto:users-bounces@dpdk.org] On Behalf Of David Aldrich
> > Sent: 17 November 2016 16:25
> > To: Wiles, Keith <keith.wiles@intel.com>
> > Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> > Subject: Re: [dpdk-users] Problem building DPDK libraries
> > 
> > Hi
> > 
> > I'm using:
> > 
> > # gcc --version
> > gcc (Wind River Linux 5.2.0-8.0-intel-haswell-64) 5.2.0
> > 
> > I'll consider the tmp space.
> > 
> > Thanks
> > 
> > David
> > 
> > > -----Original Message-----
> > > From: Wiles, Keith [mailto:keith.wiles@intel.com]
> > > Sent: 17 November 2016 16:10
> > > To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> > > Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> > > Subject: Re: [dpdk-users] Problem building DPDK libraries
> > >
> > >
> > > > On Nov 17, 2016, at 10:05 AM, David Aldrich
> > > <David.Aldrich@EMEA.NEC.COM> wrote:
> > > >
> > > > Thanks, I thought I had installed the kernel headers, but I had
> > > > done it
> > > incorrectly.  Now fixed.
> > > >
> > > > But make is still failing:
> > > >
> > > >  CC ixgbe_rxtx_vec_sse.o
> > > > gcc: internal compiler error: Killed (program cc1) Please submit a
> > > > full bug report, with preprocessed source if appropriate.
> > > > See <support@windriver.com> for instructions.
> > > > /root/dpdk-stable-16.07.1/mk/internal/rte.compile-pre.mk:138:
> > > > recipe for target 'rte_eth_af_packet.o’ failed
> > >
> > > What version of GCC?
> > >
> > > When I see this type of error it is sometimes not enough tmp space
> > > to compile the file, just a thought.
> > >
> > > > make[6]: *** [rte_eth_af_packet.o] Error 4
> > > > /root/dpdk-stable-16.07.1/mk/rte.subdir.mk:61: recipe for target
> > > > 'af_packet' failed
> > > > make[5]: *** [af_packet] Error 2
> > > > make[5]: *** Waiting for unfinished jobs....
> > > >
> > > > Best regards
> > > >
> > > > David
> > > >
> > > >> -----Original Message-----
> > > >> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> > > >> Sent: 17 November 2016 16:00
> > > >> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> > > >> Cc: users@dpdk.org
> > > >> Subject: Re: [dpdk-users] Problem building DPDK libraries
> > > >>
> > > >> 2016-11-17 15:51, David Aldrich:
> > > >>> make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build:
> > > >>> No such
> > > >> file or directory.  Stop.
> > > >>
> > > >> You need the kernel headers, or just disable compilation of kernel
> modules:
> > > >>    sed -ri 's,(KNI_KMOD=).*,\1n,' build/.config
> > > >>    sed -ri 's,(IGB_UIO=).*,\1n,' build/.config
> > > >>
> > > >>
> > > >>
> > > >> Click
> > > >>
> > >
> > 
> https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>
> > > >> njH0BFwQAIYudV!69Vnv0C8JC0YknPHNppj5zLq66BGWNXYg==  to report
> > this
> > > >> email as spam.
> > >
> > > Regards,
> > > Keith
>  
>  
> 
> 
> 
> Click here to report this email as spam.
> 

Regards,
Keith


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 17:00               ` Wiles, Keith
@ 2016-11-17 17:02                 ` David Aldrich
  2016-11-17 17:16                   ` Wiles, Keith
                                     ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: David Aldrich @ 2016-11-17 17:02 UTC (permalink / raw)
  To: Wiles, Keith; +Cc: Pavey, Nicholas, Thomas Monjalon, users

You are all very helpful. Thank you.

I'm afraid 'make install' isn't working:

# make install
make[1]: Nothing to be done for 'pre_install'.
================== Installing /usr/local/
cp: cannot stat 'build/lib/*': No such file or directory
/root/dpdk-2.2.0/mk/rte.sdkinstall.mk:116: recipe for target 'install-runtime' failed
make[3]: *** [install-runtime] Error 1

David

> -----Original Message-----
> From: Wiles, Keith [mailto:keith.wiles@intel.com]
> Sent: 17 November 2016 17:00
> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> Cc: Pavey, Nicholas <npavey@akamai.com>; Thomas Monjalon
> <thomas.monjalon@6wind.com>; users@dpdk.org
> Subject: Re: [dpdk-users] Problem building DPDK libraries
> 
> 
> > On Nov 17, 2016, at 10:56 AM, David Aldrich
> <David.Aldrich@EMEA.NEC.COM> wrote:
> >
> > Thanks.
> >
> > Do I need to do ‘make install’ or is ‘make’ sufficient?
> 
> I do not really install DPDK, but use it from the source tree. If you want to install
> it then look at the docs, it talks about install the binaries. The install is handy
> with the T= option only to make sure you build the correct version and ignore
> the warning at the end.
> 
> >
> > David
> >
> > From: Pavey, Nicholas [mailto:npavey@akamai.com]
> > Sent: 17 November 2016 16:55
> > To: David Aldrich <David.Aldrich@EMEA.NEC.COM>; Wiles, Keith
> > <keith.wiles@intel.com>
> > Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> > Subject: Re: [dpdk-users] Problem building DPDK libraries
> >
> > Yes, I’ve found that –j<n> causes problems too.
> >
> > I believe I’ve used both the T=<…> and the environment variable version
> without problems, as long as :
> >
> > ·        You don’t use parallel make (-j<n>)
> > ·        You completely remove the target directory before building (this has the
> same name as “T”)
> > o   I don’t recall exactly the problem this addressed, but I did find that doing a
> completely clean build is sometimes necessary.
> >
> > Thanks,
> >
> >
> > Nick
> >
> >
> > From: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> > Date: Thursday, November 17, 2016 at 11:47 AM
> > To: David Aldrich <David.Aldrich@EMEA.NEC.COM>, "Wiles, Keith"
> > <keith.wiles@intel.com>
> > Cc: Thomas Monjalon <thomas.monjalon@6wind.com>, "users@dpdk.org"
> > <users@dpdk.org>
> > Subject: Re: [dpdk-users] Problem building DPDK libraries
> >
> > Hi
> >
> > I find that:
> >
> >       make
> >
> > succeeds.
> >
> > But I've been advised to run:
> >
> >       make -j T=x86_64-native-linuxapp-gcc install
> >
> > I think '-j' was causing the compiler problems, so I can drop that.
> >
> > Do I need the 'T=' part?
> >
> > How would I do:
> >
> >       make install
> >
> > ? That doesn't work currently for me.
> >
> > David
> >
> > -----Original Message-----
> > From: David Aldrich
> > Sent: 17 November 2016 16:29
> > To: 'David Aldrich' <David.Aldrich@emea.nec.com>; Wiles, Keith
> > <keith.wiles@intel.com>
> > Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> > Subject: RE: [dpdk-users] Problem building DPDK libraries The
> > allocation for /tmp is 7.9G, which is almost entirely unused.
> > David
> > > -----Original Message-----
> > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of David
> > > Aldrich
> > > Sent: 17 November 2016 16:25
> > > To: Wiles, Keith <keith.wiles@intel.com>
> > > Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> > > Subject: Re: [dpdk-users] Problem building DPDK libraries
> > >
> > > Hi
> > >
> > > I'm using:
> > >
> > > # gcc --version
> > > gcc (Wind River Linux 5.2.0-8.0-intel-haswell-64) 5.2.0
> > >
> > > I'll consider the tmp space.
> > >
> > > Thanks
> > >
> > > David
> > >
> > > > -----Original Message-----
> > > > From: Wiles, Keith [mailto:keith.wiles@intel.com]
> > > > Sent: 17 November 2016 16:10
> > > > To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> > > > Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> > > > Subject: Re: [dpdk-users] Problem building DPDK libraries
> > > >
> > > >
> > > > > On Nov 17, 2016, at 10:05 AM, David Aldrich
> > > > <David.Aldrich@EMEA.NEC.COM> wrote:
> > > > >
> > > > > Thanks, I thought I had installed the kernel headers, but I had
> > > > > done it
> > > > incorrectly.  Now fixed.
> > > > >
> > > > > But make is still failing:
> > > > >
> > > > >  CC ixgbe_rxtx_vec_sse.o
> > > > > gcc: internal compiler error: Killed (program cc1) Please submit
> > > > > a full bug report, with preprocessed source if appropriate.
> > > > > See <support@windriver.com> for instructions.
> > > > > /root/dpdk-stable-16.07.1/mk/internal/rte.compile-pre.mk:138:
> > > > > recipe for target 'rte_eth_af_packet.o’ failed
> > > >
> > > > What version of GCC?
> > > >
> > > > When I see this type of error it is sometimes not enough tmp space
> > > > to compile the file, just a thought.
> > > >
> > > > > make[6]: *** [rte_eth_af_packet.o] Error 4
> > > > > /root/dpdk-stable-16.07.1/mk/rte.subdir.mk:61: recipe for target
> > > > > 'af_packet' failed
> > > > > make[5]: *** [af_packet] Error 2
> > > > > make[5]: *** Waiting for unfinished jobs....
> > > > >
> > > > > Best regards
> > > > >
> > > > > David
> > > > >
> > > > >> -----Original Message-----
> > > > >> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> > > > >> Sent: 17 November 2016 16:00
> > > > >> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> > > > >> Cc: users@dpdk.org
> > > > >> Subject: Re: [dpdk-users] Problem building DPDK libraries
> > > > >>
> > > > >> 2016-11-17 15:51, David Aldrich:
> > > > >>> make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build:
> > > > >>> No such
> > > > >> file or directory.  Stop.
> > > > >>
> > > > >> You need the kernel headers, or just disable compilation of
> > > > >> kernel
> > modules:
> > > > >>    sed -ri 's,(KNI_KMOD=).*,\1n,' build/.config
> > > > >>    sed -ri 's,(IGB_UIO=).*,\1n,' build/.config
> > > > >>
> > > > >>
> > > > >>
> > > > >> Click
> > > > >>
> > > >
> > >
> > https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>
> > > > >> njH0BFwQAIYudV!69Vnv0C8JC0YknPHNppj5zLq66BGWNXYg==  to
> report
> > > this
> > > > >> email as spam.
> > > >
> > > > Regards,
> > > > Keith
> >
> >
> >
> >
> >
> > Click here to report this email as spam.
> >
> 
> Regards,
> Keith


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 17:02                 ` David Aldrich
@ 2016-11-17 17:16                   ` Wiles, Keith
  2016-11-17 17:23                     ` David Aldrich
  2016-11-17 17:27                   ` Thomas Monjalon
  2016-11-17 18:38                   ` Pavey, Nicholas
  2 siblings, 1 reply; 18+ messages in thread
From: Wiles, Keith @ 2016-11-17 17:16 UTC (permalink / raw)
  To: David Aldrich; +Cc: Pavey, Nicholas, Thomas Monjalon, users


> On Nov 17, 2016, at 11:02 AM, David Aldrich <David.Aldrich@EMEA.NEC.COM> wrote:
> 
> You are all very helpful. Thank you.
> 
> I'm afraid 'make install' isn't working:

I only use ‘make install T=${RTE_TARGET} -j’ command line, but you can remove the -j.

> 
> # make install
> make[1]: Nothing to be done for 'pre_install'.
> ================== Installing /usr/local/
> cp: cannot stat 'build/lib/*': No such file or directory
> /root/dpdk-2.2.0/mk/rte.sdkinstall.mk:116: recipe for target 'install-runtime' failed
> make[3]: *** [install-runtime] Error 1
> 
> David
> 
>> -----Original Message-----
>> From: Wiles, Keith [mailto:keith.wiles@intel.com]
>> Sent: 17 November 2016 17:00
>> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
>> Cc: Pavey, Nicholas <npavey@akamai.com>; Thomas Monjalon
>> <thomas.monjalon@6wind.com>; users@dpdk.org
>> Subject: Re: [dpdk-users] Problem building DPDK libraries
>> 
>> 
>>> On Nov 17, 2016, at 10:56 AM, David Aldrich
>> <David.Aldrich@EMEA.NEC.COM> wrote:
>>> 
>>> Thanks.
>>> 
>>> Do I need to do ‘make install’ or is ‘make’ sufficient?
>> 
>> I do not really install DPDK, but use it from the source tree. If you want to install
>> it then look at the docs, it talks about install the binaries. The install is handy
>> with the T= option only to make sure you build the correct version and ignore
>> the warning at the end.
>> 
>>> 
>>> David
>>> 
>>> From: Pavey, Nicholas [mailto:npavey@akamai.com]
>>> Sent: 17 November 2016 16:55
>>> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>; Wiles, Keith
>>> <keith.wiles@intel.com>
>>> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
>>> Subject: Re: [dpdk-users] Problem building DPDK libraries
>>> 
>>> Yes, I’ve found that –j<n> causes problems too.
>>> 
>>> I believe I’ve used both the T=<…> and the environment variable version
>> without problems, as long as :
>>> 
>>> ·        You don’t use parallel make (-j<n>)
>>> ·        You completely remove the target directory before building (this has the
>> same name as “T”)
>>> o   I don’t recall exactly the problem this addressed, but I did find that doing a
>> completely clean build is sometimes necessary.
>>> 
>>> Thanks,
>>> 
>>> 
>>> Nick
>>> 
>>> 
>>> From: David Aldrich <David.Aldrich@EMEA.NEC.COM>
>>> Date: Thursday, November 17, 2016 at 11:47 AM
>>> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>, "Wiles, Keith"
>>> <keith.wiles@intel.com>
>>> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>, "users@dpdk.org"
>>> <users@dpdk.org>
>>> Subject: Re: [dpdk-users] Problem building DPDK libraries
>>> 
>>> Hi
>>> 
>>> I find that:
>>> 
>>>      make
>>> 
>>> succeeds.
>>> 
>>> But I've been advised to run:
>>> 
>>>      make -j T=x86_64-native-linuxapp-gcc install
>>> 
>>> I think '-j' was causing the compiler problems, so I can drop that.
>>> 
>>> Do I need the 'T=' part?
>>> 
>>> How would I do:
>>> 
>>>      make install
>>> 
>>> ? That doesn't work currently for me.
>>> 
>>> David
>>> 
>>> -----Original Message-----
>>> From: David Aldrich
>>> Sent: 17 November 2016 16:29
>>> To: 'David Aldrich' <David.Aldrich@emea.nec.com>; Wiles, Keith
>>> <keith.wiles@intel.com>
>>> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
>>> Subject: RE: [dpdk-users] Problem building DPDK libraries The
>>> allocation for /tmp is 7.9G, which is almost entirely unused.
>>> David
>>>> -----Original Message-----
>>>> From: users [mailto:users-bounces@dpdk.org] On Behalf Of David
>>>> Aldrich
>>>> Sent: 17 November 2016 16:25
>>>> To: Wiles, Keith <keith.wiles@intel.com>
>>>> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
>>>> Subject: Re: [dpdk-users] Problem building DPDK libraries
>>>> 
>>>> Hi
>>>> 
>>>> I'm using:
>>>> 
>>>> # gcc --version
>>>> gcc (Wind River Linux 5.2.0-8.0-intel-haswell-64) 5.2.0
>>>> 
>>>> I'll consider the tmp space.
>>>> 
>>>> Thanks
>>>> 
>>>> David
>>>> 
>>>>> -----Original Message-----
>>>>> From: Wiles, Keith [mailto:keith.wiles@intel.com]
>>>>> Sent: 17 November 2016 16:10
>>>>> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
>>>>> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
>>>>> Subject: Re: [dpdk-users] Problem building DPDK libraries
>>>>> 
>>>>> 
>>>>>> On Nov 17, 2016, at 10:05 AM, David Aldrich
>>>>> <David.Aldrich@EMEA.NEC.COM> wrote:
>>>>>> 
>>>>>> Thanks, I thought I had installed the kernel headers, but I had
>>>>>> done it
>>>>> incorrectly.  Now fixed.
>>>>>> 
>>>>>> But make is still failing:
>>>>>> 
>>>>>> CC ixgbe_rxtx_vec_sse.o
>>>>>> gcc: internal compiler error: Killed (program cc1) Please submit
>>>>>> a full bug report, with preprocessed source if appropriate.
>>>>>> See <support@windriver.com> for instructions.
>>>>>> /root/dpdk-stable-16.07.1/mk/internal/rte.compile-pre.mk:138:
>>>>>> recipe for target 'rte_eth_af_packet.o’ failed
>>>>> 
>>>>> What version of GCC?
>>>>> 
>>>>> When I see this type of error it is sometimes not enough tmp space
>>>>> to compile the file, just a thought.
>>>>> 
>>>>>> make[6]: *** [rte_eth_af_packet.o] Error 4
>>>>>> /root/dpdk-stable-16.07.1/mk/rte.subdir.mk:61: recipe for target
>>>>>> 'af_packet' failed
>>>>>> make[5]: *** [af_packet] Error 2
>>>>>> make[5]: *** Waiting for unfinished jobs....
>>>>>> 
>>>>>> Best regards
>>>>>> 
>>>>>> David
>>>>>> 
>>>>>>> -----Original Message-----
>>>>>>> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
>>>>>>> Sent: 17 November 2016 16:00
>>>>>>> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
>>>>>>> Cc: users@dpdk.org
>>>>>>> Subject: Re: [dpdk-users] Problem building DPDK libraries
>>>>>>> 
>>>>>>> 2016-11-17 15:51, David Aldrich:
>>>>>>>> make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build:
>>>>>>>> No such
>>>>>>> file or directory.  Stop.
>>>>>>> 
>>>>>>> You need the kernel headers, or just disable compilation of
>>>>>>> kernel
>>> modules:
>>>>>>>   sed -ri 's,(KNI_KMOD=).*,\1n,' build/.config
>>>>>>>   sed -ri 's,(IGB_UIO=).*,\1n,' build/.config
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> Click
>>>>>>> 
>>>>> 
>>>> 
>>> https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>
>>>>>>> njH0BFwQAIYudV!69Vnv0C8JC0YknPHNppj5zLq66BGWNXYg==  to
>> report
>>>> this
>>>>>>> email as spam.
>>>>> 
>>>>> Regards,
>>>>> Keith
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Click here to report this email as spam.
>>> 
>> 
>> Regards,
>> Keith
> 

Regards,
Keith


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 17:16                   ` Wiles, Keith
@ 2016-11-17 17:23                     ` David Aldrich
  2016-11-17 17:31                       ` Thomas Monjalon
  0 siblings, 1 reply; 18+ messages in thread
From: David Aldrich @ 2016-11-17 17:23 UTC (permalink / raw)
  To: Wiles, Keith; +Cc: Pavey, Nicholas, Thomas Monjalon, users

I see:

# make install T=x86_64-native-linuxapp-gcc install
Installation cannot run with T defined and DESTDIR undefined

David


> -----Original Message-----
> From: Wiles, Keith [mailto:keith.wiles@intel.com]
> Sent: 17 November 2016 17:16
> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> Cc: Pavey, Nicholas <npavey@akamai.com>; Thomas Monjalon
> <thomas.monjalon@6wind.com>; users@dpdk.org
> Subject: Re: [dpdk-users] Problem building DPDK libraries
> 
> 
> > On Nov 17, 2016, at 11:02 AM, David Aldrich
> <David.Aldrich@EMEA.NEC.COM> wrote:
> >
> > You are all very helpful. Thank you.
> >
> > I'm afraid 'make install' isn't working:
> 
> I only use ‘make install T=${RTE_TARGET} -j’ command line, but you can remove
> the -j.
> 
> >
> > # make install
> > make[1]: Nothing to be done for 'pre_install'.
> > ================== Installing /usr/local/
> > cp: cannot stat 'build/lib/*': No such file or directory
> > /root/dpdk-2.2.0/mk/rte.sdkinstall.mk:116: recipe for target
> > 'install-runtime' failed
> > make[3]: *** [install-runtime] Error 1
> >
> > David
> >
> >> -----Original Message-----
> >> From: Wiles, Keith [mailto:keith.wiles@intel.com]
> >> Sent: 17 November 2016 17:00
> >> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> >> Cc: Pavey, Nicholas <npavey@akamai.com>; Thomas Monjalon
> >> <thomas.monjalon@6wind.com>; users@dpdk.org
> >> Subject: Re: [dpdk-users] Problem building DPDK libraries
> >>
> >>
> >>> On Nov 17, 2016, at 10:56 AM, David Aldrich
> >> <David.Aldrich@EMEA.NEC.COM> wrote:
> >>>
> >>> Thanks.
> >>>
> >>> Do I need to do ‘make install’ or is ‘make’ sufficient?
> >>
> >> I do not really install DPDK, but use it from the source tree. If you
> >> want to install it then look at the docs, it talks about install the
> >> binaries. The install is handy with the T= option only to make sure
> >> you build the correct version and ignore the warning at the end.
> >>
> >>>
> >>> David
> >>>
> >>> From: Pavey, Nicholas [mailto:npavey@akamai.com]
> >>> Sent: 17 November 2016 16:55
> >>> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>; Wiles, Keith
> >>> <keith.wiles@intel.com>
> >>> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> >>> Subject: Re: [dpdk-users] Problem building DPDK libraries
> >>>
> >>> Yes, I’ve found that –j<n> causes problems too.
> >>>
> >>> I believe I’ve used both the T=<…> and the environment variable
> >>> version
> >> without problems, as long as :
> >>>
> >>> ·        You don’t use parallel make (-j<n>)
> >>> ·        You completely remove the target directory before building (this has
> the
> >> same name as “T”)
> >>> o   I don’t recall exactly the problem this addressed, but I did find that doing
> a
> >> completely clean build is sometimes necessary.
> >>>
> >>> Thanks,
> >>>
> >>>
> >>> Nick
> >>>
> >>>
> >>> From: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> >>> Date: Thursday, November 17, 2016 at 11:47 AM
> >>> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>, "Wiles, Keith"
> >>> <keith.wiles@intel.com>
> >>> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>, "users@dpdk.org"
> >>> <users@dpdk.org>
> >>> Subject: Re: [dpdk-users] Problem building DPDK libraries
> >>>
> >>> Hi
> >>>
> >>> I find that:
> >>>
> >>>      make
> >>>
> >>> succeeds.
> >>>
> >>> But I've been advised to run:
> >>>
> >>>      make -j T=x86_64-native-linuxapp-gcc install
> >>>
> >>> I think '-j' was causing the compiler problems, so I can drop that.
> >>>
> >>> Do I need the 'T=' part?
> >>>
> >>> How would I do:
> >>>
> >>>      make install
> >>>
> >>> ? That doesn't work currently for me.
> >>>
> >>> David
> >>>
> >>> -----Original Message-----
> >>> From: David Aldrich
> >>> Sent: 17 November 2016 16:29
> >>> To: 'David Aldrich' <David.Aldrich@emea.nec.com>; Wiles, Keith
> >>> <keith.wiles@intel.com>
> >>> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> >>> Subject: RE: [dpdk-users] Problem building DPDK libraries The
> >>> allocation for /tmp is 7.9G, which is almost entirely unused.
> >>> David
> >>>> -----Original Message-----
> >>>> From: users [mailto:users-bounces@dpdk.org] On Behalf Of David
> >>>> Aldrich
> >>>> Sent: 17 November 2016 16:25
> >>>> To: Wiles, Keith <keith.wiles@intel.com>
> >>>> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> >>>> Subject: Re: [dpdk-users] Problem building DPDK libraries
> >>>>
> >>>> Hi
> >>>>
> >>>> I'm using:
> >>>>
> >>>> # gcc --version
> >>>> gcc (Wind River Linux 5.2.0-8.0-intel-haswell-64) 5.2.0
> >>>>
> >>>> I'll consider the tmp space.
> >>>>
> >>>> Thanks
> >>>>
> >>>> David
> >>>>
> >>>>> -----Original Message-----
> >>>>> From: Wiles, Keith [mailto:keith.wiles@intel.com]
> >>>>> Sent: 17 November 2016 16:10
> >>>>> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> >>>>> Cc: Thomas Monjalon <thomas.monjalon@6wind.com>; users@dpdk.org
> >>>>> Subject: Re: [dpdk-users] Problem building DPDK libraries
> >>>>>
> >>>>>
> >>>>>> On Nov 17, 2016, at 10:05 AM, David Aldrich
> >>>>> <David.Aldrich@EMEA.NEC.COM> wrote:
> >>>>>>
> >>>>>> Thanks, I thought I had installed the kernel headers, but I had
> >>>>>> done it
> >>>>> incorrectly.  Now fixed.
> >>>>>>
> >>>>>> But make is still failing:
> >>>>>>
> >>>>>> CC ixgbe_rxtx_vec_sse.o
> >>>>>> gcc: internal compiler error: Killed (program cc1) Please submit
> >>>>>> a full bug report, with preprocessed source if appropriate.
> >>>>>> See <support@windriver.com> for instructions.
> >>>>>> /root/dpdk-stable-16.07.1/mk/internal/rte.compile-pre.mk:138:
> >>>>>> recipe for target 'rte_eth_af_packet.o’ failed
> >>>>>
> >>>>> What version of GCC?
> >>>>>
> >>>>> When I see this type of error it is sometimes not enough tmp space
> >>>>> to compile the file, just a thought.
> >>>>>
> >>>>>> make[6]: *** [rte_eth_af_packet.o] Error 4
> >>>>>> /root/dpdk-stable-16.07.1/mk/rte.subdir.mk:61: recipe for target
> >>>>>> 'af_packet' failed
> >>>>>> make[5]: *** [af_packet] Error 2
> >>>>>> make[5]: *** Waiting for unfinished jobs....
> >>>>>>
> >>>>>> Best regards
> >>>>>>
> >>>>>> David
> >>>>>>
> >>>>>>> -----Original Message-----
> >>>>>>> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> >>>>>>> Sent: 17 November 2016 16:00
> >>>>>>> To: David Aldrich <David.Aldrich@EMEA.NEC.COM>
> >>>>>>> Cc: users@dpdk.org
> >>>>>>> Subject: Re: [dpdk-users] Problem building DPDK libraries
> >>>>>>>
> >>>>>>> 2016-11-17 15:51, David Aldrich:
> >>>>>>>> make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build:
> >>>>>>>> No such
> >>>>>>> file or directory.  Stop.
> >>>>>>>
> >>>>>>> You need the kernel headers, or just disable compilation of
> >>>>>>> kernel
> >>> modules:
> >>>>>>>   sed -ri 's,(KNI_KMOD=).*,\1n,' build/.config
> >>>>>>>   sed -ri 's,(IGB_UIO=).*,\1n,' build/.config
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> Click
> >>>>>>>
> >>>>>
> >>>>
> >>> https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>
> >>>>>>> njH0BFwQAIYudV!69Vnv0C8JC0YknPHNppj5zLq66BGWNXYg==  to
> >> report
> >>>> this
> >>>>>>> email as spam.
> >>>>>
> >>>>> Regards,
> >>>>> Keith
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Click here to report this email as spam.
> >>>
> >>
> >> Regards,
> >> Keith
> >
> 
> Regards,
> Keith


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 17:02                 ` David Aldrich
  2016-11-17 17:16                   ` Wiles, Keith
@ 2016-11-17 17:27                   ` Thomas Monjalon
  2016-11-17 18:38                   ` Pavey, Nicholas
  2 siblings, 0 replies; 18+ messages in thread
From: Thomas Monjalon @ 2016-11-17 17:27 UTC (permalink / raw)
  To: David Aldrich; +Cc: Wiles, Keith, Pavey, Nicholas, users

2016-11-17 17:02, David Aldrich:
> You are all very helpful. Thank you.
> 
> I'm afraid 'make install' isn't working:
> 
> # make install
> make[1]: Nothing to be done for 'pre_install'.
> ================== Installing /usr/local/
> cp: cannot stat 'build/lib/*': No such file or directory
> /root/dpdk-2.2.0/mk/rte.sdkinstall.mk:116: recipe for target 'install-runtime' failed
> make[3]: *** [install-runtime] Error 1

The canonical commands are:

	make config T=x86_64-native-linuxapp-gcc
	make -j3
	make install DESTDIR=myinstall

You can change build/.config if needed.
The install step is optional.

There is also
	make help

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 17:23                     ` David Aldrich
@ 2016-11-17 17:31                       ` Thomas Monjalon
  0 siblings, 0 replies; 18+ messages in thread
From: Thomas Monjalon @ 2016-11-17 17:31 UTC (permalink / raw)
  To: David Aldrich; +Cc: Wiles, Keith, Pavey, Nicholas, users

2016-11-17 17:23, David Aldrich:
> # make install T=x86_64-native-linuxapp-gcc install
> Installation cannot run with T defined and DESTDIR undefined

Extract of "make help":
        install T=       configure, build and install a target in DESTDIR
        install          install optionally staged in DESTDIR

So "install T=" is equivalent to
	make config
	make
	make install
But install cannot be done without DESTDIR.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [dpdk-users] Problem building DPDK libraries
  2016-11-17 17:02                 ` David Aldrich
  2016-11-17 17:16                   ` Wiles, Keith
  2016-11-17 17:27                   ` Thomas Monjalon
@ 2016-11-17 18:38                   ` Pavey, Nicholas
  2 siblings, 0 replies; 18+ messages in thread
From: Pavey, Nicholas @ 2016-11-17 18:38 UTC (permalink / raw)
  To: David Aldrich, Wiles, Keith; +Cc: Thomas Monjalon, users

I don’t install in the default path. I do something like this:


  export RTE_SDK=<location of DPDK source code>/dpdk-16.04
  export DESTDIR=<location where I want DPDK to install>/install"
  export RTE_TARGET=x86_64-native-linuxapp-gcc

  make clean install

That normally works for me on an Ubuntu 14.04 based machine.

Nick


From: David Aldrich <David.Aldrich@EMEA.NEC.COM>
Date: Thursday, November 17, 2016 at 12:02 PM
To: "Wiles, Keith" <keith.wiles@intel.com>
Cc: "Pavey, Nicholas" <npavey@akamai.com>, Thomas Monjalon <thomas.monjalon@6wind.com>, "users@dpdk.org" <users@dpdk.org>
Subject: RE: [dpdk-users] Problem building DPDK libraries

You are all very helpful. Thank you.

I'm afraid 'make install' isn't working:

# make install
make[1]: Nothing to be done for 'pre_install'.
================== Installing /usr/local/
cp: cannot stat 'build/lib/*': No such file or directory
/root/dpdk-2.2.0/mk/rte.sdkinstall.mk:116: recipe for target 'install-runtime' failed
make[3]: *** [install-runtime] Error 1

David

-----Original Message-----
From: Wiles, Keith [mailto:keith.wiles@intel.com]
Sent: 17 November 2016 17:00
To: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>
Cc: Pavey, Nicholas <npavey@akamai.com<mailto:npavey@akamai.com>>; Thomas Monjalon
<thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>; users@dpdk.org<mailto:users@dpdk.org>
Subject: Re: [dpdk-users] Problem building DPDK libraries
> On Nov 17, 2016, at 10:56 AM, David Aldrich
<David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>> wrote:
>
> Thanks.
>
> Do I need to do ‘make install’ or is ‘make’ sufficient?
I do not really install DPDK, but use it from the source tree. If you want to install
it then look at the docs, it talks about install the binaries. The install is handy
with the T= option only to make sure you build the correct version and ignore
the warning at the end.
>
> David
>
> From: Pavey, Nicholas [mailto:npavey@akamai.com]
> Sent: 17 November 2016 16:55
> To: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>; Wiles, Keith
> <keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
> Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>; users@dpdk.org<mailto:users@dpdk.org>
> Subject: Re: [dpdk-users] Problem building DPDK libraries
>
> Yes, I’ve found that –j<n> causes problems too.
>
> I believe I’ve used both the T=<…> and the environment variable version
without problems, as long as :
>
> ·        You don’t use parallel make (-j<n>)
> ·        You completely remove the target directory before building (this has the
same name as “T”)
> o   I don’t recall exactly the problem this addressed, but I did find that doing a
completely clean build is sometimes necessary.
>
> Thanks,
>
>
> Nick
>
>
> From: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>
> Date: Thursday, November 17, 2016 at 11:47 AM
> To: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>, "Wiles, Keith"
> <keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
> Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>, "users@dpdk.org<mailto:users@dpdk.org>"
> <users@dpdk.org<mailto:users@dpdk.org>>
> Subject: Re: [dpdk-users] Problem building DPDK libraries
>
> Hi
>
> I find that:
>
>       make
>
> succeeds.
>
> But I've been advised to run:
>
>       make -j T=x86_64-native-linuxapp-gcc install
>
> I think '-j' was causing the compiler problems, so I can drop that.
>
> Do I need the 'T=' part?
>
> How would I do:
>
>       make install
>
> ? That doesn't work currently for me.
>
> David
>
> -----Original Message-----
> From: David Aldrich
> Sent: 17 November 2016 16:29
> To: 'David Aldrich' <David.Aldrich@emea.nec.com<mailto:David.Aldrich@emea.nec.com>>; Wiles, Keith
> <keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
> Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>; users@dpdk.org<mailto:users@dpdk.org>
> Subject: RE: [dpdk-users] Problem building DPDK libraries The
> allocation for /tmp is 7.9G, which is almost entirely unused.
> David
> > -----Original Message-----
> > From: users [mailto:users-bounces@dpdk.org] On Behalf Of David
> > Aldrich
> > Sent: 17 November 2016 16:25
> > To: Wiles, Keith <keith.wiles@intel.com<mailto:keith.wiles@intel.com>>
> > Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>; users@dpdk.org<mailto:users@dpdk.org>
> > Subject: Re: [dpdk-users] Problem building DPDK libraries
> >
> > Hi
> >
> > I'm using:
> >
> > # gcc --version
> > gcc (Wind River Linux 5.2.0-8.0-intel-haswell-64) 5.2.0
> >
> > I'll consider the tmp space.
> >
> > Thanks
> >
> > David
> >
> > > -----Original Message-----
> > > From: Wiles, Keith [mailto:keith.wiles@intel.com]
> > > Sent: 17 November 2016 16:10
> > > To: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>
> > > Cc: Thomas Monjalon <thomas.monjalon@6wind.com<mailto:thomas.monjalon@6wind.com>>; users@dpdk.org<mailto:users@dpdk.org>
> > > Subject: Re: [dpdk-users] Problem building DPDK libraries
> > >
> > >
> > > > On Nov 17, 2016, at 10:05 AM, David Aldrich
> > > <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>> wrote:
> > > >
> > > > Thanks, I thought I had installed the kernel headers, but I had
> > > > done it
> > > incorrectly.  Now fixed.
> > > >
> > > > But make is still failing:
> > > >
> > > >  CC ixgbe_rxtx_vec_sse.o
> > > > gcc: internal compiler error: Killed (program cc1) Please submit
> > > > a full bug report, with preprocessed source if appropriate.
> > > > See <support@windriver.com<mailto:support@windriver.com>> for instructions.
> > > > /root/dpdk-stable-16.07.1/mk/internal/rte.compile-pre.mk:138:
> > > > recipe for target 'rte_eth_af_packet.o’ failed
> > >
> > > What version of GCC?
> > >
> > > When I see this type of error it is sometimes not enough tmp space
> > > to compile the file, just a thought.
> > >
> > > > make[6]: *** [rte_eth_af_packet.o] Error 4
> > > > /root/dpdk-stable-16.07.1/mk/rte.subdir.mk:61: recipe for target
> > > > 'af_packet' failed
> > > > make[5]: *** [af_packet] Error 2
> > > > make[5]: *** Waiting for unfinished jobs....
> > > >
> > > > Best regards
> > > >
> > > > David
> > > >
> > > >> -----Original Message-----
> > > >> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> > > >> Sent: 17 November 2016 16:00
> > > >> To: David Aldrich <David.Aldrich@EMEA.NEC.COM<mailto:David.Aldrich@EMEA.NEC.COM>>
> > > >> Cc: users@dpdk.org<mailto:users@dpdk.org>
> > > >> Subject: Re: [dpdk-users] Problem building DPDK libraries
> > > >>
> > > >> 2016-11-17 15:51, David Aldrich:
> > > >>> make[6]: *** /lib/modules/4.1.21-rt13-WR8.0.0.10_preempt-rt/build:
> > > >>> No such
> > > >> file or directory.  Stop.
> > > >>
> > > >> You need the kernel headers, or just disable compilation of
> > > >> kernel
> modules:
> > > >>    sed -ri 's,(KNI_KMOD=).*,\1n,' build/.config
> > > >>    sed -ri 's,(IGB_UIO=).*,\1n,' build/.config
> > > >>
> > > >>
> > > >>
> > > >> Click
> > > >>
> > >
> >
> https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>
> > > >> njH0BFwQAIYudV!69Vnv0C8JC0YknPHNppj5zLq66BGWNXYg==  to
report
> > this
> > > >> email as spam.
> > >
> > > Regards,
> > > Keith
>
>
>
>
>
> Click here to report this email as spam.
>
Regards,
Keith



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-11-17 18:38 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-17 15:51 [dpdk-users] Problem building DPDK libraries David Aldrich
2016-11-17 15:59 ` Thomas Monjalon
2016-11-17 16:05   ` David Aldrich
2016-11-17 16:09     ` Wiles, Keith
2016-11-17 16:24       ` David Aldrich
2016-11-17 16:28         ` David Aldrich
2016-11-17 16:47         ` David Aldrich
2016-11-17 16:54           ` Pavey, Nicholas
2016-11-17 16:56             ` David Aldrich
2016-11-17 16:58               ` Pavey, Nicholas
2016-11-17 17:00               ` Wiles, Keith
2016-11-17 17:02                 ` David Aldrich
2016-11-17 17:16                   ` Wiles, Keith
2016-11-17 17:23                     ` David Aldrich
2016-11-17 17:31                       ` Thomas Monjalon
2016-11-17 17:27                   ` Thomas Monjalon
2016-11-17 18:38                   ` Pavey, Nicholas
2016-11-17 16:56           ` Wiles, Keith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).