public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Strange errors when building Redboot for the SH/Dreamcast platform
@ 2006-06-17  3:50 Gregg Levine
  2006-06-17  8:00 ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: Gregg Levine @ 2006-06-17  3:50 UTC (permalink / raw)
  To: ecos-discuss

Hello!
I am back with the issues of building eCos and Redboot and all of that
for the Dreamcast platform. It seems even though I checked out the
entire repository just about two or more hours ago, and updated the
configuration tools accordingly a problem surfaced.

I do not know what the output is talking about. Ordinarily I would
post the error here or at least the entire output, but I'm not sure
what the message limits are. So I constructed a webpage of the output
of the tool's attempts to manage the build. I should mention that this
is on Cygwin containing the things built around the 1.5 series of
libraries. And here is the location
http://landocalrissian.home.att.net

I apologize for the output format, its the problem of the HTML editor I used.

There are more questions in the queue for my project. I will of course
leave them for later.

-- 
Gregg C Levine gregg.drwho8@gmail.com
"This signature was once found posting rude
messages in English in the Moscow subway."

"This signature has also retained the support of the Daleks to secure
the address."

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Strange errors when building Redboot for the SH/Dreamcast platform
  2006-06-17  3:50 [ECOS] Strange errors when building Redboot for the SH/Dreamcast platform Gregg Levine
@ 2006-06-17  8:00 ` Andrew Lunn
  2006-06-17  8:03   ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Lunn @ 2006-06-17  8:00 UTC (permalink / raw)
  To: Gregg Levine; +Cc: ecos-discuss

On Fri, Jun 16, 2006 at 11:50:07PM -0400, Gregg Levine wrote:
> Hello!
> I am back with the issues of building eCos and Redboot and all of that
> for the Dreamcast platform. It seems even though I checked out the
> entire repository just about two or more hours ago, and updated the
> configuration tools accordingly a problem surfaced.

sh-elf-gcc -finline-limit=7000 -ml -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions    -I/ecos-c/cygwin/usr/local/dc/ecos/test1_install/include -I/usr/local/anoncvs/ecos/packages/hal/sh/arch/current -I/usr/local/anoncvs/ecos/packages/hal/sh/arch/current/src -I/usr/local/anoncvs/ecos/packages/hal/sh/arch/current/tests -I. -Wp,-MD,sh_offsets.tmp -o hal_mk_defs.tmp -S /usr/local/anoncvs/ecos/packages/hal/sh/arch/current/src/hal_mk_defs.c

In file included from /usr/local/anoncvs/ecos/packages/hal/sh/arch/current/src/hal_mk_defs.c:57:

/ecos-c/cygwin/usr/local/dc/ecos/test1_install/include/cyg/hal/hal_arch.h:60:10: #include expects "FILENAME" or <FILENAME>

First logical question i ask myself. What is line 60 of
/hal/hal_arch.h? 

I guess it is probably something like

#include CYGBLD_SOME_HEADER_FILE

So the next logical questions are, why does CYGBLD_SOME_HEADER_FILE not
have a value? Where is it supposed to be defined etc....

Happy debugging.

      Andrew

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Strange errors when building Redboot for the SH/Dreamcast platform
  2006-06-17  8:00 ` Andrew Lunn
@ 2006-06-17  8:03   ` Andrew Lunn
  2006-06-17 16:09     ` Gregg Levine
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Lunn @ 2006-06-17  8:03 UTC (permalink / raw)
  To: Gregg Levine, ecos-discuss

On Sat, Jun 17, 2006 at 10:00:03AM +0200, Andrew Lunn wrote:
> On Fri, Jun 16, 2006 at 11:50:07PM -0400, Gregg Levine wrote:
> > Hello!
> > I am back with the issues of building eCos and Redboot and all of that
> > for the Dreamcast platform. It seems even though I checked out the
> > entire repository just about two or more hours ago, and updated the
> > configuration tools accordingly a problem surfaced.
> 
> sh-elf-gcc -finline-limit=7000 -ml -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions    -I/ecos-c/cygwin/usr/local/dc/ecos/test1_install/include -I/usr/local/anoncvs/ecos/packages/hal/sh/arch/current -I/usr/local/anoncvs/ecos/packages/hal/sh/arch/current/src -I/usr/local/anoncvs/ecos/packages/hal/sh/arch/current/tests -I. -Wp,-MD,sh_offsets.tmp -o hal_mk_defs.tmp -S /usr/local/anoncvs/ecos/packages/hal/sh/arch/current/src/hal_mk_defs.c
> 
> In file included from /usr/local/anoncvs/ecos/packages/hal/sh/arch/current/src/hal_mk_defs.c:57:
> 
> /ecos-c/cygwin/usr/local/dc/ecos/test1_install/include/cyg/hal/hal_arch.h:60:10: #include expects "FILENAME" or <FILENAME>
> 
> First logical question i ask myself. What is line 60 of
> /hal/hal_arch.h? 
> 
> I guess it is probably something like
> 
> #include CYGBLD_SOME_HEADER_FILE
> 
> So the next logical questions are, why does CYGBLD_SOME_HEADER_FILE not
> have a value? Where is it supposed to be defined etc....

