Thread: What you mean by this....

  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    33

    What you mean by this....

    Dear All,
    #I am very thankfull to this site because it providing good information about my problems...
    I am designing the software for DIS it consists of so many modules.. in one module i am getting

    Error[18] : error : Range error in module SYCON1C1 ( obj/sycon2c1.o ), segment CODE at address 18C. Value 40E700, in tag t_ext_p16, is out of bounds

    I don't know what is the wrong with my code...please provide the information about this error..i am very much thankful to you all
    Last edited by Salem; 08-12-2007 at 11:53 PM. Reason: Remove code tags from non-code text

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Sounds like the error is pretty explicit. Check your code with relation to your arrays and pointer usage, and make sure you're staying within the memory your program owns.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    It looks like a linker error in response to a corrupted object file (or an object file in another file format).

    If sycon2c1.c is one of your files, then delete sycon2c1.o and try rebuilding (or just try "clean", then "rebuild all").

    > please provide the information about this error
    Please provide more background information like which OS / Compiler you're using.
    Like what is this "DIS" you mention, some development platform?

    Typing in error messages into search engines can also provide some information.
    http://clusty.com/search?query=%22Ra...Mozilla-search
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Registered User
    Join Date
    Aug 2007
    Posts
    33
    Quote Originally Posted by Salem View Post
    It looks like a linker error in response to a corrupted object file (or an object file in another file format).

    If sycon2c1.c is one of your files, then delete sycon2c1.o and try rebuilding (or just try "clean", then "rebuild all").

    > please provide the information about this error
    Please provide more background information like which OS / Compiler you're using.
    Like what is this "DIS" you mention, some development platform?

    Typing in error messages into search engines can also provide some information.
    http://clusty.com/search?query=%22Ra...Mozilla-search

    Hai Salem,
    I am using VC++ compiler, i tried by deleting the sycon2c1.o file and rebuilt it but still i am not able to fix it...

  5. #5
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    To me, it looks like you're trying to stuff a 32-bit absolute symbol into a 16-bit place. Try to discern what the "t_ext_p16" is referring to, and check that you're using it correctly, e.g. if it's a 16-bit integer, you can't set it to the address of something in a 32-bit build.

    --
    Mats

  6. #6
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Funny, it doesn't look like a VC++ linker error message to me, which are all of the form LNKxxxx where xxxx is a 4-digit number.

    No, this looks like you're using some embedded target compiler to me, say perhaps
    http://www.htsoft.com/products/compi...0ccompiler.php
    which shows up as "430 c" when searching for error messages.

    At a guess, some function or data structure you're using is now larger than what the architecture you're aiming is able to support.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed