This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ecos under cygwin


I have just installed eCos right now for evaluation.
I was able to install, configure and build eCos samples
under SUSE Linux 10.2.
However, when I tried doing it under cygwin, the
configuration tools just don't run. Maybe someone could
tell me what is wrong with my cygwin configuration.
The ecos directory in cygwin installation is the same as in the
SUSE Linux. But the same tools  work in Linux,
and not in cygwin.

I have installed cygwin and eCos in both a Windows Vista
and Windows 2000 environment. The failure was not
completely the same, but the result is similar, so I
guess it is not Windows that causes this problem.

I have installed cygwin under C:\cygwin.
eCos is installed within cygwin, and is in
/opt/ecos.

I have added a line in ~/.bash_profile
. /opt/ecos/ecosenv.sh
to establish the environment eCos needs.

Then I created a build directory and run
configtool.  It always crashes.  I noticed there
were a lot of messages in the message window
running during startup, and finally it crashes.

So I try to run ecosconfig and it spewed the following
error messages then refused to create a configuration:

-------------------------------------------------------------------------
$ ecosconfig new pid

ecos.db, package CYGPKG_HAL: warning
    Version subdirectory `common' does not have a CDL script `hal.cdl'.
ecos.db, package CYGPKG_HAL: warning
    This package does not have any valid version subdirectories.
ecos.db, package CYGPKG_INFRA: warning
    Version subdirectory `infra' does not have a CDL script `infra.cdl'.
ecos.db, package CYGPKG_INFRA: warning
    This package does not have any valid version subdirectories.
ecos.db, package CYGPKG_IO: warning
    Version subdirectory `common' does not have a CDL script `io.cdl'.
ecos.db, package CYGPKG_IO: warning
    This package does not have any valid version subdirectories.
ecos.db, package CYGPKG_IO_SERIAL: warning
    Version subdirectory `serial' does not have a CDL script `io_serial.cdl'.
ecos.db, package CYGPKG_IO_SERIAL: warning
    This package does not have any valid version subdirectories.

.....

      ....  Similar kind of warnings
.....

Hardware selection: warning
    The target specification lists a package `CYGPKG_HAL_ARM' which is
not present in the component repository.
Hardware selection: warning
    The target specification lists a package `CYGPKG_HAL_ARM_PID'
which is not present in the component repository.
Hardware selection: warning
    The target specification lists a package
`CYGPKG_IO_SERIAL_GENERIC_16X5X' which is not present in the component
repository.
Hardware selection: warning
    The target specification lists a package
`CYGPKG_IO_SERIAL_ARM_PID' which is not present in the component
repository.
Hardware selection: warning
    The target specification lists a package
`CYGPKG_DEVS_FLASH_ARM_PID' which is not present in the component
repository.
Hardware selection: warning
    The target specification lists a package
`CYGPKG_DEVS_FLASH_ATMEL_AT29CXXXX' which is not present in the
component repository.
Unknown template default

----------------------------------------------------------------------------------------------

No ecos.ecc was created.  It seems that the configuration tools can
find and read ecos.db, but then could not find other parts of the
eCos installation.

Any help is appreciated.

Tim Yang

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]