That error could happen because of two things:
- Corrupted object file (most unlikely if you have re-compiled the
project again by "touching" all files)
- The linker has detected an incompatible object type when placing the
object "Can2RxInterrupt" in to "OSEKOSVectorTable" at offset 0x28. It
could be that a C file is declaring "Can2RxInterrupt" as an alias to a
certain type (void *, int, short) while its header file is ex****ting it
as a different type (char *, long etc) and you got away with it at
compilation time. The error is telling you that the object of that type
does not fit as an entry to the "OSEKOSVectorTable" (if it is a table)
and that it requires more memory.
To fix this error trace your declarations of both "Can2RxInterrupt" and
"OSEKOSVectorTable" and check if both are compatible. If you are using
a processor with memory paging make sure you are telling the compiler
(or linker) where to allocate each object. If "OSEKOSVectorTable" exist
in the zero page and "Can2RxInterrupt" is declared outside of it the
linker will throw this error.
Also make sure your optimization settings are the same for both
compilers in both versions of codewarrior you are using.
I guess the best way to find help is to send extra information with the
description of your problem such as what processor are you using,
compiler flags etc.
Rene Trenado
Ron L wrote:
> In article <1126821091.888891.123720@[EMAIL PROTECTED]
>,
> T.Kirchmeier@[EMAIL PROTECTED]
wrote:
>
> >Hi colleagues,
> >
> >I had a big problem with the Linker (CodeWarrior V3.1; SmartLinker V.
> >5.0.22).
> >I developed my programm with a older version of the CodeWarrior. The
> >SmartLinker had the version number 5.0.17 and everything works fine.
> >Now I use the newer version of CodeWarrior and it shows me the
> >following errors:
> >
> >Error L1907: Fixup overflow in OSEKOSVectorTable, to Can2TxInterrupt
> >type 1, at offset 0x28
> >Error L1907: Fixup overflow in OSEKOSVectorTable, to Can2RxInterrupt
> >type 1, at offset 0x2A
> >
> >I didn't change anything on the code. I only changed the version of the
> >compiler and linker. (:<
> >
> >I hope someone can help me. Thanks
> >
> >Yours sincerely,
> >Thomas
> >
>
> Can you sumbit this as a bug re****t. Include the product i.e. CW for
> PowerPC or CW for HC12 and all relevant information.
>
> I really don't know the OSEK so the best way to get this is use
> technical sup****t or I'd just be mailing back and forth to get more
> information.
>
> send it to cw_sup****t@[EMAIL PROTECTED]
>
> Thanks,
>
> Ron
>
> --
> CodeWarrior Community Forum is a free online resource for developers
> to discuss CodeWarrior topics with other users and our staff
> -- http://www.codewarrior.com/community
--
>
> Ron Liechty - ron.liechty@[EMAIL PROTECTED]
- http://www.codewarrior.com


|