From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5209 invoked by alias); 23 Oct 2003 06:46:53 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 5200 invoked from network); 23 Oct 2003 06:46:52 -0000 Received: from unknown (HELO mout2.freenet.de) (194.97.50.155) by sources.redhat.com with SMTP; 23 Oct 2003 06:46:52 -0000 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout2.freenet.de with asmtp (Exim 4.24) id 1ACZF9-0000O2-7U; Thu, 23 Oct 2003 08:46:47 +0200 Received: from a-212-224-8-142.easynet.de ([212.224.8.142] helo=freenet.de) by mx2.freenet.de with asmtp (ID bier.meister@freenet.de) (Exim 4.24 #17) id 1ACZF8-0003Zi-ME; Thu, 23 Oct 2003 08:46:46 +0200 Message-ID: <3F977952.1070701@freenet.de> Date: Thu, 23 Oct 2003 06:46:00 -0000 From: Bier Meister User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021204 X-Accept-Language: en-us, en, he MIME-Version: 1.0 To: ecos-discuss@sources.redhat.com CC: Gary Thomas References: <3F96BF4E.7070003@freenet.de> <1066850279.29481.208.camel@hermes> In-Reply-To: <1066850279.29481.208.camel@hermes> X-Enigmail-Version: 0.71.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] Building an HTTP server as an eCos application X-SW-Source: 2003-10/txt/msg00407.txt.bz2 synthetic target -> linux Gary Thomas wrote: >On Wed, 2003-10-22 at 11:33, Bier Meister wrote: > > >>I am trying to build an HTTP server as an eCos application according to >>the example in http://www.mlbassoc.com/examples/build_httpd.html >> >>However, during the building of the application, i get this errors: >> >> >>meister@plain_pc:~/programming/work/httpd_test/httpd_application> make >>make -C ../libhttpd-1.3/src -f Make.eCos HOME=`pwd` >>make[1]: Entering directory >>`/home/meister/programming/work/httpd_test/libhttpd-1.3/src' >>make[1]: `libhttp.a' is up to date. >>make[1]: Leaving directory >>`/home/meister/programming/work/httpd_test/libhttpd-1.3/src' >>gcc -g -nostdlib -Wl,--gc-sections -Wl,-static >>-L/home/meister/programming/work/httpd_test/ecos_kernel/install/lib >>-Ttarget.ld test_httpd.o -L../libhttpd-1.3/src -lhttp -o test >>/home/meister/programming/work/httpd_test/ecos_kernel/install/lib/libtarget.a(net_bsd_tcpip_ip_icmp.o)(.bss.cyg_icmpstat+0x0): >>In function `ip_next_mtu': >>/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/sys/netinet/ip_icmp.c:129: >>multiple definition of `cyg_icmpstat' >>/home/meister/programming/work/httpd_test/ecos_kernel/install/lib/libtarget.a(net_bsd_tcpip_udp_usrreq.o)(.bss.cyg_icmpstat+0x0):/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/sys/netinet/udp_usrreq.c:140: >>first defined here >>/home/meister/programming/work/httpd_test/ecos_kernel/install/lib/libtarget.a(net_bsd_tcpip_tcp_input.o)(.bss.cyg_icmpstat+0x0): >>In function `tcp_newreno': >>/opt/ecos/ecos-2.0/packages/net/bsd_tcpip/v2_0/src/sys/netinet/tcp_input.c:155: >>multiple definition of `cyg_icmpstat' >>/home/meister/programming/work/httpd_test/ecos_kernel/install/lib/libtarget.a(net_bsd_tcpip_udp_usrreq.o)(.bss.cyg_icmpstat+0x0): >>first defined here >>test_httpd.o(.text.httpd_test+0x9): In function `strdup': >>/home/meister/programming/work/httpd_test/ecos_kernel/install/include/cyg/libc/stdio/stdio.inl:110: >>undefined reference to `CYGACC_CALL_IF_MONITOR_VERSION' >>collect2: ld returned 1 exit status >>make: *** [test] Error 1 >>meister@plain_pc:~/programming/work/httpd_test/httpd_application> >> >> >> >>Have I missed a compiler flag? >>Can someone please point me to the right direction? >> >> > >What's the target platform? > > > -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss