There’s nothing obvious in these files; I guess I need to see your .am file. It would be easier if you could just share your plugin whole, perhaps on github.
Chris. From: 重新开始 [mailto:[email protected]] Sent: Friday, September 15, 2017 12:15 To: Luke, Chris <[email protected]>; vpp-dev <[email protected]> Subject: 回复:RE: 回复:RE: [vpp-dev] plugin compile error ------------------ 原始邮件 ------------------ 发件人: "Luke, Chris";<[email protected]<mailto:[email protected]>>; 发送时间: 2017年9月16日(星期六) 凌晨0:08 收件人: "重新开始"<[email protected]<mailto:[email protected]>>; "vpp-dev"<[email protected]<mailto:[email protected]>>; 主题: RE: 回复:RE: [vpp-dev] plugin compile error Can you show your .api and the generated .json? Chris. From: 重新开始 [mailto:[email protected]] Sent: Friday, September 15, 2017 11:51 To: Luke, Chris <[email protected]<mailto:[email protected]>>; vpp-dev <[email protected]<mailto:[email protected]>> 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";<[email protected]<mailto:[email protected]>>; 发送时间: 2017年9月15日(星期五) 晚上11:11 收件人: "重新开始"<[email protected]<mailto:[email protected]>>; "vpp-dev"<[email protected]<mailto:[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]> [mailto:[email protected]] On Behalf Of ???? Sent: Friday, September 15, 2017 10:46 To: vpp-dev <[email protected]<mailto:[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
