- To: ecos-discuss@xxxxxxxxxxxxxxxxxxx
- Subject: web simple monitor (httpd) compiling error
- From: beacon88 <ashralf_6@xxxxxxxxx>
- Date: Fri, 2 Mar 2012 08:41:34 -0800 (PST)
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
i want to use embedded http server in my board (Olimex LPC-E2294 rev B.). For
testing, I want to use web simple monitoring provided by ecos (monitor.c). I
used the net template and added the httpd package. When compiling the
monitor.c file, i got this error.
ashraf@ashraf-System-Product-Name:~/ecos-work/http11$
/home/ashraf/ecos/gnutools/arm-eabi/bin/arm-eabi-gcc -I
/home/ashraf/ecos-work/http7_install/include monitor.c -L
/home/ashraf/ecos-work/http7_install/lib -T
/home/ashraf/ecos-work/http7_install/lib/target.ld -nostdlib -o test
/home/ashraf/ecos-work/http7_install/lib/extras.o:(.ecos.table.httpd_table.data+0x0):
multiple definition of `cyg_monitor_entry'
/tmp/cc51qKWj.o:(.ecos.table.httpd_table.data+0x0): first defined here
/home/ashraf/ecos-work/http7_install/lib/extras.o:(.ecos.table.httpd_table.data+0xc):
multiple definition of `cyg_monitor_index_entry'
/tmp/cc51qKWj.o:(.ecos.table.httpd_table.data+0xc): first defined here
/home/ashraf/ecos-work/http7_install/lib/extras.o:(.data.cyg_monitor_ecos_logo_data+0x0):
multiple definition of `cyg_monitor_ecos_logo_data'
/tmp/cc51qKWj.o:(.data+0x934): first defined here
/home/ashraf/ecos-work/http7_install/lib/extras.o:(.ecos.table.httpd_table.data+0x54):
multiple definition of `cyg_monitor_ecos_logo'
/tmp/cc51qKWj.o:(.ecos.table.httpd_table.data+0x54): first defined here
/home/ashraf/ecos-work/http7_install/lib/extras.o:(.ecos.table.httpd_table.data+0x30):
multiple definition of `cyg_monitor_interrupts_entry'
/tmp/cc51qKWj.o:(.ecos.table.httpd_table.data+0x30): first defined here
/home/ashraf/ecos-work/http7_install/lib/extras.o:(.ecos.table.httpd_table.data+0x18):
multiple definition of `cyg_monitor_show_threads'
/tmp/cc51qKWj.o:(.ecos.table.httpd_table.data+0x18): first defined here
/home/ashraf/ecos-work/http7_install/lib/extras.o:(.ecos.table.httpd_table.data+0x3c):
multiple definition of `cyg_monitor_memory_entry'
/tmp/cc51qKWj.o:(.ecos.table.httpd_table.data+0x3c): first defined here
/home/ashraf/ecos-work/http7_install/lib/extras.o:(.ecos.table.httpd_table.data+0x48):
multiple definition of `cyg_monitor_network_entry'
/tmp/cc51qKWj.o:(.ecos.table.httpd_table.data+0x48): first defined here
/home/ashraf/ecos-work/http7_install/lib/extras.o:(.ecos.table.httpd_table.data+0x24):
multiple definition of `cyg_monitor_thread_edit_entry'
/tmp/cc51qKWj.o:(.ecos.table.httpd_table.data+0x24): first defined here
collect2: ld returned 1 exit status
ashraf@ashraf-System-Product-Name:~/ecos-work/http11$
is there any suggestion to solve this error?
--
View this message in context: http://old.nabble.com/web-simple-monitor-%28httpd%29-compiling-error-tp33429784p33429784.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
[Linux Embedded]
[U-Boot V2]
[Linux Kernel]
[Linux MIPS]
[Linux ARM]
[Linux for the Blind]
[Linux Resources]
[Photo]
[Yosemite]
[ISDN Cause Codes]
[ECOS Home]
[Site Home]