public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] PowerPC platform compilation errors
@ 2007-03-28  5:24 Tales Toledo
  2007-03-28 14:35 ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: Tales Toledo @ 2007-03-28  5:24 UTC (permalink / raw)
  To: ecos-discuss

Hi,

does anybody has the same error or I'm doing something wrong in configtool
I have tried to compile with Adder, MBX, FADS plataforms with no success...

--------------------------
/home/toledo/backup/cvs20070315/ecos/packages/io/serial/current/src/common/serial.c:
In function `serial_get_config':
/home/toledo/backup/cvs20070315/ecos/packages/io/serial/current/src/common/serial.c:647:
`CYG_IO_SET_CONFIG_SERIAL_INPUT_FLUSH' undeclared (first use in this
function)
/home/toledo/backup/cvs20070315/ecos/packages/io/serial/current/src/common/serial.c:647:
(Each undeclared identifier is reported only once
/home/toledo/backup/cvs20070315/ecos/packages/io/serial/current/src/common/serial.c:647:
for each function it appears in.)
/home/toledo/backup/cvs20070315/ecos/packages/io/serial/current/src/common/serial.c:683:
`CYG_IO_SET_CONFIG_SERIAL_OUTPUT_FLUSH' undeclared (first use in this
function)
make[1]: *** [src/common/serial.o.d] Error 1
make[1]: Leaving directory `/home/toledo/test/powerpc_build/io/serial/current'
make: *** [build] Error 2
-------------------------

Thx,
TT

-- 
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] PowerPC platform compilation errors
  2007-03-28  5:24 [ECOS] PowerPC platform compilation errors Tales Toledo
@ 2007-03-28 14:35 ` Andrew Lunn
  2007-03-28 14:39   ` Tales Toledo
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Lunn @ 2007-03-28 14:35 UTC (permalink / raw)
  To: Tales Toledo; +Cc: ecos-discuss

On Tue, Mar 27, 2007 at 05:00:33PM -0300, Tales Toledo wrote:
> Hi,
> 
> does anybody has the same error or I'm doing something wrong in configtool
> I have tried to compile with Adder, MBX, FADS plataforms with no success...

What is the exact configuration you are using. It compiles for me:

lunn@londo:~/eCos/work$ rm -fr *
lunn@londo:~/eCos/work$ ecosconfig new mbx
lunn@londo:~/eCos/work$ ecosconfig tree
lunn@londo:~/eCos/work$ make -s 
headers finished
build finished

I then enabled CYGPKG_IO_SERIAL_DEVICES 

lunn@londo:~/eCos/work$ ecosconfig tree
lunn@londo:~/eCos/work$ make -s
headers finished
/home/lunn/eCos/anoncvs-clean/packages/devs/serial/powerpc/quicc/current/src/quicc_smc_serial.c: In function `quicc_smc_serial_config_port':
/home/lunn/eCos/anoncvs-clean/packages/devs/serial/powerpc/quicc/current/src/quicc_smc_serial.c:348: warning: suggest parentheses around + or - inside shift
/home/lunn/eCos/work/install/include/cyg/hal/var_intr.h: At top level:
/home/lunn/eCos/anoncvs-clean/packages/devs/serial/powerpc/quicc/current/src/quicc_smc_serial.c:516: warning: `quicc_scc_serial_init_info' defined but not used
build finished

These are just warnings.

We need exact instructions for reproducing the problem.

      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] PowerPC platform compilation errors
  2007-03-28 14:35 ` Andrew Lunn
@ 2007-03-28 14:39   ` Tales Toledo
  2007-03-28 15:50     ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: Tales Toledo @ 2007-03-28 14:39 UTC (permalink / raw)
  To: ecos-discuss

Hi Andrew,

I follow your steps and still have the same problem.

On 3/28/07, Andrew Lunn <andrew@lunn.ch> wrote:
> On Tue, Mar 27, 2007 at 05:00:33PM -0300, Tales Toledo wrote:
> > Hi,
> >
> > does anybody has the same error or I'm doing something wrong in configtool
> > I have tried to compile with Adder, MBX, FADS plataforms with no success...
>
> What is the exact configuration you are using. It compiles for me:
>
> lunn@londo:~/eCos/work$ rm -fr *
> lunn@londo:~/eCos/work$ ecosconfig new mbx
> lunn@londo:~/eCos/work$ ecosconfig tree
> lunn@londo:~/eCos/work$ make -s
> headers finished
> build finished
>

