Error during the compilation of ? to ./build/last/srcgen/controlplane.c
Traceback (Most recent call first):
NameError: name 'hlir16' is not defined
96 build/last/gen/controlplane.c.py <module> --> for table in hlir16.tables: ## src/hardware_indep/controlplane.c.py:42
42 src/hardware_indep/controlplane.c.py ... --> #[ extern void table_${table.name}_key(packet_descriptor_t* pd, uint8_t* key); // defined in dataplane.c
390 src/compiler.py generate_code --> exec(compile(code, module_name, 'exec'), localvars, localvars)
418 src/compiler.py output_desugared_c --> code = generate_code(filepath, outpyfile, {'hlir': hlir})
442 src/compiler.py generate_desugared_c --> is_multicompiled = output_desugared_c(filename, filepath, 0)
549 src/compiler.py generate_files --> generate_desugared_c(filename, os.path.join(base, filename))
560 src/compiler.py main --> generate_files()
Error: P4 to C compilation failed (error code: 3)
Thank you.
Hi,
I am trying to compile P4Runtime with T4P4S by following the instructions in README.md file. But I am getting this error,
Does anyone have any idea how to resolve it?
Thank you.
Regards,
Habiba