---------- Forwarded message ---------- From: Kuljaree Tantayakul <[email protected]> Date: Fri, Apr 3, 2015 at 5:15 PM Subject: unexpected syntax between ofpraw types To: [email protected]
Hello. I'm a new developer. I read in FAQ about how to develop the new openflow message from this link: http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=FAQ;hb=HEAD I try to add a new message in "lib/ofp-msgs.h" file: add to enum ofpraw and enum ofptype. I recompiled but I got some error as following mininet@mininet-vm:~/openvswitch-2.0.2$ sudo make make all-recursive make[1]: Entering directory `/home/mininet/openvswitch-2.0.2' Making all in datapath make[2]: Entering directory `/home/mininet/openvswitch-2.0.2/datapath' make[3]: Entering directory `/home/mininet/openvswitch-2.0.2/datapath' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/mininet/openvswitch-2.0.2/datapath' make[2]: Leaving directory `/home/mininet/openvswitch-2.0.2/datapath' make[2]: Entering directory `/home/mininet/openvswitch-2.0.2' depbase=`echo lib/learning-switch.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I ./include -I ./lib -I ./lib -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement -Wformat-security -Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wmissing-prototypes -Wmissing-field-initializers -g -O2 -MT lib/learning-switch.o -MD -MP -MF $depbase.Tpo -c -o lib/learning-switch.o lib/learning-switch.c &&\ mv -f $depbase.Tpo $depbase.Po PYTHONDONTWRITEBYTECODE=yes PYTHONPATH=./python:$PYTHONPATH /usr/bin/python ./build-aux/extract-ofp-msgs \ ./lib/ofp-msgs.h lib/ofp-msgs.inc > lib/ofp-msgs.inc.tmp && mv lib/ofp-msgs.inc.tmp lib/ofp-msgs.inc ./lib/ofp-msgs.h:387: unexpected syntax between ofpraw types make[2]: *** [lib/ofp-msgs.inc] Error 1 make[2]: Leaving directory `/home/mininet/openvswitch-2.0.2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mininet/openvswitch-2.0.2' Can you give me some suggestion? How to fix this error? Best Regards, Kuljaree _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
