--- Quote Start ---
Dear Bill,
I have Quartus 5.0 and NIOS-II (ver 1.1) and i am writing an application over uc/OS-II.
now i am trying to add simple client application and before building the project i add the lwip software component but during compilation time it reflect following error's
**** Incremental build of configuration Debug for project hello_ucosii_0 ****
make -s all
Compiling hello_ucosii.c...
Linking hello_ucosii_0.elf...
C:/altera/kits/nios2_60/examples/verilog/niosII_cyclone_1c20/standard/software/hello_ucosii_0_syslib/Debug/libhello_ucosii_0_syslib.a(altera_avalon_lan91c111 .o)(.text+0xd88): In function `low_level_init':
/cygdrive/c/altera/kits/nios2_60/components/altera_avalon_lan91c111/UCOSII/src/altera_avalon_lan91c111.c:752: undefined reference to `get_mac_addr'
C:/altera/kits/nios2_60/examples/verilog/niosII_cyclone_1c20/standard/software/hello_ucosii_0_syslib/Debug/libhello_ucosii_0_syslib.a(alt_lwip_dev.o)(.text+0 x230): In function `lwip_devices_init':
/cygdrive/c/altera/kits/nios2_60/components/altera_lwip/UCOSII/src/alt_lwip_dev.c:165: undefined reference to `get_ip_addr'
collect2: ld returned 1 exit status
make: *** [hello_ucosii_0.elf] Error 1
Build completed
--- Quote End ---
It sounds like you're missing the actual driver - usually in ethernetif.c - low_level_init and other functions particular to the 91C111 would be here. Search all of your files for low_level_init and be sure it's included in the project.
--- Quote Start ---
1.>i do not know how to add a simple client application over uc/OS, please help me out how to add this
2.> what setting's i ave to do before writing client code.
3.> what are the header files are required.
--- Quote End ---
Check the files on the sites I listed above. You need to get Ethernet working, and then a port of lwIP for uC/OS-II. You will probably find much more help on those sites than here. I have not used 9C111 or uC/OS-II with lwIP so I can't say much more about this configuration.
--- Quote Start ---
when i add the ipport.h and tcpport.h file it generate the following errors (though i haven't yet add my c-code , i have just add the header file anly)
--- Quote End ---
These files are files supplied and for use with InterNiche - do not mix TCP/IP stack source files! Either use InterNiche or lwIP. As InterNiche already supports uC/OS-II on the NIOS, why not use it?
Bill