This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Re: new sources from cvs reboot problem


--- Iztok Zupet <iz@vsr.si> wrote:
> On Friday 21 June 2002 14:57, max wrote:
> > --- Iztok Zupet <iz@vsr.si> wrote:
> > > On Friday 21 June 2002 06:11, max wrote:
> > > > I got new repository from CVS.
> > > > here is the problem I have when I tried config
> > >
> > > redboot
> > >
> > > > to build:
> > > >
> > > > $ ecosconfig new pc redboot
> >
> >
>
c:/cvsecos/ecos/packages/templates/redboot/current.ect:
> > > > error
> > > >     Attempt to load an unknown package
> > > > `CYGPKG_NS_DNS'.
> > > > Invalid savefile
> >
> >
>
"c:/cvsecos/ecos/packages/templates/redboot/current.ect".
> >
> > > > 1 error occurred while reading in the savefile
> > >
> > > data.
> > >
> > > > Thanks for help.
> > > >
> > > > PS. Can we use GUI config tool to build
> redboot?
> > >
> > > Can
> > >
> > > > Build->libray do it?
> > > >
> > > >
> __________________________________________________
> > > > Do You Yahoo!?
> > > > Yahoo! - Official partner of 2002 FIFA World
> Cup
> > > > http://fifaworldcup.yahoo.com
> > >
> > > Hi:
> > >
> > >   You must update your ecosconfig to the latest
> > > version, eg build the host
> > > side tools first.
> >
> > Where can I find guide for that?
> > Thanks
> >
> > > Regards
> > > iz
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> 
> Hi,
>   There's a README file it the ecos/host directory.
> But if You want to build 
> the graphical configuration tool for linux eg
> "configtool", You'll have to 
> download VxWindows first. So I suggest You make only
> the text mode ecosconfig 
> tool and download the binary for the graphical
> "configtool" from 
> <http://sources.redhat.com/ecos/ct2.html>

A problem when I built.
Here is the sequence:
1.
$ /c/cvsecos/ecos/host/configure
--prefix=/c/RedHat/eCos/host/tools --with-tcl=
/c/cygwin
2.
make.

3
result from make:
...
Making all in tools/configtool/standalone/common
make[1]: Entering directory
`/tmp/build/host/tools/configtool/standalone/common'

make[2]: Entering directory
`/tmp/build/host/tools/configtool/standalone/common'

c++ -DPACKAGE=\"ecosconfig\" -DVERSION=\"0.1\"  -I.
-I/c/cvsecos/ecos/host/tools
/configtool/standalone/common  -I../../../../infra
-I/c/cvsecos/ecos/host/tools/
configtool/standalone/common/../../../../libcdl
-I/usr/include -I/c/cvsecos/ecos
/host/tools/configtool/standalone/common/../../common/common
  -pipe -Wall -Wpoi
nter-arith -Wbad-function-cast -Wcast-qual
-Wstrict-prototypes -Wmissing-prototy
pes -Wnested-externs -Woverloaded-virtual -O0  -c
/c/cvsecos/ecos/host/tools/con
figtool/standalone/common/ecosconfig.cxx
/c/cvsecos/ecos/host/tools/configtool/standalone/common/ecosconfig.cxx:46:
windo
ws.h: No such file or directory
make[2]: *** [ecosconfig.o] Error 1
make[2]: Leaving directory
`/tmp/build/host/tools/configtool/standalone/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/tmp/build/host/tools/configtool/standalone/common'
make: *** [all-recursive] Error 1

The required file windows.h is far in
/c/cvsecos/ecos/packages/services/gfx/mw/current/include/microwin.
Question 1.
How can I get it directory included without touching
the Makefile? 

I tried to put that path into the make file. This file
passed, but I got some other problem:

build.cxx: In function `bool
eval_tcl_command(basic_string<char,string_char_trai
ts<char>,__default_alloc_template<false,0> >)':
build.cxx:88: warning: cast discards qualifiers from
pointer target type
build.cxx: In function `class string
nospace_path(basic_string<char,string_char_
traits<char>,__default_alloc_template<false,0> >)':
build.cxx:132: `MAX_PATH' undeclared (first use this
function)
build.cxx:132: (Each undeclared identifier is reported
only once
build.cxx:132: for each function it appears in.)
build.cxx:133: `buffer' undeclared (first use this
function)
build.cxx:133: implicit declaration of function `int
GetShortPathNameA(...)'
build.cxx: In function `class string
cygpath(basic_string<char,string_char_trait
s<char>,__default_alloc_template<false,0> >)':
build.cxx:220: warning: multi-character character
constant
build.cxx:220: warning: comparison is always false due
to limited range of data
type
make[2]: *** [build.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1




__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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


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