How to insert a web link?

Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > C/C++ Programming > "ERROR: GROUP DGROUP exceeds 64k" 19 June 2009 22:55:05

  Top users: 
  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:

"ERROR: GROUP DGROUP exceeds 64k"

Ms 20 November 2003 11:40:35
 
Hi All
Have reall big problem...have project due out next week and now suddenly when i go to complile it get following compile error

"ERROR: GROUP DGROUP exceeds 64k"

Am really desperate to solve this as have tried everything!!!
Anybody seen this before
Thanks for any assistance
Mike
Add comment
Ms 20 November 2003 11:59:03 permanent link ]
 
Thanks Andrue,
This program has developed over years and different people have added to it then in time left the company. So now ive been modifing it... Is their anyway of increasing the Dseg size as id never be able in the time left to me to do rewrite regarding finding all the arrays and modifing as you said.

This may be a stupid question on my part as am only a part time programmer as such, so knowledge is not the greatest.
Thanks for any assitance you give
Mike
Add comment
Andrue Cope 20 November 2003 12:45:23 permanent link ]
 Ms,
Am really desperate to solve this as have tried everything!!!> Anybody seen this before>

Everyone who developed large applications under 16-bit environments
saw this sooner or later - your time has come :)­

The problem is that you only have 64kB for static/global data and you
have just exceeded that.

There are at least two solutions:

1.Allocate your global variables on the heap and access them
through a static pointer.

2.Declare large structures as 'far'.
--
Andrue Cope
[Bicester, UK]
Add comment
Andrue Cope 20 November 2003 14:10:20 permanent link ]
 Ms,
Is their anyway of increasing the Dseg size as id never be able in the time left to me to do rewrite regarding finding all the arrays and modifing as you said.>

I believe so...but you won't like it :)­

IIRC the DSeg shares space with the stack so if you reduce the stack size you'll gain a
larger data area. I just hope you don't need a large stack.

One other possible solution is to look for a project option that is called something like
"far data size threshold". Any single entity bigger than that value automatically
becomes far and that moves it out of the DSeg.
--
Andrue Cope
[Bicester, UK]
Add comment
Ms 20 November 2003 15:59:09 permanent link ]
 Sorry to keep bothering people but....
Have found out about an -Ff command by surfing the net.
My understanding is that any any global data value above 9 will be put into the FARDATA segment.
This is my make file and have included it as shown below (-Ff=9)
-------------------­--------------------­
#for Imake
#------------------­--------------------­-

TARGET= ..\inspect.exe
INC= $x{*.h}
SRC= $x{*.c}
OBJ= ${SRC:.c=.obj}
CC= c:\borlandc\bin\bcc­ -ml -Ff=9 -c
LINK= c:\borlandc\bin\bcc­ -ml -e..\inspect

#.silent

${TARGET}:$­{OBJ}
#.echo linking
$(LINK) ${OBJ} graphics.lib

.c.obj:
#.echo compile : $<
$(CC) $<

${OBJ}:$­#.c ${INC}

Have tried different numbers ie -Ff=100 but no joy. Have very few arrays greater than 100.
Am I doing it correctly or is this even possible?
Really appeciate any time spent looking at my problem
Ms
Add comment
Wayne A. King 20 November 2003 17:22:38 permanent link ]
 On 20 Nov 2003 01:40:35 -0700, "ms" <msheerin@alps.ie> wrote:
"ERROR: GROUP DGROUP exceeds 64k"

Look at this article:
http://www.vmlinux.­org/~jakov/community­.borland.com/15354.h­tml


--
Wayne A. King
(ba994@torfree.net,­ wayne.king@ablelink­.org,
waking@idirect.com,­ Wayne_A_King@compus­erve.com)
Add comment
Leo Siefert 20 November 2003 18:30:04 permanent link ]
 On 20 Nov 2003 01:40:35 -0700, "ms" <msheerin@alps.ie> wrote:
"ERROR: GROUP DGROUP exceeds 64k"

Your program is compiled as a 16 bit app. If you are no longer
running it in a 16 bit os (DOS or win3.x) you should be able to
recompile it as a 32 bit app and solve the problem. Otherwise, try
Andrue's suggestions.

- Leo
Add comment
Ms 24 November 2003 13:04:16 permanent link ]
 
Guys
My only hope seems to be the -Ff command. But have tried various options for -Ff ie
bcc -ml -Ff=20 -c
Every value for -Ff that I use does not seem to work.
Am I using it correctly above?
Getting really desperate
Am compiling in borland c++ version 3.1, am I in the wrong group, if so really sorry and which group would I be best to post this in?
Thanks for your patience guys
ms
Add comment
Ms 24 November 2003 14:50:40 permanent link ]
 
Ed......
I hope Im not being premature but deleted all the obj files as you said and recompiled with the -Ff=20 included.
THIS APPEARS TO WORK!!!!
Hopefully this is my problem solved.
Thanks all for your help. [My job is still safe :-)­]
You hopefuuly won't be hearing from me again on this topic
Again Thanks
Ms




"Ed Mulroy [TeamB]" <dont_email_me@bitb­uc.ket> wrote:>Try deleting all the object files and then making the project.>
. Ed>
ms wrote in message>> news:3fc1e5b0@newsg­roups.borland.com...­>>
My only hope seems to be the -Ff command. But have tried>> various options for -Ff ie>> bcc -ml -Ff=20 -c>> Every value for -Ff that I use does not seem to work.>> Am I using it correctly above?>> Getting really desperate>> Am compiling in borland c++ version 3.1, am I in the wrong group,>> if so really sorry and which group would I be best to post this in?>> Thanks for your patience guys>
Add comment
Ed Mulroy 24 November 2003 15:07:56 permanent link ]
 Try deleting all the object files and then making the project.

. Ed
ms wrote in message> news:3fc1e5b0@newsg­roups.borland.com...­>
My only hope seems to be the -Ff command. But have tried> various options for -Ff ie> bcc -ml -Ff=20 -c> Every value for -Ff that I use does not seem to work.> Am I using it correctly above?> Getting really desperate> Am compiling in borland c++ version 3.1, am I in the wrong group,> if so really sorry and which group would I be best to post this in?> Thanks for your patience guys
Add comment
Ed Mulroy 25 November 2003 03:20:13 permanent link ]
 I am happy that it helped.

What happened is that you changed the option settings but did not recompile
the object files so the new setting did not take.

A Project|Build_All would have done the same thing.

. Ed
ms wrote in message> news:3fc1fea0$1@new­sgroups.borland.com.­..>
Ed......> I hope Im not being premature but deleted all the obj files as> you said and recompiled with the -Ff=20 included.> THIS APPEARS TO WORK!!!!> Hopefully this is my problem solved.> Thanks all for your help. [My job is still safe :-)­]> You hopefuuly won't be hearing from me again on this topic> Again Thanks>
Ed Mulroy wrote:> >Try deleting all the object files and then making the project.
Add comment
Guest 19 June 2009 22:55:05 permanent link ]
 hola
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > C/C++ Programming > "ERROR: GROUP DGROUP exceeds 64k" 19 June 2009 22:55:05

see also:
Tab character
Re-Creation of Objects in sessions
dll windows libraries for php.
pass tests:
see also:

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .