Do you list the .api files in the variable API_FILES in your plugin .am file?


From: [] On Behalf Of Sara Gittlin
Sent: Monday, April 16, 2018 11:08 AM
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 
<<>> 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