This is the mail archive of the ecos-discuss@sources.redhat.com 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]

AW: AW: Problems with eCos latest package/ConfigTool


Hi

Joerg Rapka wrote:
>
> ...
> There are some more errors with the latest CVS sources:
>
> 1. Error
>
//C/Code/eCos_CVS/ecos/packages/devs/serial/m68k/d103/current/src/d103_ser.c
> In file included from
> //M/Project/eCos/d103_MvbApi/d103_install/include/cyg/fileio/fileio.h:61,
>                  from
> //M/Project/eCos/d103_MvbApi/d103_install/include/cyg/io/serial.h:57,
>                  from
>
//C/Code/eCos_CVS/ecos/packages/devs/serial/m68k/d103/current/src/d103_ser.c
> :49:
> //M/Project/eCos/d103_MvbApi/d103_install/include/sys/types.h:87:
`#include'
> expects "FILENAME" or <FILENAME>
> make[1]: *** [src/d103_ser.o.d] Error 1

Jonathan Larmour wrote:
>A new CDL variable was added. If you run an "ecosconfig check ; ecosconfig
>tree" in your build repository it should pick it up.

line 86-88 of file "/sys/types.h":
#if CYGINT_ISO_PMUTEXTYPES
# include CYGBLD_ISO_PMUTEXTYPES_HEADER
#endif

I found a solution for the problem:
If I set CYGBLD_ISO_PMUTEXTYPES_HEADER == "<cyg/posix/muttypes.h>" then it
works.

The eCos configuration tool 1.3.2.1 says:
-> "requires" constraint not satisfied: CYGBLD_ISO_PMUTEXTYPES_HEADER ==
"<cyg/posix/muttypes.h>"

But why?

Jonathan Larmour wrote:
>I can't help but notice the mention of m68k. Are you working on a port?

Yes, I have made a port to the M68331. It still needs some clean-up of the
code. Some other features, like thread debugging are not implemented.
Until now there is no time for that work. Perhaps I would contribute the
port
back to RedHat later.

> 2. Error
> //C/Code/eCos_CVS/ecos/packages/kernel/current/src/common/kapi.cxx: In
> function `void cyg_spinlock_spin_intsave(cyg_spinlock_t *, cyg_addrword_t
> *)':
> //C/Code/eCos_CVS/ecos/packages/kernel/current/src/common/kapi.cxx:1011:
no
> matching function for call to `Cyg_SpinLock::spin_intsave (cyg_addrword_t
> *&)'
> //M/Project/eCos/d103_MvbApi/d103_install/include/cyg/kernel/smp.hxx:382:
> candidates are: void Cyg_SpinLock::spin_intsave(CYG_INTERRUPT_STATE *)
> make[1]: *** [src/common/kapi.o.d] Error 1

Jonathan Larmour wrote:
>I'll look into this. Comment the function out in kapi.cxx for now.


Best regards,
Joerg


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]