-
Notifications
You must be signed in to change notification settings - Fork 129
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
Miscellaneous 1.4 and 1.5 fixes #636
base: master
Are you sure you want to change the base?
Conversation
@shudongz @kenchiang Not sure what is going on because I don't have access to logs. Can you please give me a hand ? Thanks |
uint32_t role; | ||
// TODO support embedding of_header | ||
of_octets_t data; | ||
of_header_t request; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build of the C-library currently fails, because of_header_t is not defined.
Traceback (most recent call last):
File "./loxigen.py", line 176, in <module>
lang_module.generate(options.install_dir)
File "/home/bsn/workspace/Organization_loxigen_PR-636-IVHAZVYHIZ5OV4QL2OQZ7AR7AOERX5COOOHWIZVMSQFMDJ7WHSOQ/lang_c.py", line 125, in generate
fn(outfile, os.path.basename(name))
File "/home/bsn/workspace/Organization_loxigen_PR-636-IVHAZVYHIZ5OV4QL2OQZ7AR7AOERX5COOOHWIZVMSQFMDJ7WHSOQ/c_gen/c_test_gen.py", line 1796, in dup_c_gen
gen_version_dup(out)
File "/home/bsn/workspace/Organization_loxigen_PR-636-IVHAZVYHIZ5OV4QL2OQZ7AR7AOERX5COOOHWIZVMSQFMDJ7WHSOQ/c_gen/c_test_gen.py", line 1739, in gen_version_dup
gen_dup_cls(out, cls, version)
File "/home/bsn/workspace/Organization_loxigen_PR-636-IVHAZVYHIZ5OV4QL2OQZ7AR7AOERX5COOOHWIZVMSQFMDJ7WHSOQ/c_gen/c_test_gen.py", line 1657, in gen_dup_cls
""" % dict(m_type=m_type, v_name=var_name_map(m_type)))
File "/home/bsn/workspace/Organization_loxigen_PR-636-IVHAZVYHIZ5OV4QL2OQZ7AR7AOERX5COOOHWIZVMSQFMDJ7WHSOQ/c_gen/c_test_gen.py", line 121, in var_name_map
return _var_name_map[m_type]
KeyError: 'of_header_t'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(you should see the same result if you run make
on your local code).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C backend doesn't currently compile
No description provided.