cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
7,121 Views
Registered: ‎10-13-2008

Webserver

Hi

i want to build webserver on spartan 3E starter kit i had developed the hard ware as per the document in xapp1026 and now i am getting some errors with the software can u just help me in this regards

 

The Error is

"':
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/prot_malloc.c:5: undefined reference to `sys_arch_protect'
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/prot_malloc.c:9: undefined reference to `sys_arch_unprotect'
/cygdrive/c/DOCUME~1/prakashg/LOCALS~1/Temp/ccME8f2t.o: In function `tftpserver_application_thread':
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/tftpserver.c:315: undefined reference to `lwip_socket'
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/tftpserver.c:330: undefined reference to `lwip_bind'
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/tftpserver.c:331: undefined reference to `lwip_recvfrom'
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/tftpserver.c:359: undefined reference to `sys_thread_new'
/cygdrive/c/DOCUME~1/prakashg/LOCALS~1/Temp/ccME8f2t.o: In function `tftp_construct_error_message':
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/tftpserver.c:62: undefined reference to `lwip_sendto'
/cygdrive/c/DOCUME~1/prakashg/LOCALS~1/Temp/ccME8f2t.o: In function `tftp_process_write':
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/tftpserver.c:204: undefined reference to `lwip_select'
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/tftpserver.c:215: undefined reference to `lwip_recvfrom'
/cygdrive/c/DOCUME~1/prakashg/LOCALS~1/Temp/ccME8f2t.o: In function `tftp_process_read':
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/tftpserver.c:118: undefined reference to `lwip_select'
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/tftpserver.c:129: undefined reference to `lwip_recvfrom'
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/tftpserver.c:172: undefined reference to `lwip_socket'
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/tftpserver.c:105: undefined reference to `lwip_bind'
/cygdrive/c/DOCUME~1/prakashg/LOCALS~1/Temp/ccME8f2t.o: In function `process_tftp_request':
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/tftpserver.c:265: undefined reference to `lwip_close'
/cygdrive/c/DOCUME~1/prakashg/LOCALS~1/Temp/ccSq5oQR.o: In function `process_http_request':
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/webserver.c:40: undefined reference to `lwip_read'
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/webserver.c:40: undefined reference to `lwip_close'
/cygdrive/c/DOCUME~1/prakashg/LOCALS~1/Temp/ccSq5oQR.o: In function `web_application_thread':
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/webserver.c:59: undefined reference to `lwip_socket'
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/webserver.c:66: undefined reference to `lwip_bind'
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/webserver.c:69: undefined reference to `lwip_listen'
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/lwipdemo/src/webserver.c:75: undefined reference to `lwip_accept'
./microblaze_0/lib//libxil.a(main.o): In function `xilkernel_init':
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/microblaze_0/libsrc/xilkernel_v4_00_a/src/src/sys/main.c:107: undefined reference to `hw_init'
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/microblaze_0/libsrc/xilkernel_v4_00_a/src/src/sys/main.c:128: undefined reference to `init_idle_task'
./microblaze_0/lib//libxil.a(pthread.o): In function `pthread_wrapper':
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/microblaze_0/libsrc/xilkernel_v4_00_a/src/src/sys/pthread.c:120: undefined reference to `xmk_enter_kernel'
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/microblaze_0/libsrc/xilkernel_v4_00_a/src/src/sys/pthread.c:122: undefined reference to `xmk_leave_kernel'
./microblaze_0/lib//libxil.a(pthread.o): In function `sys_pthread_create':
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test
/SP3E_Dummy/microblaze_0/libsrc/xilkernel_v4_00_a/src/src/sys/pthread.c:204: undefined reference to `setup_initial_context'
./microblaze_0/lib//libxil.a(sched.o): In function `suspend':
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/microblaze_0/libsrc/xilkernel_v4_00_a/src/src/sys/sched.c:253: undefined reference to `save_context'
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/microblaze_0/libsrc/xilkernel_v4_00_a/src/src/sys/sched.c:254: undefined reference to `restore_context'
./microblaze_0/lib//libxil.a(timer.o): In function `soft_tmr_init':
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/microblaze_0/libsrc/xilkernel_v4_00_a/src/src/sys/timer.c:68: undefined reference to `kernel_ticks'
./microblaze_0/lib//libxil.a(timer.o): In function `sys_xget_clock_ticks':
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/microblaze_0/libsrc/xilkernel_v4_00_a/src/src/sys/timer.c:218: undefined reference to `kernel_ticks'
./microblaze_0/lib//libxil.a(timer.o): In function `sys_time':
/cygdrive/e/Ethernet_Sudish_work/S3E_Final_test/SP3E_Dummy/microblaze_0/libsrc/xilkernel_v4_00_a/src/src/sys/timer.c:235: undefined reference to `kernel_ticks'
collect2: ld returned 1 exit status
make: *** [lwipdemo/executable.elf] Error 1"

 

please help me in this regards

Thanks and Regards

Prakash

0 Kudos
4 Replies
287690493
Visitor
Visitor
5,534 Views
Registered: ‎11-15-2009

you must forget add lwip4 and xilkernel libraries under set compiler options
0 Kudos
tushar_dongre
Xilinx Employee
Xilinx Employee
5,492 Views
Registered: ‎02-25-2009

Do try to set the compiler option in the software application with the following value:

 

-lxilkernel

 

Cheers!!

0 Kudos
rockivinay
Newbie
Newbie
4,343 Views
Registered: ‎03-04-2011

Hello,

 

I am buliding a Web server on spartan 3e starter board kit. Can anyone suggest me where can i get d design files for continuing in the project..? pls do help...

0 Kudos
Anonymous
Not applicable
3,821 Views

Try WebPHY DATABUS, a web server IP core for FPGAs.  It requires little to no knowledge of networking or software and is up and running in minutes: www.webphyfpga.com

0 Kudos