From: "alfred" <mliu@centralitycomm.com.cn>
To: "alfred" <mliu@centralitycomm.com.cn>, "Gary Thomas" <gary@mlbassoc.com>
Cc: "ECOS" <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] help for building microwindows
Date: Mon, 24 Nov 2003 15:53:00 -0000 [thread overview]
Message-ID: <00ca01c3b2a3$12eea930$4702980a@lIUMAO> (raw)
In-Reply-To: <00c401c3b2a2$82eaae10$4702980a@lIUMAO>
Dear Gary ,
Maybe I can still not porting Microwindows to my platform.
So can you told me how can I find some resources about how to porting macrowindows to ECOS.
Thanks.
Alfred
----- Original Message -----
From: "alfred" <mliu@centralitycomm.com.cn>
To: "Gary Thomas" <gary@mlbassoc.com>
Cc: "ECOS" <ecos-discuss@sources.redhat.com>
Sent: Monday, November 24, 2003 11:49 PM
Subject: Re: [ECOS] help for building microwindows
> 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
> >
>
next prev parent reply other threads:[~2003-11-24 15:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-24 4:48 [ECOS] Unexpected exception handler call (0x53) Dirk Broer
2003-11-24 14:16 ` Nick Garnett
2003-11-24 14:57 ` [ECOS] help for building microwindows centraility_liu
2003-11-24 15:01 ` Gary Thomas
2003-11-24 15:05 ` alfred
2003-11-24 15:08 ` Gary Thomas
2003-11-24 15:13 ` alfred
2003-11-24 15:19 ` alfred
2003-11-24 15:23 ` Gary Thomas
2003-11-24 15:21 ` Gary Thomas
2003-11-24 15:28 ` alfred
2003-11-24 15:32 ` Gary Thomas
2003-11-24 15:49 ` alfred
2003-11-24 15:53 ` alfred [this message]
2003-11-24 16:09 ` Gary Thomas
2003-11-24 16:22 ` alfred
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='00ca01c3b2a3$12eea930$4702980a@lIUMAO' \
--to=mliu@centralitycomm.com.cn \
--cc=ecos-discuss@sources.redhat.com \
--cc=gary@mlbassoc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).