Altera_Forum
Honored Contributor
15 years agoproblem about ins_tse_mac.c file
hi,all.thanks for you reading my question!
I create the project simple_socket_sever with no change in nios ide 7.2,and the hardware is NiosII_cycloneII_2c35_TSE_SGDMA_sopc.ptf which is the example of the nios2ide,when i build the project, there are some errors in ins_tse_mac.c file as follow. **** Build of configuration Debug for project simple_socket_server_0 **** make -s all includes Compiling ins_tse_mac.c... /cygdrive/e/altera/72/ip/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/UCOSII/src/iniche/ins_tse_mac.c: In function `tse_mac_init': /cygdrive/e/altera/72/ip/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/UCOSII/src/iniche/ins_tse_mac.c:262: error: `TSE_MAC_BASE' undeclared (first use in this function) /cygdrive/e/altera/72/ip/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/UCOSII/src/iniche/ins_tse_mac.c:262: error: (Each undeclared identifier is reported only once /cygdrive/e/altera/72/ip/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/UCOSII/src/iniche/ins_tse_mac.c:262: error: for each function it appears in.) /cygdrive/e/altera/72/ip/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/UCOSII/src/iniche/ins_tse_mac.c:309: error: `TSE_MAC_TRANSMIT_FIFO_DEPTH' undeclared (first use in this function) /cygdrive/e/altera/72/ip/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/UCOSII/src/iniche/ins_tse_mac.c:311: error: `TSE_MAC_RECEIVE_FIFO_DEPTH' undeclared (first use in this function) /cygdrive/e/altera/72/ip/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/UCOSII/src/iniche/ins_tse_mac.c: In function `getPHYSpeed': /cygdrive/e/altera/72/ip/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/UCOSII/src/iniche/ins_tse_mac.c:913: error: `TSE_MAC_USE_MDIO' undeclared (first use in this function) /cygdrive/e/altera/72/ip/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/UCOSII/src/iniche/ins_tse_mac.c:1021: error: `TSE_MAC_ENABLE_MACLITE' undeclared (first use in this function) /cygdrive/e/altera/72/ip/triple_speed_ethernet/lib/sopc_builder/altera_triple_speed_ethernet/UCOSII/src/iniche/ins_tse_mac.c:1021: error: `TSE_MAC_MACLITE_GIGE' undeclared (first use in this function) make[1]: *** [obj/iniche/ins_tse_mac.o] Error 1 make: *** [system_project] Error 2 Build completed in 10.879 seconds i was confused with this,thanks for your help!