[ECOS] help for building microwindows

alfred mliu@centralitycomm.com.cn
Mon Nov 24 15:49:00 GMT 2003


Dear gary ,

    Thank you very much .But a new error happens as below.
arm-elf-gcc -c  -I/ecos-c/cygwin/home/IBM/GWW/GWW_install/include -I/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0 -I/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src -I/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/tests -I. -I/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/ -mcpu=arm9 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -I/ecos-c/cygwin/home/IBM/GWW/GWW_install/include/microwin -D__ECOS=1 -DMSDOS=0 -DELKS=0 -D__rtems__=0 -D_MINIX=0 -DNOTYET=0 -DUNIX=1 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DxHAVE_JPEG_SUPPORT=1 -DHAVESELECT=1 -Wp,-MD,src/nanox/srvnet.tmp -o src/nanox/services_gfx_mw_srvnet.o /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:24:5: warning: "HAVE_SHAREDMEM_SUPPORT" is not defined
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:32:20: sys/un.h: No such file or directory
In file included from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/serv.h:131,
                 from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:34:
/ecos-c/cygwin/home/IBM/GWW/GWW_install/include/microwin/nano-X.h:753:1: warning: "GrSetBorderColor" redefined
In file included from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:34:
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/serv.h:93:1: warning: this is the location of the previous definition
In file included from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/serv.h:131,
                 from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:34:
/ecos-c/cygwin/home/IBM/GWW/GWW_install/include/microwin/nano-X.h:754:1: warning: "GrClearWindow" redefined
In file included from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:34:
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/serv.h:27:1: warning: this is the location of the previous definition
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/serv.h:493:5: warning: "VTSWITCH" is not defined
In file included from /ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:35:
make[1]: Leaving directory `/ecos-c/cygwin/home/IBM/GWW/GWW_build/services/gfx/mw/v2_0'
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/nxproto.h:84:5: warning: "notyet" is not defined
make: Leaving directory `/ecos-c/cygwin/home/IBM/GWW/GWW_build'
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c: In function `GrImageBufferSendWrapper':
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1192: warning: pointer of type `void *' used in arithmetic
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1266:5: warning: "HAVE_SHAREDMEM_SUPPORT" is not defined
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1456:5: warning: "HAVE_SHAREDMEM_SUPPORT" is not defined
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c: In function `GsOpenSocket':
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1511: storage size of `sckt' isn't known
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1539: dereferencing pointer to incomplete type
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1511: warning: unused variable `sckt'
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c: In function `GsAcceptClient':
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1567: storage size of `sckt' isn't known
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1571: warning: passing arg 3 of `accept' from incompatible pointer type
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1567: warning: unused variable `sckt'
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1777:5: warning: "HAVE_SHAREDMEM_SUPPORT" is not defined
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c: In function `GsRead':
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1808: warning: pointer of type `void *' used in arithmetic
/ecos-c/cygwin/usr/ecos20/packages/services/gfx/mw/v2_0/src/nanox/srvnet.c:1862:5: warning: "HAVE_SHAREDMEM_SUPPORT" is not defined
make[1]: *** [src/nanox/srvnet.o.d] Error 1
make: *** [build] Error 2



 Original Message ----- 
From: "Gary Thomas" <gary@mlbassoc.com>
To: "alfred" <mliu@centralitycomm.com.cn>
Cc: "ECOS" <ecos-discuss@sources.redhat.com>
Sent: Monday, November 24, 2003 11:32 PM
Subject: Re: [ECOS] help for building microwindows


> On Mon, 2003-11-24 at 08:28, alfred wrote:
> > Dear Gary ,
> > 
> > the configuration as belows
> > 
> > target alm2_arm9 {
> >  alias { " ARM9/alm2 board" palm2_arm9 }
> >  packages {     CYGPKG_HAL_ARM
> >                    CYGPKG_HAL_ARM_ARM9
> >                    CYGPKG_HAL_ARM_ARM9_ALM2
> >                    CYGPKG_IO_SERIAL_ARM_ALM2
> >                    CYGPKG_DEVS_ETH_ALM2_NE2000
> >                    CYGPKG_IO_DSP_ARM_ALM2
> >                    CYGPKG_DEVS_CAMERA_ARM_OV7645
> >         }
> >         description "
> >         The Excalibur target provides the packages needed to run
> >         eCos on an Altera Excalibur board."
> > }
> > 
> > And I also added 
> >     Common error code
> >     dynamic memory allocation
> >     ISO C and POSIX infrastructure
> >     Microwindows
> >     POSIX compatibility layer
> >     POSIX File IO compatibility layer
> >     ISO C library
> >     
> > Thanks,
> > alfred
> 
> You need to have networking.  Try this:
>   % ecosconfig new alm2 net
>   % ecosconfig add mw
>   % ecosconfig tree
>   % make
> 
> If you can get this to build, then you'll need to add some code to get 
> a test environment running, etc.  If you update to the latest CVS, this
> last step is much simpler.
> 
> > 
> > >   % ecosconfig new ipaq net
> > >   % ecosconfig add mw
> > >   % ecosconfig tree
> > >   % make
> > > (or the similar operations using the GUI)
> > > 
> > > How have you configured eCos for your platform?
> > > Did you do anything besides just adding the MicroWindows (mw) package?
> > > 
> > > -- 
> > > Gary Thomas <gary@mlbassoc.com>
> > > MLB Associates
> > > 
> -- 
> Gary Thomas <gary@mlbassoc.com>
> MLB Associates
> 
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> 


More information about the Ecos-discuss mailing list