relocation value truncated at 0x10 in section .bios file

Started by Zulfiqar Khan May 8, 2004
Can any one help me in removing the problem
"relocation value truncated at 0x10 in section .bios
file" , when i try to declare array of structure
pointer globally .(array size = 4900; structure size =
20 bytes)
When i make the a/m dclaration in the main function
the problem do not appear Thaanks

Zulfiqar

__________________________________




Try changing the compiler options to "far-data" (I think that it what it is).
This problem usually occurs when a project uses "near" data and the linker
places the data outside the "near" data addressable range.

Have a read about "near" data stuff in the compiler manual.

At 10:18 PM 5/7/2004 -0700, Zulfiqar Khan wrote:
>Can any one help me in removing the problem
>"relocation value truncated at 0x10 in section .bios
>file" , when i try to declare array of structure
>pointer globally .(array size = 4900; structure size =
>20 bytes)
>When i make the a/m dclaration in the main function
>the problem do not appear >Thaanks
>
>Zulfiqar >
>
>__________________________________ >
>
>_____________________________________
>Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you want
your answer to be distributed to the entire group.
>
>_____________________________________
>About this discussion group:
>
>To Join:
>
>To Post:
>
>To Leave:
>
>Archives: http://www.yahoogroups.com/group/code-comp
>
>More Groups: http://www.dsprelated.com
>
>Yahoo! Groups Links >
>



Try changing the compiler options to "far-data" (I think that it what it is).
This problem usually occurs when a project uses "near" data and the linker
places the data outside the "near" data addressable range.

Have a read about "near" data stuff in the compiler manual.

At 10:18 PM 5/7/2004 -0700, Zulfiqar Khan wrote:
>Can any one help me in removing the problem
>"relocation value truncated at 0x10 in section .bios
>file" , when i try to declare array of structure
>pointer globally .(array size = 4900; structure size =
>20 bytes)
>When i make the a/m dclaration in the main function
>the problem do not appear >Thaanks
>
>Zulfiqar >
>
>__________________________________ >
>
>_____________________________________
>Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you want
your answer to be distributed to the entire group.
>
>_____________________________________
>About this discussion group:
>
>To Join:
>
>To Post:
>
>To Leave:
>
>Archives: http://www.yahoogroups.com/group/code-comp
>
>More Groups: http://www.dsprelated.com
>
>Yahoo! Groups Links >
>


Can any one help me in removing the problem
"relocation value truncated at 0x10 in section .bios
file" , when i try to declare array of structure
pointer globally .(array size = 4900; structure size =
20 bytes)
When i make the a/m dclaration in the main function
the problem do not appear Thaanks

Zulfiqar

__________________________________