Re: web simple monitor (httpd) compiling error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Fri, 2 Mar 2012, beacon88 wrote:

> 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.

There is no support for this (rev. B) board in eCos AnonCVS. There is
olpce2294 target in eCos repository which is another kind of hardware.
For example, the first LPC-E2294 H/W revision had differ NIC (CS8900)
and rev. B has DM9000 chip, and etc.

> 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:(
> multiple definition of `cyg_monitor_entry'
> /tmp/cc51qKWj.o:( first defined here

Where above command line (a way to build) came from?

> collect2: ld returned 1 exit status
> ashraf@ashraf-System-Product-Name:~/ecos-work/http11$ 
> is there any suggestion to solve this error?

You should use a way to build eCos test as that is described in eCos
documentation If you use CLI, that
would be

  % export TARGET=olpce2294
  % ecosconfig new $TARGET net
  % ecosconfig add httpd
  % ecosconfig tree
  % make
  % make -C net/httpd/current tests

Then you have to find `httpd1` eCos test (monitor included) under
`install/tests/net/httpd/current/tests' directory.

Of course,  it will not work on rev. B hardware, but eCos AnonCVS
sources and eCos tools is not issue. (I checked that just now).



Before posting, please read the FAQ:
and search the list archive:

[Linux Embedded]     [U-Boot V2]     [Linux Kernel]     [Linux MIPS]     [Linux ARM]     [Linux for the Blind]     [Linux Resources]     [Photo]     [Yosemite]     [ISDN Cause Codes]     [ECOS Home]

Add to Google Powered by Linux