Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error on module_run.c with Ubuntu 16.04. #2

Open
imyelmo opened this issue Jun 20, 2016 · 1 comment
Open

Compilation error on module_run.c with Ubuntu 16.04. #2

imyelmo opened this issue Jun 20, 2016 · 1 comment

Comments

@imyelmo
Copy link

imyelmo commented Jun 20, 2016

The error is as follows:

module_run.c: In function ‘process_control_event’:
module_run.c:277:20: error: ‘OFPT_STATS_REPLY’ undeclared (first use in this function)
if(ofph->type > OFPT_STATS_REPLY) // FIXME: update for new openflow versions
^
module_run.c:277:20: note: each undeclared identifier is reported only once for each function it appears in
module_run.c:279:24: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 4 has type ‘int’ [-Wformat=]
fprintf(stderr, "%s:%zd :: Data buffer probably trashed : unknown openflow type %d\n",
^
In file included from module_run.c:20:0:
module_run.c: At top level:
utils.h:34:12: warning: inline function ‘time_diff’ declared but never defined
inline int time_diff(struct timeval now, struct timeval *then);
^
Makefile:605: recipe for target 'module_run.o' failed
make[2]: *
* [module_run.o] Error 1
make[2]: Leaving directory '/home/mininet/oflops'
Makefile:641: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/mininet/oflops'
Makefile:433: recipe for target 'all' failed
make: *** [all] Error 2

Let me know if you need any further information to trace the error

@KevinBaylor
Copy link

Stuck in here too.
Have you solve the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants