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]

Re: Again strange errors building eCOS for ARM


Jonathan,

ehm... yes, this was exaclty the problem. I'm working with a copy 
of eCOS coming from RedHat CVS repository, and I got it with 
"checkout read only" flag in WinCvs. Sorry for having bored with 
such a foolish problem.

Now the build proceeds, and I encounter another error that I'm 
iinvestigating (seems to me that's some kind of problem due to end-
of-line compatibility issues or similar). I enclose here the results 
(based on 1.3.1, but the same applies to the latest CVS chekout), 
just in case you can tell me something about it looking at this:

make -r -C infra/v1_3_1 build
make[1]: Entering directory 
`/c/Clienti/arm/progetti/cdb89712/ecos/89712_build/infra/v1_3_1'
arm-elf-gcc -c  -
I//C/Clienti/arm/progetti/cdb89712/ecos/89712_install/include -
I//C/Programmi/REDHAT~1/eCos/packages/infra/v1_3_1 -
I//C/Programmi/REDHAT~1/eCos/packages/infra/v1_3_1/src -
I//C/Programmi/REDHAT~1/eCos/packages/infra/v1_3_1/tests -I. -
I//C/Programmi/REDHAT~1/eCos/packages/infra/v1_3_1/src/ -
mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winline -
Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-
sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -Wp,-
MD,src/startup.tmp -o src/infra_startup.o 
//C/Programmi/REDHAT~1/eCos/packages/infra/v1_3_1/src/startup.
cxx
In file included from 
//C/Programmi/REDHAT~1/eCos/packages/infra/v1_3_1/src/startup.
cxx:62:
//C/Clienti/arm/progetti/cdb89712/ecos/89712_install/include/cyg/ke
rnel/sched.inl: In method `void Cyg_SchedThread::remove()':
//C/Clienti/arm/progetti/cdb89712/ecos/89712_install/include/cyg/ke
rnel/sched.inl:125: ANSI C++ forbids implicit conversion from `void 
*' in assignment
make[1]: *** [src/startup.o.d] Error 1
make[1]: Leaving directory 
`/c/Clienti/arm/progetti/cdb89712/ecos/89712_build/infra/v1_3_1'
make: *** [build] Error 2



On 7 Jun 2001, at 19:36, Jonathan Larmour wrote:

> Stefano Costa wrote:
> > 
> > thanks for your help. I tried from the command line (log into the
> > "89712_build" directory and issue "make" from within Cygwin
> > console). The result is the same, but investigating further there
> > are more elements. If I check inside 89712_install/include/pkgconf,
> > I discover that the failing file already exist. The clean command
> > never cleans these files. So I try to delete the file before
> > building, and another file in the same directory fails; I delete all
> > the files in the same dir, and now it works! (I have other errors
> > like "CYGINT_HAL_PLF_IF_INIT not defined" but this is more normal).
> > So I need to delete the content of the above mentioned dir each time
> > I want to build.
> 
> That certainly isn't normal. Are the files in the repository readonly?
> The "make clean" works by running the command:
> 
> find . -type f -print | grep -v makefile | xargs rm -f
> 
> Does that work for you from the command line?
> 
> Jifl
> -- 
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223)
> 271062 Maybe this world is another planet's Hell -Aldous Huxley ||
> Opinions==mine Come to the Red Hat TechWorld open source conference in
> Brussels! Keynotes, techie talks and exhibitions   
> http://www.redhat-techworld.com/
> 


bye- Stefano
-----------------------------------------
BlueWind                Electronic Design
I-31033 Castelfranco Veneto (TREVISO)
Via Steffani 7/B
-----------------------------------------
VOICE   +39 0 423 723431
FAX     +39 0 423 744738
MOBILE  +39 335 6565749
http://www.bluewind.it
-----------------------------------------


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