This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: webserver don't run on ecos.
- To: "Gary Thomas" <gthomas at redhat dot com>
- Subject: Re: [ECOS] webserver don't run on ecos.
- From: "GARCIA Guillermo" <guga at teamlog dot fr>
- Date: Wed, 9 Aug 2000 11:30:22 +0200
- Cc: <ecos-discuss at sourceware dot cygnus dot com>
Hello !
>I just tried this on the same target hardware as you and it worked
>straight out of the box. I'm using a Linux development host with
>sources equivalent to the latest anonymous CVS tree.
I suppose the problem comes from my developpement host (WinNT ;).
In the makefile I had to compile webcomp, did i have to change something in
this line :
webcomp:
cc -o webcomp -O2 -DWEBS -DUEMF -DOS="Linux" -DLINUX -I.. ../webcomp.c
and put something like that :
webcomp:
gcc -o webcomp -O2 -DWEBS -DUEMF -DOS="WindowsNT" -DWIN -I.. ../webcomp.c
/*(I didn't have cc so i change it to gcc.)*/
I tried this changes and I had an error of include : winnls.h not found.
I had search this file but i didn't find it. I removed this include
and it compile correctly but I still have the bus error.
>
>Here are the basic steps I took:
> mkdir /work/edb7212_net
> cd /work/edb7212_net
> ecosconfig new edb7212 net
> ecosconfig tree
> -- edit ecos.ecc
> cdl_option CYGNUM_LIBC_MALLOC_MEMPOOL_SIZE {
> user_value 1638400
> };
> make
to build eCos i use the red hat configuration tool so i didn't understand
what you do. But i think eCos was well build.
>
> mkdir /work/webs21
> cd /work/webs21
> gzip -d </tmp/Webs21.tar.gz | tar -xvpf -
> cd ECOS
> -- edit Makefile
> [gary@hermes ECOS]$ diff Makefile{~,}
> 11c11
> < PKG_INSTALL_DIR := /work/net_test/install
> ---
> > PKG_INSTALL_DIR := /work/edb7212_net/install
> make
I did the same thing but i had the bus error.
Did u ran Webs21 in ROM or in RAM ?
>
>That's all! No changes to any other files were necessary and it just
>built and ran.
>
what about webrom ?
best regards,
Guillermo.