I’d recommend working from master, personally. :) Though that DPDK version 
should work fine; there was a period not long ago in which DPDK broke their 
packages and invalidated the checksums we had, but I thought that was evident 
only on master and only briefly, not 18.01*.


From: Sara Gittlin [mailto:sara.gitt...@gmail.com]
Sent: Monday, April 16, 2018 12:05 PM
To: Luke, Chris <chris_l...@cable.comcast.com>
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Build error with my_plugin.api.h file.

i did it and now i have another problem (which i saw also before)
"Bad Checksum! Please remove /home/vpp/dpdk/dpdk-17.11.tar.xz and retry"
maybe in addition to my original problem my version is not stable
my version is  git clone the master and then checkout * (HEAD detached at 

Thank you again

On Mon, Apr 16, 2018 at 6:41 PM, Luke, Chris 
<chris_l...@comcast.com<mailto:chris_l...@comcast.com>> wrote:
Bit of a long-shot, but it is plausible that autotools didn’t rebuild 
completely after you added your plugin files I suppose. It’s sometimes worth 
cleaning the tree to force it. “make wipe” or to be doubly sure “git clean 
-fxd” (making sure you have your local files added to git etc)


From: Sara Gittlin 
Sent: Monday, April 16, 2018 11:29 AM
To: Luke, Chris 
Cc: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>

Subject: Re: [vpp-dev] Build error with my_plugin.api.h file.

Thank you Neale and Chris

Neale -
this is my_policer.api  file:  ( i dont have other files related to api)
option version = "1.0.0";

autoreply define my_policer_if_action {
    /* Client identifier, set from api_main.my_client_index */
    u32 client_index;

    /* Arbitrary context, so client can match reply to request */
    u32 context;

    /* Enable / disable the feature */
    u8 action;

    /* Interface handle */
    u32 sw_if_index;
this is the line from my_policer.am<http://my_policer.am> file

API_FILES += my_policer/my_policer.api

On Mon, Apr 16, 2018 at 6:18 PM, Luke, Chris 
<chris_l...@comcast.com<mailto:chris_l...@comcast.com>> wrote:
Do you list the .api files in the variable API_FILES in your plugin .am file?


From: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> 
[mailto:vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>] On Behalf Of Sara 
Sent: Monday, April 16, 2018 11:08 AM
To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] Build error with my_plugin.api.h file.

I see that this file (and the my_plugin.api.json)  are  not auto generated in 
the build
Why ?

On Mon, Apr 16, 2018 at 5:27 PM, Sara Gittlin 
<sara.gitt...@gmail.com<mailto:sara.gitt...@gmail.com>> wrote:

I've encountered this build error few times and managed to get rid of it 
the error  is always with the my_plugin.api.h  file.
Can you tell me what is the problem here ?
 /bin/sh ./config.status
config.status: creating Makefile
config.status: creating plugins/Makefile
config.status: creating vpp-api/python/Makefile
config.status: creating vpp-api/java/Makefile
config.status: creating vpp-api/vapi/Makefile
config.status: creating vpp-api/vom/Makefile
config.status: executing libtool commands
config.status: executing depfiles commands
make  all-recursive
make[3]: Entering directory '/home/vpp/build-root/build-vpp-native/vpp'
Making all in .
make[4]: Entering directory '/home/vpp/build-root/build-vpp-native/vpp'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/vpp/build-root/build-vpp-native/vpp'
Making all in plugins
make[4]: Entering directory '/home/vpp/build-root/build-vpp-native/vpp/plugins'
  APIGEN   my_forwarder/my_forwarder.api.h
  APIGEN   my_policer/my_policer.api.h
(null):53 syntax error
make[4]: *** [Makefile:3301: my_forwarder/my_forwarder.api.h] Error 1
make[4]: *** Waiting for unfinished jobs....
(null):53 syntax error
make[4]: *** [Makefile:3301: my_policer/my_policer.api.h] Error 1
make[4]: Leaving directory '/home/vpp/build-root/build-vpp-native/vpp/plugins'
make[3]: *** [Makefile:7757: all-recursive] Error 1
make[3]: Leaving directory '/home/vpp/build-root/build-vpp-native/vpp'
make[2]: *** [Makefile:3967: all] Error 2
make[2]: Leaving directory '/home/vpp/build-root/build-vpp-native/vpp'
make[1]: *** [Makefile:686: vpp-build] Error 2
make[1]: Leaving directory '/home/vpp/build-root'
make: *** [Makefile:339: build-release] Error 2
Thank you

Reply via email to