From: Darmadi on
Good morning,

I have a linking error:

Link failed!
Error in function __AllocBytes:Maximum size (0x3000000) of section .text
exceeded

I have exported my application, create a new repository and re-import again
and compile-run from repository, still same problem.
I have tried reindex, same problem.

Before it still working fine, after adding some code, than compile (no
error), and run from repository, problem occurs.
But if I generating .EXE file, the executable file is working fine without
problem / error.

I'm using VOSP3 2837

After I check whole setting, I found in menu: File > Default Setting
Then I change the value for Linker > Text Section > from default value
0x3000000 (48Mb) change to 0x4000000 (64Mb)
Now I can compile and run my application again from repository.

What I want to ask, is it something wrong in my code that exceed the text
section? Is it normal for a big application?
Would it happen something strange in future if I increase the setting for
Linker > Text Section to 64Mb?

Regards,
Darmadi

From: Geoff Schaller on
What? You didn't like my first response to your post?


"Darmadi" <support(a)gfsoftindo.com> wrote in message
news:hfhtat$1fm$1(a)aioe.org:

> Good morning,
>
> I have a linking error:
>
> Link failed!
> Error in function __AllocBytes:Maximum size (0x3000000) of section .text
> exceeded
>
> I have exported my application, create a new repository and re-import again
> and compile-run from repository, still same problem.
> I have tried reindex, same problem.
>
> Before it still working fine, after adding some code, than compile (no
> error), and run from repository, problem occurs.
> But if I generating .EXE file, the executable file is working fine without
> problem / error.
>
> I'm using VOSP3 2837
>
> After I check whole setting, I found in menu: File > Default Setting
> Then I change the value for Linker > Text Section > from default value
> 0x3000000 (48Mb) change to 0x4000000 (64Mb)
> Now I can compile and run my application again from repository.
>
> What I want to ask, is it something wrong in my code that exceed the text
> section? Is it normal for a big application?
> Would it happen something strange in future if I increase the setting for
> Linker > Text Section to 64Mb?
>
> Regards,
> Darmadi

From: Marc Verkade [Marti IT] on
We also had to increase some of the settings in cavo28.cfg.

BinarySize=0x8000000
text=0x8000000
reloc=0x8000000


--
Grtz, Marc


"Darmadi" <support(a)gfsoftindo.com> schreef in bericht
news:hfhtat$1fm$1(a)aioe.org...
> Good morning,
>
> I have a linking error:
>
> Link failed!
> Error in function __AllocBytes:Maximum size (0x3000000) of section .text
> exceeded
>
> I have exported my application, create a new repository and re-import
> again
> and compile-run from repository, still same problem.
> I have tried reindex, same problem.
>
> Before it still working fine, after adding some code, than compile (no
> error), and run from repository, problem occurs.
> But if I generating .EXE file, the executable file is working fine without
> problem / error.
>
> I'm using VOSP3 2837
>
> After I check whole setting, I found in menu: File > Default Setting
> Then I change the value for Linker > Text Section > from default value
> 0x3000000 (48Mb) change to 0x4000000 (64Mb)
> Now I can compile and run my application again from repository.
>
> What I want to ask, is it something wrong in my code that exceed the text
> section? Is it normal for a big application?
> Would it happen something strange in future if I increase the setting for
> Linker > Text Section to 64Mb?
>
> Regards,
> Darmadi
>

From: Darmadi on
No lah...
I couldn't see my post in news1.cavo.com, so I post here again....hahaha

Thanks Geoff

"Geoff Schaller" <geoffx(a)softxwareobjectives.com.au> wrote in message
news:Yd%Sm.60774$ze1.23922(a)news-server.bigpond.net.au...
> What? You didn't like my first response to your post?
>
>
> "Darmadi" <support(a)gfsoftindo.com> wrote in message
> news:hfhtat$1fm$1(a)aioe.org:
>
>> Good morning,
>>
>> I have a linking error:
>>
>> Link failed!
>> Error in function __AllocBytes:Maximum size (0x3000000) of section .text
>> exceeded
>>
>> I have exported my application, create a new repository and re-import
>> again
>> and compile-run from repository, still same problem.
>> I have tried reindex, same problem.
>>
>> Before it still working fine, after adding some code, than compile (no
>> error), and run from repository, problem occurs.
>> But if I generating .EXE file, the executable file is working fine
>> without
>> problem / error.
>>
>> I'm using VOSP3 2837
>>
>> After I check whole setting, I found in menu: File > Default Setting
>> Then I change the value for Linker > Text Section > from default value
>> 0x3000000 (48Mb) change to 0x4000000 (64Mb)
>> Now I can compile and run my application again from repository.
>>
>> What I want to ask, is it something wrong in my code that exceed the text
>> section? Is it normal for a big application?
>> Would it happen something strange in future if I increase the setting for
>> Linker > Text Section to 64Mb?
>>
>> Regards,
>> Darmadi
>

From: Darmadi on
Thanks for the info...

Regards,
Darmadi
"Marc Verkade [Marti IT]" <marcatM(a)rtidotnl> wrote in message
news:4b1caf72$0$764$58c7af7e(a)news.kabelfoon.nl...
> We also had to increase some of the settings in cavo28.cfg.
>
> BinarySize=0x8000000
> text=0x8000000
> reloc=0x8000000
>
>
> --
> Grtz, Marc
>
>
> "Darmadi" <support(a)gfsoftindo.com> schreef in bericht
> news:hfhtat$1fm$1(a)aioe.org...
>> Good morning,
>>
>> I have a linking error:
>>
>> Link failed!
>> Error in function __AllocBytes:Maximum size (0x3000000) of section .text
>> exceeded
>>
>> I have exported my application, create a new repository and re-import
>> again
>> and compile-run from repository, still same problem.
>> I have tried reindex, same problem.
>>
>> Before it still working fine, after adding some code, than compile (no
>> error), and run from repository, problem occurs.
>> But if I generating .EXE file, the executable file is working fine
>> without
>> problem / error.
>>
>> I'm using VOSP3 2837
>>
>> After I check whole setting, I found in menu: File > Default Setting
>> Then I change the value for Linker > Text Section > from default value
>> 0x3000000 (48Mb) change to 0x4000000 (64Mb)
>> Now I can compile and run my application again from repository.
>>
>> What I want to ask, is it something wrong in my code that exceed the text
>> section? Is it normal for a big application?
>> Would it happen something strange in future if I increase the setting for
>> Linker > Text Section to 64Mb?
>>
>> Regards,
>> Darmadi
>>
>

 | 
Pages: 1
Prev: rtf to HTML
Next: HTML control by Willy