How old is your tree? Did you “make install-dep”? As of ten seconds ago, the plugin generator worked on master/latest, and a generated plugin builds and loads at runtime. See below.
$ cd /scratch/vpp-docs/src/plugins $ ../../extras/emacs/make-plugin.sh Loading 00debian-vars... Loading /etc/emacs/site-start.d/50autoconf.el (source)... Loading /etc/emacs/site-start.d/50cmake-data.el (source)... Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)... Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)... Loading /etc/emacs/site-start.d/50python-docutils.el (source)... Loading /scratch/vpp-docs/extras/emacs/all-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/plugin.el (source)... Loading /scratch/vpp-docs/extras/emacs/cli-cmd-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/config-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/dual-loop-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/periodic-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/pipe-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/plugin-all-apih-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/plugin-cmake-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/plugin-api-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/plugin-h-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/plugin-main-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/plugin-msg-enum-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/plugin-node-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/plugin-qsnode-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/plugin-test-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/plugin-periodic-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/plugin-setup-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/tunnel-c-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/tunnel-decap-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/tunnel-encap-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/tunnel-h-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/elog-4-int-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/elog-4-int-track-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/elog-enum-skel.el (source)... Loading /scratch/vpp-docs/extras/emacs/elog-one-datum-skel.el (source)... Plugin name: fibble Dispatch type [dual or qs]: qs (Shell command succeeded with no output) OK... $ cd /scratch/vpp-doc $ make build <snip> $ cd build-root $ ./install-vpp_debug_native/vpp unix interactive <snip> $ show plugin 15. fibble_plugin.so 19.04-rc0~581-gb4fff3a39 fibble plugin description goes here From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Esin Erenoglu Sent: Friday, March 29, 2019 8:51 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Vpp Sample Plugin Hello everyone, I try to add plugin in Vpp. While I was running /extras/emacs/make-plugin.sh file, I get "setq:not found" and "syntax error: Word unexpected (expecting") ") errors. How can I fix these errors?
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12667): https://lists.fd.io/g/vpp-dev/message/12667 Mute This Topic: https://lists.fd.io/mt/30822180/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-