Results 1 to 3 of 3

Thread: DE2-115 Niche Stack. Undefined reference to marvell_cfg_rgmii

  1. #1
    Join Date
    Oct 2015
    Posts
    2
    Rep Power
    1

    Default DE2-115 Niche Stack. Undefined reference to marvell_cfg_rgmii

    Hello,

    I am currently trying to create Ethernet communication from a DE2-115 board to PC. I have followed guidelines set out in this thread http://www.alteraforum.com/forum/sho...t=28837&page=6 , and have also referenced the TSE for de2-115 tutorial and Niche/Stack tutorial.

    Upon building the project I encounter this error. Is anyone able to assist with this?
    If there are any other files or screen shots that you require please ask.

    Kind regards
    Dan



    18:23:16 **** Incremental Build of configuration Nios II for project socket_server ****
    make all
    Info: Building ../socket_server_bsp/
    C:/altera/15.0/nios2eds/bin/gnu/H-x86_64-mingw32/bin/make --no-print-directory -C ../socket_server_bsp/
    [BSP build complete]
    Info: Linking socket_server.elf
    nios2-elf-g++ -T'../socket_server_bsp//linker.x' -msys-crt0='../socket_server_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../socket_server_bsp/ -Wl,-Map=socket_server.map -O0 -g -Wall -mno-hw-div -mhw-mul -mno-hw-mulx -o socket_server.elf obj/default/SSS_DE2_115.o obj/default/alt_eeprom/alt_2_wire.o obj/default/alt_eeprom/alt_eeprom.o obj/default/alt_error_handler.o obj/default/iniche_init.o obj/default/led.o obj/default/network_utilities.o obj/default/simple_socket_server.o obj/default/tse_my_system.o -lm -msys-lib=m
    obj/default/tse_my_system.o.data+0x44): undefined reference to `marvell_cfg_rgmii'
    collect2.exe: error: ld returned 1 exit status
    make: *** [socket_server.elf] Error 1


    18:23:19 Build Finished (took 2s.953ms)

  2. #2
    Join Date
    Apr 2016
    Posts
    1
    Rep Power
    1

    Default Re: DE2-115 Niche Stack. Undefined reference to marvell_cfg_rgmii

    I have the same problem like you, did you solve it?

    Best regards,
    Jinglong

  3. #3
    Join Date
    Oct 2016
    Posts
    5
    Rep Power
    1

    Default Re: DE2-115 Niche Stack. Undefined reference to marvell_cfg_rgmii

    I also have the similar error but in different file generated by Eclipse for TSE. Let me know if anyone have a clue how to solve it.


    I am trying to build a project in NIOS but it is giving "undefined reference to `tse_mac_device' " error. I am using NIOS II-Eclipse, Quartus 15.1 and Altera's DE2-115 board.

    The error occurred in two files generated by Eclipse:

    error in 'altera_avalon_tse' line 119
    tse_mac_device[tse_system_count].tse_mac_base = pmac->tse_mac_base + (i * 0x400);

    error in 'ins_tse_mac file' line 342
    if(tse_mac_device[i].tse_mac_base == p_driver_data->hw_mac_base_addr)
    {

    psys_info = &tse_mac_device[i];
    }

    Here is the error report from NIOS when I tried to build the project:


    20:02:08 **** Incremental Build of configuration Nios II for project OpenTOF ****
    make all
    Info: Building ../OpenTOF_bsp/
    C:/altera_lite/15.1/nios2eds/bin/gnu/H-x86_64-mingw32/bin/make --no-print-directory -C ../OpenTOF_bsp/
    [BSP build complete]
    Info: Linking OpenTOF.elf
    nios2-elf-g++ -T'../OpenTOF_bsp//linker.x' -msys-crt0='../OpenTOF_bsp//obj/HAL/src/crt0.o' -msys-lib=ucosii_bsp -L../OpenTOF_bsp/ -Wl,-Map=OpenTOF.map -O0 -g -Wall -mno-hw-div -mhw-mul -mno-hw-mulx -o OpenTOF.elf obj/default/OpenTOF_lib.o obj/default/main.o obj/default/network.o -lm -msys-lib=m
    ../OpenTOF_bsp/\libucosii_bsp.a(ins_tse_mac.o): In function `altera_eth_tse_init':
    C:\Users\achoo\Desktop\OpenTOFv2.2\OpenTOFv2.2\Fir mware\OpenTOF_bsp/drivers/src/iniche/ins_tse_mac.c:119: undefined reference to `tse_mac_device'
    C:\Users\achoo\Desktop\OpenTOFv2.2\OpenTOFv2.2\Fir mware\OpenTOF_bsp/drivers/src/iniche/ins_tse_mac.c:119: undefined reference to `tse_mac_device'
    C:\Users\achoo\Desktop\OpenTOFv2.2\OpenTOFv2.2\Fir mware\OpenTOF_bsp/drivers/src/iniche/ins_tse_mac.c:120: undefined reference to `tse_mac_device'
    C:\Users\achoo\Desktop\OpenTOFv2.2\OpenTOFv2.2\Fir mware\OpenTOF_bsp/drivers/src/iniche/ins_tse_mac.c:120: undefined reference to `tse_mac_device'
    ../OpenTOF_bsp/\libucosii_bsp.a(altera_avalon_tse.o): In function `alt_tse_system_add_sys':
    C:\Users\achoo\Desktop\OpenTOFv2.2\OpenTOFv2.2\Fir mware\OpenTOF_bsp/drivers/src/altera_avalon_tse.c:342: undefined reference to `tse_mac_device'
    ../OpenTOF_bsp/\libucosii_bsp.a(altera_avalon_tse.o):C:\Users\ach oo\Desktop\OpenTOFv2.2\OpenTOFv2.2\Firmware\OpenTO F_bsp/drivers/src/altera_avalon_tse.c:342: more undefined references to `tse_mac_device' follow
    collect2.exe: error: ld returned 1 exit status
    make: *** [OpenTOF.elf] Error 1


    20:02:09 Build Finished (took 1s.425ms)
    Last edited by ggbhatia; October 27th, 2016 at 08:53 AM.

Similar Threads

  1. TCP/IP Stack error: undefined reference to 'alt_iniche_init()'
    By ash in forum General Discussion Forum
    Replies: 3
    Last Post: March 5th, 2012, 09:11 AM
  2. Niche Stack Switching Tasks
    By AsValdr in forum MicroC/OS-II Forum
    Replies: 5
    Last Post: October 26th, 2011, 03:17 PM
  3. UDP Socket in Niche Stack
    By hasil86 in forum MicroC/OS-II Forum
    Replies: 16
    Last Post: August 17th, 2011, 05:40 PM
  4. niche stack problem
    By sblrde in forum General Discussion Forum
    Replies: 0
    Last Post: July 28th, 2011, 08:21 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •