help to sort out the errors

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

Reply to
sriman
Loading thread data ...

You made one too many changes: The LAN91C111 module is either missing from your NIOS core, or you re-named it.

There is a very specific hardware configuration needed for NIOS-uCos; you have to have certain cores, and they must have the correct names.

G.

Reply to
ghelbig

i have just comiled with the given example. i got these errors. can u tell me what these are..

**** Build of configuration Debug for project simple_socket_server_0 ****

make -s all Creating generated_app.mk... Creating system.h... Aug 24, 2007 11:13:18 AM - (SEVERE) generate: java.lang.IllegalStateException: java.lang.IllegalStateException: java.lang.NumberFormatException: empty String make[1]: *** [system_description/../obj/system.h-t] Error 1 make: *** [system_project] Error 2 Build completed in 80.344 seconds

Reply to
sriman

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.