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]

Re: Problems building ecos sources


		On Fri, 2006-02-24 at 08:35 +0000, David Fernandez wrote:
> > 
> > Hi David
> > 
> > A shot in the dark. Try this:
> > 
> > Index: eCosSocket.h
> > ===================================================================
> > RCS file: /cvs/ecos/ecos/host/tools/Utils/common/eCosSocket.h,v
> > retrieving revision 1.2
> > diff -u -r1.2 eCosSocket.h
> > --- eCosSocket.h        19 Sep 2000 05:53:51 -0000      1.2
> > +++ eCosSocket.h        23 Feb 2006 18:09:34 -0000
> > @@ -75,6 +75,7 @@
> > 
> >  class CeCosSocket {
> >  public:
> > +        friend class CeCosSerial;
> >         static const String GetHostByName(LPCTSTR pszHost);
> > 
> >    // These functions must be called before any other operation is carried out:
> > 
> >         Andrew
> 
> Hi Andrew,
> 
> It worked !, the utility is running now.
> 
> Thank you very much for your help. I'll keep exploring this eCos
> thing...
> 
> 
> David.
> 

	Hi Andrew,

	Acouple of things more:

	1- When trying to use the internal help viewer, I get a segmentation
fault in configtool. (Probably something for John to look at)

	2- When trying to build REDBOOT as per the instructions in the ecos
documentation, and using ecosconfig:

[dfernandez@software RB]$ ecosconfig new pc_i82559 redboot U
CYGSEM_HAL_USE_ROM_MONITOR, new inferred value 0
U CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK, new inferred value 0
[dfernandez@software RB]$ ecosconfig
import /opt/ecos/packages/hal/i386/pc/cu..rrent/misc/redboot_FLOPPY_SMP.ecm
...change prefix to i586-elf...
[dfernandez@software RB]$ ecosconfig check
Target: pc_i82559
Template: redboot
Added:
 CYGPKG_IO_ETH_DRIVERS
No conflicts
[dfernandez@software RB]$ ecosconfig tree
[dfernandez@software RB]$ make
...
make[1]: Leaving directory
`/home/dfernandez/Projects/eCos/RB/infra/current'
make -r -C redboot/current build
make[1]: Entering directory
`/home/dfernandez/Projects/eCos/RB/redboot/current'
i586-elf-gcc -c  -I/home/dfernandez/Projects/eCos/RB/install/include
-I/opt/ecos/packages/redboot/current
-I/opt/ecos/packages/redboot/current/src
-I/opt/ecos/packages/redboot/current/tests -I.
-I/opt/ecos/packages/redboot/current/src/ -finline-limit=7000 -Wall
-Wpointer-arith -Wstrict-prototypes -Winline -Wundef  -g -O2
-ffunction-sections -fdata-sections  -fno-exceptions
-Wp,-MD,src/main.tmp -o
src/redboot_main.o /opt/ecos/packages/redboot/current/src/main.c
/opt/ecos/packages/redboot/current/src/main.c: In function âcyg_startâ:
/opt/ecos/packages/redboot/current/src/main.c:397: error: invalid lvalue
in assignment
/opt/ecos/packages/redboot/current/src/main.c: In function âdo_goâ:
/opt/ecos/packages/redboot/current/src/main.c:597: error: invalid lvalue
in assignment
make[1]: *** [src/main.o.d] Error 1
make[1]: Leaving directory
`/home/dfernandez/Projects/eCos/RB/redboot/current'
make: *** [build] Error 2

	May be that there's something wrong with this ecos version?
	Any ideas about that?

David.


--
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]