Hi, Luke,
   Thank your reply. I have written some apis. The .json file and 
myplugin.api.h file have made  correctly.. Any other problems? 




------------------ ???????? ------------------
??????: "Luke, Chris";<[email protected]>;
????????: 2017??9??15??(??????) ????11:11
??????: "????????"<[email protected]>; "vpp-dev"<[email protected]>; 

????: RE: [vpp-dev] plugin compile error



  
It??s complaining about invalid JSON in the .json file; that is built from the 
.api file of the plugin. Check it is valid, or if you have no API at this time, 
remove the .api file from API_FILES in the .am of the plugin.
 
 
 
Chris.
 
 
    
From: [email protected] [mailto:[email protected]] On 
Behalf Of ????
 Sent: Friday, September 15, 2017 10:46
 To: vpp-dev <[email protected]>
 Subject: [vpp-dev] plugin compile error
 
 
 
 
  
Hi, everyone:
 
  
   I writed a new plugin. When i make this plugin, all the *.o files have made. 
But in the end, it outputs the contents as follow:
 
   
make  all-am
 
  
make[1]: Entering directory `/home/plugins/myplugin'
 
  
  **** API
 
  
 at line 1ken 
 
  
(null):1 syntax error
 
  
Removing myplugin.api.json
 
  
make[1]: *** [myplugin.api.json] Error 1
 
  
make[1]: Leaving directory `/home/plugins/myplugin'
 
  
make: *** [all] Error 2
 
  
 
 
  
I don''t know why? Can anyone help me? THank you!
_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to