This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Angst-ridden eCos newbie trying to build HTTP server (Gary Thomas?)
- From: "Michael Trozzo" <trozzo at arcor dot de>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 14 Nov 2003 22:20:51 +0100
- Subject: RE: [ECOS] Angst-ridden eCos newbie trying to build HTTP server (Gary Thomas?)
-----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?
Floopy.
> 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
try
mht@linux:~> sh /opt/ecos/ecos-2.0/examples/build_Make.params
/home/mht/work/httpd_test/ecos_kernel/install
etc
Andrew
Andrew,
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
build.
Regards,
Mike
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss