Hi,sir, after I enter the command bash build_katran.sh I got the following error:
In file included from /home/bigdataflow/lsy/katran/_build/deps/include/bpf/bpf.h:31:0,
from /home/bigdataflow/lsy/katran/katran/lib/BaseBpfAdapter.h:24,
from /home/bigdataflow/lsy/katran/katran/lib/BaseBpfAdapter.cpp:17:
/home/bigdataflow/lsy/katran/katran/lib/BaseBpfAdapter.cpp: In static member function ‘static int katran::BaseBpfAdapter::createNamedBpfMap(const string&, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, int)’:
/home/bigdataflow/lsy/katran/katran/lib/BaseBpfAdapter.cpp:200:3: sorry, unimplemented: non-trivial designated initializers not supported
LIBBPF_OPTS(
^
/home/bigdataflow/lsy/katran/katran/lib/BaseBpfAdapter.cpp:200:3: sorry, unimplemented: non-trivial designated initializers not supported
/home/bigdataflow/lsy/katran/katran/lib/BaseBpfAdapter.cpp:200:3: error: conversion from ‘void’ to non-scalar type ‘bpf_map_create_opts’ requested
LIBBPF_OPTS(
^
/home/bigdataflow/lsy/katran/katran/lib/BaseBpfAdapter.cpp: In static member function ‘static int katran::BaseBpfAdapter::testXdpProg(int, int, void*, uint32_t, void*, uint32_t*, uint32_t*, uint32_t*, void*, uint32_t, void*, uint32_t*)’:
/home/bigdataflow/lsy/katran/katran/lib/BaseBpfAdapter.cpp:456:3: sorry, unimplemented: non-trivial designated initializers not supported
LIBBPF_OPTS(
^
/home/bigdataflow/lsy/katran/katran/lib/BaseBpfAdapter.cpp:456:3: sorry, unimplemented: non-trivial designated initializers not supported
/home/bigdataflow/lsy/katran/katran/lib/BaseBpfAdapter.cpp:456:3: sorry, unimplemented: non-trivial designated initializers not supported
/home/bigdataflow/lsy/katran/katran/lib/BaseBpfAdapter.cpp:456:3: sorry, unimplemented: non-trivial designated initializers not supported
/home/bigdataflow/lsy/katran/katran/lib/BaseBpfAdapter.cpp:456:3: error: conversion from ‘void’ to non-scalar type ‘bpf_test_run_opts’ requested
Hi,sir, after I enter the command
bash build_katran.sh
I got the following error:I am using ubuntu 20.04.