Skip to content

error: ‘openolt::OnuInfo’ has not been declared #6

Open
@fridolinsiegmund

Description

@fridolinsiegmund

Hi,
I am trying to build openolt for a radisys OLT, therefore debian 9. It compiles successful for a long time, until the actual openolt agent is compiled. There I run into this problem:

g++-6 -g -O2 -I/usr/local/include -I/usr/local/include/pcapplusplus/ -std=c++11 -fpermissive -Wno-literal-suffix -I/home/fsiegmund/openolt/agent/build/bal-oss-api-3.10.2.2/include  -DBCMOS_MSG_QUEUE_DOMAIN_SOCKET -DBCMOS_MSG_QUEUE_UDP_SOCKET -DBCMOS_MEM_CHECK -DBCMOS_SYS_UNITTEST -DENABLE_LOG -DENABLE_CLI -I../protos -I./device -I./device/rlt-1600x-w -I../protos/googleapis/gens -I./device -I./device/rlt-1600x-w -I./device/generic  `pkg-config --cflags protobuf grpc` -DVERSION=\"3.10.0-dev\" -DBAL_VER=\"3.10.2.2\" -DLABEL_VCS_URL=\"https://gerrit.opencord.org/openolt\" -DLABEL_VCS_REF=\"b3ef7dcfdbf4e1cbb8437be29f8d7a79e1705144\" -DLABEL_BUILD_DATE=\"2023-08-31T15:21:44Z\" -DLABEL_COMMIT_DATE=\"2023-08-22T14:31:11-04:00\" -DFLOW_CHECKER -USCALE_AND_PERF -I./ -I./common -c src/indications.cc -o src/indications.o
In file included from src/indications.cc:18:0:
./common/core.h:251:64: error: ‘openolt::OnuInfo’ has not been declared
 Status GetOnuInfo_(uint32_t intf_id, uint32_t onu_id, openolt::OnuInfo *response);
                                                                ^~~~~~~
./common/core.h:252:56: error: ‘openolt::PonIntfInfo’ has not been declared
 Status GetPonInterfaceInfo_(uint32_t intf_id, openolt::PonIntfInfo *response);
                                                        ^~~~~~~~~~~
Makefile:455: recipe for target 'src/indications.o' failed
make: *** [src/indications.o] Error 1

Do you have any Idea what could went wrong?

Thanks & Best

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions