Compile Error with the latest no-os code (zcu102+ADRV9009)

I'm trying to make the latest no-os and hdl codes work (Oct. 17 commit for hdl, Oct 19 commit for no-os) which I believe supports use of dual ADRV9009. After fixing easily fixable bugs,

I am  stuck with the following error which I don't know how to fix. Any help is appreciated. Previously, I have already made the 2019r1 release of hdl and no-os to work properly but I need the dual ADRV9009 support so I want to try the master branch.

In file included from ../src/headless.c:17:
/home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/src/adi_hal/gpio_extra.h:101:21: warning: 'struct gpio_init_param' declared inside parameter list will not be visible outside of this definition or declaration
        const struct gpio_init_param *param);
                     ^~~~~~~~~~~~~~~
/home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/src/adi_hal/gpio_extra.h:105:23: warning: 'struct gpio_init_param' declared inside parameter list will not be visible outside of this definition or declaration
          const struct gpio_init_param *param);
                       ^~~~~~~~~~~~~~~
Finished building: ../src/headless.c
 
Building target: sw.elf
Invoking: ARM v8 gcc linker
aarch64-none-elf-gcc -Wl,-T -Wl,../src/lscript.ld -L../../bsp/psu_cortexa53_0/lib -o "sw.elf"  ./src/adi_hal/ad9528.o ./src/adi_hal/axi_adc_core.o ./src/adi_hal/axi_adxcvr.o ./src/adi_hal/axi_dac_core.o ./src/adi_hal/axi_dmac.o ./src/adi_hal/axi_io.o ./src/adi_hal/axi_jesd204_rx.o ./src/adi_hal/axi_jesd204_tx.o ./src/adi_hal/clk_axi_clkgen.o ./src/adi_hal/delay.o ./src/adi_hal/no_os_hal.o ./src/adi_hal/spi.o ./src/adi_hal/talise.o ./src/adi_hal/talise_agc.o ./src/adi_hal/talise_arm.o ./src/adi_hal/talise_cals.o ./src/adi_hal/talise_error.o ./src/adi_hal/talise_gpio.o ./src/adi_hal/talise_hal.o ./src/adi_hal/talise_jesd204.o ./src/adi_hal/talise_radioctrl.o ./src/adi_hal/talise_rx.o ./src/adi_hal/talise_tx.o ./src/adi_hal/talise_user.o ./src/adi_hal/util.o ./src/adi_hal/xilinx_spi.o ./src/adi_hal/xilinx_transceiver.o  ./src/app_clocking.o ./src/app_jesd.o ./src/app_talise.o ./src/app_transceiver.o ./src/headless.o ./src/talise_config.o   -Wl,--start-group,-lxil,-lgcc,-lc,--end-group
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: ./src/adi_hal/ad9528.o: in function `ad9528_setup':
/home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/ad9528.c:383: undefined reference to `gpio_get_optional'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: ./src/adi_hal/ad9528.o: in function `ad9528_reset':
/home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/ad9528.c:887: undefined reference to `gpio_direction_output'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/ad9528.c:893: undefined reference to `gpio_direction_output'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: ./src/adi_hal/no_os_hal.o: in function `ADIHAL_openHw':
/home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/no_os_hal.c:72: undefined reference to `xil_gpio_platform_ops'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/no_os_hal.c:72: undefined reference to `xil_gpio_platform_ops'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/no_os_hal.c:78: undefined reference to `xil_gpio_platform_ops'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/no_os_hal.c:78: undefined reference to `xil_gpio_platform_ops'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/no_os_hal.c:88: undefined reference to `gpio_get'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/no_os_hal.c:103: undefined reference to `gpio_get'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: ./src/adi_hal/no_os_hal.o: in function `ADIHAL_closeHw':
/home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/no_os_hal.c:117: undefined reference to `gpio_remove'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/no_os_hal.c:119: undefined reference to `gpio_remove'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: ./src/adi_hal/no_os_hal.o: in function `ADIHAL_resetHw':
/home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/no_os_hal.c:133: undefined reference to `gpio_direction_output'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/no_os_hal.c:135: undefined reference to `gpio_direction_output'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/no_os_hal.c:137: undefined reference to `gpio_direction_output'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: ./src/adi_hal/no_os_hal.o: in function `ADIHAL_sysrefReq':
/home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/no_os_hal.c:148: undefined reference to `gpio_direction_output'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/no_os_hal.c:150: undefined reference to `gpio_direction_output'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: ./src/adi_hal/no_os_hal.o:/home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/adi_hal/no_os_hal.c:152: more undefined references to `gpio_direction_output' follow
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: ./src/app_clocking.o: in function `clocking_init':
/home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/app_clocking.c:436: undefined reference to `xil_gpio_platform_ops'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/app_clocking.c:436: undefined reference to `xil_gpio_platform_ops'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: ./src/headless.o: in function `main':
/home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/headless.c:270: undefined reference to `xil_gpio_platform_ops'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/headless.c:270: undefined reference to `xil_gpio_platform_ops'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/headless.c:275: undefined reference to `gpio_get'
/tools/Xilinx/SDK/2019.1/gnu/aarch64/lin/aarch64-none/bin/../lib/gcc/aarch64-none-elf/8.2.0/../../../../aarch64-none-elf/bin/ld: /home/user/ad9371x-hdl/projects/adrv9009/zcu102/adrv9009_zcu102.sdk/sw/Debug/../src/headless.c:280: undefined reference to `gpio_direction_output'
collect2: error: ld returned 1 exit status
make: *** [makefile:39: sw.elf] Error 1

Top Replies