Issue running opencpi/scripts/install-opencpi.sh on branch release_1.4

MR
Munro, Robert M.
Wed, Oct 24, 2018 11:30 PM

I am attempting to build the fsk_loopback test application for a Matchstiq.  I found that some of the required asset components are not available on the release_1.3 branch and moved forward to the release_1.4 branch where the components appear to be present.

During the execution of scripts/install-opencpi.sh the following error is output:

=============Building RCC implementation ad9361_config_proxy.rcc for target(s):
Compiling ad9361_config_proxy.cc for target linux-c7-x86_64, configuration 0
ad9361_config_proxy.cc: In member function 'virtual OCPI::RCC::RCCResult Ad9361_config_proxyWorker::initialize()':
ad9361_config_proxy.cc:836:5: error: braces around scalar initializer for type 'uint8_t {aka unsigned char}'
};
^
make[2]: *** [target-centos7/ad9361_config_proxy.o] Error 1
make[1]: *** [ad9361_config_proxy.rcc] Error 2
make[1]: Leaving directory /home/user/work/opencpi/projects/assets/hdl/devices' make: *** [rcc] Error 2 make: Leaving directory /home/user/work/opencpi/projects/assets'

Has anyone seen this issue before?  What change is required to get through this compilation?

Thanks,
Robert Munro

I am attempting to build the fsk_loopback test application for a Matchstiq. I found that some of the required asset components are not available on the release_1.3 branch and moved forward to the release_1.4 branch where the components appear to be present. During the execution of scripts/install-opencpi.sh the following error is output: > =============Building RCC implementation ad9361_config_proxy.rcc for target(s): > Compiling ad9361_config_proxy.cc for target linux-c7-x86_64, configuration 0 > ad9361_config_proxy.cc: In member function 'virtual OCPI::RCC::RCCResult Ad9361_config_proxyWorker::initialize()': > ad9361_config_proxy.cc:836:5: error: braces around scalar initializer for type 'uint8_t {aka unsigned char}' > }; > ^ > make[2]: *** [target-centos7/ad9361_config_proxy.o] Error 1 > make[1]: *** [ad9361_config_proxy.rcc] Error 2 > make[1]: Leaving directory `/home/user/work/opencpi/projects/assets/hdl/devices' > make: *** [rcc] Error 2 > make: Leaving directory `/home/user/work/opencpi/projects/assets' Has anyone seen this issue before? What change is required to get through this compilation? Thanks, Robert Munro
JK
James Kulp
Thu, Oct 25, 2018 2:33 PM

This does not look like it was building in a clean release_1.4 branch?
Perhaps you tried to build in a different branch, then checked out 1.4
without git reset or git clean?
I just did a fresh clone from releaser_1.4 and successfully executed
./scripts/install-opencpi.sh, on centos7.

Jim

On 10/24/18 7:30 PM, Munro, Robert M. wrote:

I am attempting to build the fsk_loopback test application for a Matchstiq.  I found that some of the required asset components are not available on the release_1.3 branch and moved forward to the release_1.4 branch where the components appear to be present.

During the execution of scripts/install-opencpi.sh the following error is output:

=============Building RCC implementation ad9361_config_proxy.rcc for target(s):
Compiling ad9361_config_proxy.cc for target linux-c7-x86_64, configuration 0
ad9361_config_proxy.cc: In member function 'virtual OCPI::RCC::RCCResult Ad9361_config_proxyWorker::initialize()':
ad9361_config_proxy.cc:836:5: error: braces around scalar initializer for type 'uint8_t {aka unsigned char}'
};
^
make[2]: *** [target-centos7/ad9361_config_proxy.o] Error 1
make[1]: *** [ad9361_config_proxy.rcc] Error 2
make[1]: Leaving directory /home/user/work/opencpi/projects/assets/hdl/devices' make: *** [rcc] Error 2 make: Leaving directory /home/user/work/opencpi/projects/assets'
Has anyone seen this issue before?  What change is required to get through this compilation?

Thanks,
Robert Munro

This does not look like it was building in a clean release_1.4 branch? Perhaps you tried to build in a different branch, then checked out 1.4 without git reset or git clean? I just did a fresh clone from releaser_1.4 and successfully executed ./scripts/install-opencpi.sh, on centos7. Jim On 10/24/18 7:30 PM, Munro, Robert M. wrote: > I am attempting to build the fsk_loopback test application for a Matchstiq. I found that some of the required asset components are not available on the release_1.3 branch and moved forward to the release_1.4 branch where the components appear to be present. > > During the execution of scripts/install-opencpi.sh the following error is output: >> =============Building RCC implementation ad9361_config_proxy.rcc for target(s): >> Compiling ad9361_config_proxy.cc for target linux-c7-x86_64, configuration 0 >> ad9361_config_proxy.cc: In member function 'virtual OCPI::RCC::RCCResult Ad9361_config_proxyWorker::initialize()': >> ad9361_config_proxy.cc:836:5: error: braces around scalar initializer for type 'uint8_t {aka unsigned char}' >> }; >> ^ >> make[2]: *** [target-centos7/ad9361_config_proxy.o] Error 1 >> make[1]: *** [ad9361_config_proxy.rcc] Error 2 >> make[1]: Leaving directory `/home/user/work/opencpi/projects/assets/hdl/devices' >> make: *** [rcc] Error 2 >> make: Leaving directory `/home/user/work/opencpi/projects/assets' > Has anyone seen this issue before? What change is required to get through this compilation? > > Thanks, > Robert Munro >