FYI:

:~/eCos/work2$ rm -fr *
:~/eCos/work2$ ecosconfig new dreamcast redboot
U CYGPKG_HAL_SH_7750, new inferred value 1
U CYGHWR_HAL_SH_CACHE_ENABLE, new inferred value 0
U CYGDAT_REDBOOT_SH_LINUX_BOOT_ENTRY, new inferred value 0x8C210000
U CYGDAT_REDBOOT_SH_LINUX_BOOT_BASE_ADDR, new inferred value 0x8C001000
U CYGDAT_REDBOOT_SH_LINUX_BOOT_COMMAND_LINE, new inferred value mem=16M
U CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK, new inferred value 0
:~/eCos/work2$ ecosconfig tree
:~/eCos/work2$ make -s
headers finished
/home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c: In function `lcd_clear':
/home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c:273: warning: implicit declaration of function `show_xpm'
/home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c: In function `_hexdigit':
/home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c:435: warning: control reaches end of non-void function
build finished

So it builds O.K. for me in the default configuration.

   Andrew

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Strange errors when building Redboot for the SH/Dreamcast platform
  2006-06-17  8:03   ` Andrew Lunn
@ 2006-06-17 16:09     ` Gregg Levine
  2006-06-18  3:24       ` Gregg Levine
  0 siblings, 1 reply; 5+ messages in thread
From: Gregg Levine @ 2006-06-17 16:09 UTC (permalink / raw)
  To: ecos-discuss

Hello!
Andrew, I don't understand your first post and do understand your
second. That was the default Redboot configuration. About all I did
was make sure and choose to answer the questions asked about what
CYGMON settings should be chosen.

 And as for what platform its being built for, I made sure of that too.
-- 
Gregg C Levine gregg.drwho8@gmail.com
"This signature was once found posting rude
 messages in English in the Moscow subway."


On 6/17/06, Andrew Lunn <andrew@lunn.ch> wrote:
> On Sat, Jun 17, 2006 at 10:00:03AM +0200, Andrew Lunn wrote:
> > On Fri, Jun 16, 2006 at 11:50:07PM -0400, Gregg Levine wrote:
> > > Hello!
> > > I am back with the issues of building eCos and Redboot and all of that
> > > for the Dreamcast platform. It seems even though I checked out the
> > > entire repository just about two or more hours ago, and updated the
> > > configuration tools accordingly a problem surfaced.
> >
> > sh-elf-gcc -finline-limit=7000 -ml -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions    -I/ecos-c/cygwin/usr/local/dc/ecos/test1_install/include -I/usr/local/anoncvs/ecos/packages/hal/sh/arch/current -I/usr/local/anoncvs/ecos/packages/hal/sh/arch/current/src -I/usr/local/anoncvs/ecos/packages/hal/sh/arch/current/tests -I. -Wp,-MD,sh_offsets.tmp -o hal_mk_defs.tmp -S /usr/local/anoncvs/ecos/packages/hal/sh/arch/current/src/hal_mk_defs.c
> >
> > In file included from /usr/local/anoncvs/ecos/packages/hal/sh/arch/current/src/hal_mk_defs.c:57:
> >
> > /ecos-c/cygwin/usr/local/dc/ecos/test1_install/include/cyg/hal/hal_arch.h:60:10: #include expects "FILENAME" or <FILENAME>
> >
> > First logical question i ask myself. What is line 60 of
> > /hal/hal_arch.h?
> >
> > I guess it is probably something like
> >
> > #include CYGBLD_SOME_HEADER_FILE
> >
> > So the next logical questions are, why does CYGBLD_SOME_HEADER_FILE not
> > have a value? Where is it supposed to be defined etc....
>
> FYI:
>
> :~/eCos/work2$ rm -fr *
> :~/eCos/work2$ ecosconfig new dreamcast redboot
> U CYGPKG_HAL_SH_7750, new inferred value 1
> U CYGHWR_HAL_SH_CACHE_ENABLE, new inferred value 0
> U CYGDAT_REDBOOT_SH_LINUX_BOOT_ENTRY, new inferred value 0x8C210000
> U CYGDAT_REDBOOT_SH_LINUX_BOOT_BASE_ADDR, new inferred value 0x8C001000
> U CYGDAT_REDBOOT_SH_LINUX_BOOT_COMMAND_LINE, new inferred value mem=16M
> U CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK, new inferred value 0
> :~/eCos/work2$ ecosconfig tree
> :~/eCos/work2$ make -s
> headers finished
> /home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c: In function `lcd_clear':
> /home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c:273: warning: implicit declaration of function `show_xpm'
> /home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c: In function `_hexdigit':
> /home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c:435: warning: control reaches end of non-void function
> build finished
>
> So it builds O.K. for me in the default configuration.
>
>   Andrew
>

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Strange errors when building Redboot for the SH/Dreamcast platform
  2006-06-17 16:09     ` Gregg Levine
