DPDK usage discussions
 help / color / Atom feed
* [dpdk-users] pktgen compilation error
@ 2019-05-29  9:09 Sara Gittlin
  2019-05-29 13:25 ` Wiles, Keith
  0 siblings, 1 reply; 4+ messages in thread
From: Sara Gittlin @ 2019-05-29  9:09 UTC (permalink / raw)
  To: users

Hi
I git clone git://dpdk.org/apps/pktgen-dpdk
i have ubuntu 16.04 w  4.15.0-50-generic kernel
i've install libpcap-dev

i get this error when make pktgen
/lib/common/pg_inet.h:154:17: error: field ‘udp’ has incomplete type
  struct udp_hdr udp; /* UDP header for protocol */

Appreciate your help
Regards
-Sara

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

* Re: [dpdk-users] pktgen compilation error
  2019-05-29  9:09 [dpdk-users] pktgen compilation error Sara Gittlin
@ 2019-05-29 13:25 ` Wiles, Keith
  2019-05-29 13:52   ` Wiles, Keith
  0 siblings, 1 reply; 4+ messages in thread
From: Wiles, Keith @ 2019-05-29 13:25 UTC (permalink / raw)
  To: Sara Gittlin; +Cc: users



> On May 29, 2019, at 4:09 AM, Sara Gittlin <sara.gittlin@gmail.com> wrote:
> 
> Hi
> I git clone git://dpdk.org/apps/pktgen-dpdk
> i have ubuntu 16.04 w  4.15.0-50-generic kernel
> i've install libpcap-dev

I am going to guess you are using DPDK master HEAD  and Pktgen master HEAD, a number of changes are going on in DPDK after 19.05 release and they most likely have broken Pktgen builds. Please checkout the 19.05 release tag of DPDK and that should work.

I hope to sync backup with DPDK soon. 

> 
> i get this error when make pktgen
> /lib/common/pg_inet.h:154:17: error: field ‘udp’ has incomplete type
>  struct udp_hdr udp; /* UDP header for protocol */
> 
> Appreciate your help
> Regards
> -Sara

Regards,
Keith


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

* Re: [dpdk-users] pktgen compilation error
  2019-05-29 13:25 ` Wiles, Keith
@ 2019-05-29 13:52   ` Wiles, Keith
  2019-05-30  8:15     ` Sara Gittlin
  0 siblings, 1 reply; 4+ messages in thread
From: Wiles, Keith @ 2019-05-29 13:52 UTC (permalink / raw)
  To: Sara Gittlin; +Cc: users



> On May 29, 2019, at 8:25 AM, Wiles, Keith <keith.wiles@intel.com> wrote:
> 
> 
> 
>> On May 29, 2019, at 4:09 AM, Sara Gittlin <sara.gittlin@gmail.com> wrote:
>> 
>> Hi
>> I git clone git://dpdk.org/apps/pktgen-dpdk
>> i have ubuntu 16.04 w  4.15.0-50-generic kernel
>> i've install libpcap-dev
> 
> I am going to guess you are using DPDK master HEAD  and Pktgen master HEAD, a number of changes are going on in DPDK after 19.05 release and they most likely have broken Pktgen builds. Please checkout the 19.05 release tag of DPDK and that should work.
> 
> I hope to sync backup with DPDK soon. 

I just got back to DPDK 19.05 (been busy) and pktgen does not build with DPDK 19.05, so use 19.02 please. I will see if I can get this fixed soon.
> 
>> 
>> i get this error when make pktgen
>> /lib/common/pg_inet.h:154:17: error: field ‘udp’ has incomplete type
>> struct udp_hdr udp; /* UDP header for protocol */
>> 
>> Appreciate your help
>> Regards
>> -Sara
> 
> Regards,
> Keith
> 

Regards,
Keith


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

* Re: [dpdk-users] pktgen compilation error
  2019-05-29 13:52   ` Wiles, Keith
@ 2019-05-30  8:15     ` Sara Gittlin
  0 siblings, 0 replies; 4+ messages in thread
From: Sara Gittlin @ 2019-05-30  8:15 UTC (permalink / raw)
  To: Wiles, Keith; +Cc: users

Thank you Keith - it is OK w 19.02
Regards
-Sara

On Wed, May 29, 2019 at 4:52 PM Wiles, Keith <keith.wiles@intel.com> wrote:

>
>
> > On May 29, 2019, at 8:25 AM, Wiles, Keith <keith.wiles@intel.com> wrote:
> >
> >
> >
> >> On May 29, 2019, at 4:09 AM, Sara Gittlin <sara.gittlin@gmail.com>
> wrote:
> >>
> >> Hi
> >> I git clone git://dpdk.org/apps/pktgen-dpdk
> >> i have ubuntu 16.04 w  4.15.0-50-generic kernel
> >> i've install libpcap-dev
> >
> > I am going to guess you are using DPDK master HEAD  and Pktgen master
> HEAD, a number of changes are going on in DPDK after 19.05 release and they
> most likely have broken Pktgen builds. Please checkout the 19.05 release
> tag of DPDK and that should work.
> >
> > I hope to sync backup with DPDK soon.
>
> I just got back to DPDK 19.05 (been busy) and pktgen does not build with
> DPDK 19.05, so use 19.02 please. I will see if I can get this fixed soon.
> >
> >>
> >> i get this error when make pktgen
> >> /lib/common/pg_inet.h:154:17: error: field ‘udp’ has incomplete type
> >> struct udp_hdr udp; /* UDP header for protocol */
> >>
> >> Appreciate your help
> >> Regards
> >> -Sara
> >
> > Regards,
> > Keith
> >
>
> Regards,
> Keith
>
>

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

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-29  9:09 [dpdk-users] pktgen compilation error Sara Gittlin
2019-05-29 13:25 ` Wiles, Keith
2019-05-29 13:52   ` Wiles, Keith
2019-05-30  8:15     ` Sara Gittlin

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/ public-inbox