------------------ ???????? ------------------
??????: "Luke, Chris";<chris_l...@comcast.com>;
????????: 2017??9??16??(??????) ????0:08
??????: "????????"<15803846...@qq.com>; "vpp-dev"<vpp-dev@lists.fd.io>; 

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



  
Can you show your .api and the generated .json?
 
 
 
Chris.
 
 
    
From: ???????? [mailto:15803846...@qq.com] 
 Sent: Friday, September 15, 2017 11:51
 To: Luke, Chris <chris_l...@cable.comcast.com>; vpp-dev <vpp-dev@lists.fd.io>
 Subject: ??????RE: [vpp-dev] plugin compile error
 
 
 
 
  
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";<chris_l...@comcast.com>;
 
  
????????: 2017??9??15??(??????) ????11:11
 
  
??????: "????????"<15803846...@qq.com>;  "vpp-dev"<vpp-dev@lists.fd.io>; 
 
  
????: 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: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of ????
 Sent: Friday, September 15, 2017 10:46
 To: vpp-dev <vpp-dev@lists.fd.io>
 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!

Attachment: vpncrack.api
Description: Binary data

Attachment: vpncrack.api.h
Description: Binary data

Attachment: vpncrack.api.json
Description: Binary data

_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to