hi
i have wrote the program for nios processor. when i am trying to complie it, i am getting the follwing errors. can anyone help me out in rectificing the errors
**** Build of configuration Debug for project ucosii_tutorial_0_syslib ****make -s all Compiling smsc_mem.c... /cygdrive/f/altera/61/ip/sopc_builder_ip/altera_avalon_lan91c111/ UCOSII/src/iniche/smsc_mem.c: In function `mac2ip': /cygdrive/f/altera/61/ip/sopc_builder_ip/altera_avalon_lan91c111/ UCOSII/src/iniche/smsc_mem.c:46: error: `LAN91C111_BASE' undeclared (first use in this function) /cygdrive/f/altera/61/ip/sopc_builder_ip/altera_avalon_lan91c111/ UCOSII/src/iniche/smsc_mem.c:46: error: (Each undeclared identifier is reported only once /cygdrive/f/altera/61/ip/sopc_builder_ip/altera_avalon_lan91c111/ UCOSII/src/iniche/smsc_mem.c:46: error: for each function it appears in.) /cygdrive/f/altera/61/ip/sopc_builder_ip/altera_avalon_lan91c111/ UCOSII/src/iniche/smsc_mem.c:46: error: `LAN91C111_LAN91C111_REGISTERS_OFFSET' undeclared (first use in this function) /cygdrive/f/altera/61/ip/sopc_builder_ip/altera_avalon_lan91c111/ UCOSII/src/iniche/smsc_mem.c: In function `s91_port_prep': /cygdrive/f/altera/61/ip/sopc_builder_ip/altera_avalon_lan91c111/ UCOSII/src/iniche/smsc_mem.c:93: error: `LAN91C111_BASE' undeclared (first use in this function) /cygdrive/f/altera/61/ip/sopc_builder_ip/altera_avalon_lan91c111/ UCOSII/src/iniche/smsc_mem.c:93: error: `LAN91C111_LAN91C111_REGISTERS_OFFSET' undeclared (first use in this function) /cygdrive/f/altera/61/ip/sopc_builder_ip/altera_avalon_lan91c111/ UCOSII/src/iniche/smsc_mem.c:94: error: `LAN91C111_IRQ' undeclared (first use in this function) make: *** [obj/iniche/smsc_mem.o] Error 1 Build completed in 43.25 seconds
i am using UCOS/OSII Rtos and using the simple socket server demo and made the necessary changes to suit to my design