toledo@work:~/test$ make -s
headers finished
tail: Warning: "+number" syntax is deprecated, please use "-n +number"
/home/toledo/ecos-2.0/packages/kernel/v2_0/src/common/except.cxx: In function
   `void cyg_null_exception_handler(unsigned int, int, unsigned int)':
/home/toledo/ecos-2.0/packages/kernel/v2_0/src/common/except.cxx:97: `struct
   HAL_SavedRegisters' has no member named `cause'
/home/toledo/ecos-2.0/packages/kernel/v2_0/src/common/except.cxx:97: `struct
   HAL_SavedRegisters' has no member named `badvr'
make[1]: *** [src/common/except.o.d] Error 1
make: *** [build] Error 2

>
> We need exact instructions for reproducing the problem.
>

toledo@work:~/test$ ecosconfig --version
ecosconfig 2.0 (May  9 2003 09:45:47)
Copyright (c) 2002 Red Hat, Inc.

toledo@work:~/test$ make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

What kind of information do you need?

Thx,
TT

-- 
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] PowerPC platform compilation errors
  2007-03-28 14:39   ` Tales Toledo
@ 2007-03-28 15:50     ` Andrew Lunn
  2007-03-28 19:13       ` Tales Toledo
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Lunn @ 2007-03-28 15:50 UTC (permalink / raw)
  To: Tales Toledo; +Cc: ecos-discuss

On Wed, Mar 28, 2007 at 11:34:58AM -0300, Tales Toledo wrote:
> Hi Andrew,
> 
> I follow your steps and still have the same problem.
> 
> On 3/28/07, Andrew Lunn <andrew@lunn.ch> wrote:
> >On Tue, Mar 27, 2007 at 05:00:33PM -0300, Tales Toledo wrote:
> >> Hi,
> >>
> >> does anybody has the same error or I'm doing something wrong in 
> >configtool
> >> I have tried to compile with Adder, MBX, FADS plataforms with no 
> >success...
> >
> >What is the exact configuration you are using. It compiles for me:
> >
> >lunn@londo:~/eCos/work$ rm -fr *
> >lunn@londo:~/eCos/work$ ecosconfig new mbx
> >lunn@londo:~/eCos/work$ ecosconfig tree
> >lunn@londo:~/eCos/work$ make -s
> >headers finished
> >build finished
> >
> 
> toledo@work:~/test$ make -s
> headers finished
> tail: Warning: "+number" syntax is deprecated, please use "-n +number"
> /home/toledo/ecos-2.0/packages/kernel/v2_0/src/common/except.cxx: In 
                    ^^^

Upgrade to a recent version. I thought you said you had a snapshot
from March?

> What kind of information do you need?

Assume i have an empty directory as a starting point. What are all the
steps i need to do to get the error message.

   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] PowerPC platform compilation errors
  2007-03-28 15:50     ` Andrew Lunn
@ 2007-03-28 19:13       ` Tales Toledo
  0 siblings, 0 replies; 5+ messages in thread
From: Tales Toledo @ 2007-03-28 19:13 UTC (permalink / raw)
  To: ecos-discuss

On 3/28/07, Andrew Lunn <andrew@lunn.ch> wrote:
>
> Upgrade to a recent version. I thought you said you had a snapshot
> from March?
>

I really said that. I was using cvs version but this morning I move to
ecos-2.0 to more tests. The last error was caused by that. Sorry. I
follow your steps again with cvs version and got the same answer you
had. I will investigate the previous errors but for now works ok.

Thx
TT

-- 
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:[~2007-03-28 15:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-28  5:24 [ECOS] PowerPC platform compilation errors Tales Toledo
2007-03-28 14:35 ` Andrew Lunn
2007-03-28 14:39   ` Tales Toledo
2007-03-28 15:50     ` Andrew Lunn
2007-03-28 19:13       ` Tales Toledo

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