[ECOS] Angst-ridden eCos newbie trying to build HTTP server (Gary Thomas?)

Michael Trozzo trozzo@arcor.de
Fri Nov 14 21:20:00 GMT 2003

-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of Andrew Lunn
Sent: Mittwoch, 12. November 2003 09:03
To: Michael Trozzo
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Angst-ridden eCos newbie trying to build HTTP server
(Gary Thomas?)

> First I tried to set up the kernel:
> mht@linux:~/work> cd httpd_test
> mht@linux:~/work/httpd_test> cd ecos_kernel 
> mht@linux:~/work/httpd_test/ecos_kernel> ecosconfig new i386 net
> ecos.db: error
>     couldn't read file 
> "/home/mht/work/httpd_test/ecos_kernel/ecos.db": no
> such file or directory
> Invalid package database.

Set the environment variable ECOS_REPOSITORY to your packages directory.
Thats where the ecos.db lives.

> I used the eCos GUI and I was able to build it. One question I have at

> this
> point is: Should I set the startup type to floppy or leave it at ROM? 


> Anyway, on to the next step. I unzipped the necessary files and 
> patch...now I ?m trying to set up the application. (NOTE: My work 
> directory sits outside the eCos structure, at /home/mht/work...could 
> this be an issue as well?)
> mht@linux:~> sh /opt/ecos/ecos-2.0/examples/build_Make.params 
> /home/mht/work/ httpd_test/ecos_kernel Not an eCos install tree
> usage: <eCos_repository>/build_Make.params [<eCos_install_dir>]

The install tree is normally inside work tree with the name install. To

mht@linux:~> sh /opt/ecos/ecos-2.0/examples/build_Make.params




Thanks a million...I got it to work!  I set the ECOS_REPOSITORY
variable, went back to ecosconfig and built the kernel successfully.
>From there, the rest was painless.  I realize now that using the GUI
tool may have been another source of aggravation.  The layout of all the
directories in the GUI build was *radically* different from the CLI


Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

More information about the Ecos-discuss mailing list