Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Codewarrior Embedded > Re: Linker erro...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 6 Topic 353 of 416
Post > Topic >>

Re: Linker error: L1907

by "rTrenado" <ReneT@[EMAIL PROTECTED] > Sep 16, 2005 at 10:02 AM

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
 




 6 Posts in Topic:
Linker error: L1907
T.Kirchmeier@[EMAIL PROTE  2005-09-15 14:51:31 
Re: Linker error: L1907
Ron L <ron.liechty@[EM  2005-09-16 12:07:23 
Re: Linker error: L1907
"rTrenado" <  2005-09-16 10:02:03 
Re: Linker error: L1907
T.Kirchmeier@[EMAIL PROTE  2005-09-18 05:31:32 
Re: Linker error: L1907
Daniel Friederich <dan  2005-09-19 11:27:33 
Re: Linker error: L1907
T.Kirchmeier@[EMAIL PROTE  2005-09-20 00:29:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 4:35:12 CDT 2008.