Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20641 Discussions

BSP setting for "UDP Offload Example"

Altera_Forum
Honored Contributor II
1,151 Views

Hi, 

I am modifying the "UDP Offload example" available on Altera wiki for my board(DE2-115) but I got following error while building the project using  

./create-this-app command in command mode: 

 

"undefined reference to `stooges'  

 

could any body please help?
0 Kudos
11 Replies
Altera_Forum
Honored Contributor II
430 Views

Hii !  

 

Did u solve the problem ?  

i am getting the same problem ! 

thanks !
0 Kudos
Altera_Forum
Honored Contributor II
430 Views

Hi, 

Have You tried "UDP Offload example" successfully on DE2-115, Even I am trying Am having problems in modyfying the project Can you share your project arhieve. 

 

Regards 

Arun
0 Kudos
Altera_Forum
Honored Contributor II
430 Views

yes i did  

what kind of problems do u have ?
0 Kudos
Altera_Forum
Honored Contributor II
430 Views

 

--- Quote Start ---  

yes i did  

what kind of problems do u have ? 

--- Quote End ---  

 

I am using Quartus 14.0 version, so qsys file didn't get upgraded automatically So removed old tse_mac component from qsys system and added new one(14.0). 

 

Now I am having problems and I cant generate the system. Can you share your qsys system screenshots? 

 

 

Regards 

Arun
0 Kudos
Altera_Forum
Honored Contributor II
430 Views

have fun  

Jalayan
0 Kudos
Altera_Forum
Honored Contributor II
430 Views

 

--- Quote Start ---  

have fun  

Jalayan 

--- Quote End ---  

 

 

Hi, 

 

Thanks for sendig the qsys file, Now am able to generate qsys design successfully, But compilation of my top level design is failing. 

 

Can you please send the quartus archieve of the full project so that I will cross verify where am making mistakes. 

 

Thanks and Regards 

Arun
0 Kudos
Altera_Forum
Honored Contributor II
430 Views

It took me more than a week to get this working. 

here you go .. 

 

 

Jalayan
0 Kudos
Altera_Forum
Honored Contributor II
430 Views

 

--- Quote Start ---  

It took me more than a week to get this working. 

here you go .. 

 

 

Jalayan 

--- Quote End ---  

 

 

Thank you very much for sending the files. 

 

I am having problems in compiling the code.. 

 

I am getting two errors 

undefined reference to install_menu() 

undefined reference to stooges() 

 

But I have defined IN_MENUS to 1 in demo.c file  

But if you see in the menus.c file code portion containing IN_MENUS is greyed, and if i right click on IN_MENUS and click find declaration error "couldn't find IN_MENUS in the index" will come. 

 

Do i need to include something or do i need to change some project settings ?
0 Kudos
Altera_Forum
Honored Contributor II
430 Views

there is a couple of changes in the iniche Stack, that's why you get these two populer errors. 

You need to disable the file generation for the following files (in the BSP Editor): 

 

tk_crnos.h 

tk_crnos.c 

targnios.c 

osportco.c 

nrmenus.c 

ipport.h 

app_ping.h 

app_ping.c 

 

copy the original files that i gave you in your project directory. 

 

 

Jalayan
0 Kudos
Altera_Forum
Honored Contributor II
430 Views

popular** 

 

 

I also enabled 

* net_stat (software packages)
0 Kudos
Altera_Forum
Honored Contributor II
430 Views

Jalayan, seems you've become very familiar with the UDP Offload Example. Do you know who the author might be? I thought I saw it here in the forums somewhere but can't seem to locate it.

0 Kudos
Reply