Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Thanks for posting your design. I cannot get your design running. When I implement your design, I get the error: undefined reference to 'tse_mac_device' Specifically, the error lies in these two lines of code are indicated in the file altera_avalon_tse.c: if(tse_mac_device.tse_mac_base == p_driver_data->hw_mac_base_addr) {
psys_info = &tse_mac_device; Does anyone know how I can handle this error? I can't see how I should build my own socket server, when the examples are not working. I can also use the DE4 board if that is easier. Thanks --- Quote End --- David, I know exactly what you are facing as I spent months trying to get the Simple socket Server to work on my custom design. There are several SSS example versions floating around, non of which have I found to work without extensive modification for my hardware environment. In addition there are numerous versions of the Altera development tools in use. I am using Quartus 11.0 sp1 and my NiosII design is in Qsys rather than SOPC builder. I may be able to help you if your environment is similar. However, I do not find that line of code in the altera_avalon_tse.c file on my system. Two things would help to identify this particular problem your are experiencing:
- What version of Altera tools are you using?
- Could you attach the altera_avalon_tse.c file from your system?