@ 2006-06-18  3:24       ` Gregg Levine
  0 siblings, 0 replies; 5+ messages in thread
From: Gregg Levine @ 2006-06-18  3:24 UTC (permalink / raw)
  To: ecos-discuss

Hello!
An update.
About an hour, to three hours ago, I moved my build setup from my
Cygwin system to my Linux system. It seems it worked there, but not on
my Cygwin system. I don't know why.

Oh and Andrew, by default you do mean everything? I typically select
Redboot first, and see if the resulting image will boot on the target.
And then when ready start building the kernel and other libraries.
Perhaps this time the target will include an entire program to do
something unique. Just for the record, the graphic configure tool
looks for the version 2 PNG library, and my Slackware 10.1 system came
with the 3.1.2.0 version. I made a link to that library with the named
one as the link and it worked. Next step will be to test that Redboot
image. And finally to work out how to perform the tests. I think I've
got an idea how to do that.
-- 
Gregg C Levine gregg.drwho8@gmail.com
"This signature was once found posting rude
 messages in English in the Moscow subway."


On 6/17/06, Gregg Levine <gregg.drwho8@gmail.com> wrote:
> Hello!
> Andrew, I don't understand your first post and do understand your
> second. That was the default Redboot configuration. About all I did
> was make sure and choose to answer the questions asked about what
> CYGMON settings should be chosen.
>
>  And as for what platform its being built for, I made sure of that too.
> --
> Gregg C Levine gregg.drwho8@gmail.com
> "This signature was once found posting rude
>  messages in English in the Moscow subway."
>
>
> On 6/17/06, Andrew Lunn <andrew@lunn.ch> wrote:
> > On Sat, Jun 17, 2006 at 10:00:03AM +0200, Andrew Lunn wrote:
> > > On Fri, Jun 16, 2006 at 11:50:07PM -0400, Gregg Levine wrote:
> > > > Hello!
> > > > I am back with the issues of building eCos and Redboot and all of that
> > > > for the Dreamcast platform. It seems even though I checked out the
> > > > entire repository just about two or more hours ago, and updated the
> > > > configuration tools accordingly a problem surfaced.
> > >
> > > sh-elf-gcc -finline-limit=7000 -ml -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions    -I/ecos-c/cygwin/usr/local/dc/ecos/test1_install/include -I/usr/local/anoncvs/ecos/packages/hal/sh/arch/current -I/usr/local/anoncvs/ecos/packages/hal/sh/arch/current/src -I/usr/local/anoncvs/ecos/packages/hal/sh/arch/current/tests -I. -Wp,-MD,sh_offsets.tmp -o hal_mk_defs.tmp -S /usr/local/anoncvs/ecos/packages/hal/sh/arch/current/src/hal_mk_defs.c
> > >
> > > In file included from /usr/local/anoncvs/ecos/packages/hal/sh/arch/current/src/hal_mk_defs.c:57:
> > >
> > > /ecos-c/cygwin/usr/local/dc/ecos/test1_install/include/cyg/hal/hal_arch.h:60:10: #include expects "FILENAME" or <FILENAME>
> > >
> > > First logical question i ask myself. What is line 60 of
> > > /hal/hal_arch.h?
> > >
> > > I guess it is probably something like
> > >
> > > #include CYGBLD_SOME_HEADER_FILE
> > >
> > > So the next logical questions are, why does CYGBLD_SOME_HEADER_FILE not
> > > have a value? Where is it supposed to be defined etc....
> >
> > FYI:
> >
> > :~/eCos/work2$ rm -fr *
> > :~/eCos/work2$ ecosconfig new dreamcast redboot
> > U CYGPKG_HAL_SH_7750, new inferred value 1
> > U CYGHWR_HAL_SH_CACHE_ENABLE, new inferred value 0
> > U CYGDAT_REDBOOT_SH_LINUX_BOOT_ENTRY, new inferred value 0x8C210000
> > U CYGDAT_REDBOOT_SH_LINUX_BOOT_BASE_ADDR, new inferred value 0x8C001000
> > U CYGDAT_REDBOOT_SH_LINUX_BOOT_COMMAND_LINE, new inferred value mem=16M
> > U CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK, new inferred value 0
> > :~/eCos/work2$ ecosconfig tree
> > :~/eCos/work2$ make -s
> > headers finished
> > /home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c: In function `lcd_clear':
> > /home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c:273: warning: implicit declaration of function `show_xpm'
> > /home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c: In function `_hexdigit':
> > /home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c:435: warning: control reaches end of non-void function
> > build finished
> >
> > So it builds O.K. for me in the default configuration.
> >
> >   Andrew
> >
>

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-18  3:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-17  3:50 [ECOS] Strange errors when building Redboot for the SH/Dreamcast platform Gregg Levine
2006-06-17  8:00 ` Andrew Lunn
2006-06-17  8:03   ` Andrew Lunn
2006-06-17 16:09     ` Gregg Levine
2006-06-18  3:24       ` Gregg Levine

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).