-
Notifications
You must be signed in to change notification settings - Fork 27
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
Failed to build libxtrx - ‘XTRXLL_PARAM_EXT_SPI’ undeclared #11
Comments
Have you update libxtrxll subrepo?
…On Wed, Jun 5, 2019 at 6:21 PM yahoo2016 ***@***.***> wrote:
I got errors when tried to build libxtrx:
home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function
‘adf4355_spi’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:88:30: error:
‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
res = xtrxll_set_param(dev, XTRXLL_PARAM_EXT_SPI, MAKE_OCTO_SPI(REG_TMP_L,
out));
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:88:30: note:
each undeclared identifier is reported only once for each function it
appears in
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function
‘trf37_spi’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:144:30: error:
‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
res = xtrxll_set_param(dev, XTRXLL_PARAM_EXT_SPI, MAKE_OCTO_SPI(REG_TMP_L,
out));
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function
‘octo_read_spi’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:159:34: error:
‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
int res = xtrxll_set_param(dev, XTRXLL_PARAM_EXT_SPI, MAKE_OCTO_SPI(regno,
0));
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:165:32: error:
‘XTRXLL_EXT_SPI_RB’ undeclared (first use in this function)
return xtrxll_get_sensor(dev, XTRXLL_EXT_SPI_RB, (int*)out);
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function
‘i2c_cmdwr’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:183:30: error:
‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
res = xtrxll_set_param(dev, XTRXLL_PARAM_EXT_SPI,
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function
‘lms7octo_init’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:438:33: error:
‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
res = xtrxll_set_param(lldev, XTRXLL_PARAM_EXT_SPI,
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function
‘lms7octo_deinit’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:501:39: error:
‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
res = xtrxll_set_param(dev->master, XTRXLL_PARAM_EXT_SPI,
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function
‘octo_switch_fe’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:530:48: error:
‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
r = (r) ? r : xtrxll_set_param(dev->master, XTRXLL_PARAM_EXT_SPI,
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:537:17:
warning: implicit declaration of function ‘lms7_rbb_set_ext’
[-Wimplicit-function-declaration]
r = (r) ? r : lms7_rbb_set_ext(&dev->lms->lms_state);
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function
‘lms7octo_dd_set_modes’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:666:35: error:
‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
xtrxll_set_param(dev->master, XTRXLL_PARAM_EXT_SPI,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#11>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASAQW6Y2CMK27FILK5AN23PY7KXVANCNFSM4HT3ULTA>
.
|
Sergforce, I'm not sure how to update libxtrxll subrepo. https://github.com/xtrx-sdr/images I did "git submodule init & git submodule update" in "./images", "./images/sources/libxtrx" and "./images/sources/libxtrxll", but the could not get the latest libxtrx and libxtrxll. Thanks |
go to libxtrxll and pull changes manually. I'll fix the default links
% cd libxtrxll; git pull
…On Thu, Jun 6, 2019 at 2:48 PM yahoo2016 ***@***.***> wrote:
Sergforce,
I'm not sure how to update libxtrxll subrepo.
https://github.com/xtrx-sdr/images
I did "git submodule init & git submodule update" in "./images",
"./images/sources/libxtrx" and "./images/sources/libxtrxll", but the could
not get the latest libxtrx and libxtrxll.
What are the steps to include the latest libxtrx and libxtrxll to the
source tree of "https://github.com/xtrx-sdr/images"?
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASAQWYOX72DBC7X5MSEYL3PZD2QFANCNFSM4HT3ULTA>
.
|
serforce, nvidia@tegra-ubuntu:~/xtrx/images/sources/libxtrxll$ git pull
|
"git submodule init" and "git submodule update" only pull old libs. |
I got errors when tried to build libxtrx:
home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function ‘adf4355_spi’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:88:30: error: ‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
res = xtrxll_set_param(dev, XTRXLL_PARAM_EXT_SPI, MAKE_OCTO_SPI(REG_TMP_L, out));
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:88:30: note: each undeclared identifier is reported only once for each function it appears in
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function ‘trf37_spi’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:144:30: error: ‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
res = xtrxll_set_param(dev, XTRXLL_PARAM_EXT_SPI, MAKE_OCTO_SPI(REG_TMP_L, out));
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function ‘octo_read_spi’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:159:34: error: ‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
int res = xtrxll_set_param(dev, XTRXLL_PARAM_EXT_SPI, MAKE_OCTO_SPI(regno, 0));
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:165:32: error: ‘XTRXLL_EXT_SPI_RB’ undeclared (first use in this function)
return xtrxll_get_sensor(dev, XTRXLL_EXT_SPI_RB, (int*)out);
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function ‘i2c_cmdwr’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:183:30: error: ‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
res = xtrxll_set_param(dev, XTRXLL_PARAM_EXT_SPI,
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function ‘lms7octo_init’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:438:33: error: ‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
res = xtrxll_set_param(lldev, XTRXLL_PARAM_EXT_SPI,
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function ‘lms7octo_deinit’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:501:39: error: ‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
res = xtrxll_set_param(dev->master, XTRXLL_PARAM_EXT_SPI,
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function ‘octo_switch_fe’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:530:48: error: ‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
r = (r) ? r : xtrxll_set_param(dev->master, XTRXLL_PARAM_EXT_SPI,
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:537:17: warning: implicit declaration of function ‘lms7_rbb_set_ext’ [-Wimplicit-function-declaration]
r = (r) ? r : lms7_rbb_set_ext(&dev->lms->lms_state);
^
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c: In function ‘lms7octo_dd_set_modes’:
/home/nvidia/xtrx/images/sources/libxtrx/xtrx_fe_octorx0.c:666:35: error: ‘XTRXLL_PARAM_EXT_SPI’ undeclared (first use in this function)
xtrxll_set_param(dev->master, XTRXLL_PARAM_EXT_SPI,
The text was updated successfully, but these errors were encountered: