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:15803846...@qq.com] Sent: Friday, September 15, 2017 12:15 To: Luke, Chris <chris_l...@cable.comcast.com>; vpp-dev <vpp-dev@lists.fd.io> Subject: 回复:RE: 回复:RE: [vpp-dev] plugin compile error ------------------ 原始邮件 ------------------ 发件人: "Luke, Chris";<chris_l...@comcast.com<mailto:chris_l...@comcast.com>>; 发送时间: 2017年9月16日(星期六) 凌晨0:08 收件人: "重新开始"<15803846...@qq.com<mailto:15803846...@qq.com>>; "vpp-dev"<vpp-dev@lists.fd.io<mailto: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<mailto:chris_l...@cable.comcast.com>>; vpp-dev <vpp-dev@lists.fd.io<mailto: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<mailto:chris_l...@comcast.com>>; 发送时间: 2017年9月15日(星期五) 晚上11:11 收件人: "重新开始"<15803846...@qq.com<mailto:15803846...@qq.com>>; "vpp-dev"<vpp-dev@lists.fd.io<mailto: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> [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<mailto: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!
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev