Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
1,191 Views

Error in hello world program in NEEK board

Hello, 

I am getting error while building the hello world program in NEEK board. The following error will occur. 

 

 

 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: `TSE_MAC_IS_MULTICHANNEL_MAC' undeclared here (not in a function) 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: initializer element is not constant 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: (near initialization for `tse_mac_device[0].tse_multichannel_mac') 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: `TSE_MAC_NUMBER_OF_CHANNEL' undeclared here (not in a function) 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: initializer element is not constant 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: (near initialization for `tse_mac_device[0].tse_num_of_channel') 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: `TSE_MAC_MDIO_SHARED' undeclared here (not in a function) 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: initializer element is not constant 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: (near initialization for `tse_mac_device[0].tse_mdio_shared') 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: `TSE_MAC_NUMBER_OF_MAC_MDIO_SHARED' undeclared here (not in a function) 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: initializer element is not constant 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: (near initialization for `tse_mac_device[0].tse_number_of_mac_mdio_shared') 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: `TSE_MAC_PCS' undeclared here (not in a function) 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: initializer element is not constant 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: (near initialization for `tse_mac_device[0].tse_pcs_ena') 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: `TSE_MAC_PCS_SGMII' undeclared here (not in a function) 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: initializer element is not constant 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: (near initialization for `tse_mac_device[0].tse_pcs_sgmii') 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: initializer element is not constant 

/cygdrive/c/altera/81/ip/altera/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/HAL/src/altera_avalon_tse_system_info.c:22: error: (near initialization for `tse_mac_device[0]') 

make[1]: *** [obj/altera_avalon_tse_system_info.o] Error 1 

make: *** [system_project] Error 2 

Build completed in 25.063 seconds 

 

 

Thanks  

sam:)
0 Kudos
4 Replies
Highlighted
Valued Contributor III
8 Views

I have the same problem. did you overcome this problem?

0 Kudos
Highlighted
Valued Contributor III
8 Views

I also have the same problem, anyone know how to solve these errors? 

 

Thanks
0 Kudos
Highlighted
Valued Contributor III
8 Views

I have the exact same problem. Has anybody figured out how to fix this. Thanks!

0 Kudos
Highlighted
Valued Contributor III
8 Views

Is the your "cygdrive" correctly installed? Cause I try run the nios2 terminal and appears a error with the cygdrive. 

 

I have similars errors no my project (DE2_NET) and I found this page right now: 

 

http://www.altera.com/support/kdb/solutions/rd02122007_738.html 

 

Maybe it can help us!!!
0 Kudos