🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.upgrade
Article #415

A linker problem BDS 2006 - C++ Builder

#415
From: Milan Kotaska
Date: Mon, 08 Jan 2007 13:57
64 lines
4323 bytes
Hello,

I have a problem with my project linkink.

In my project I have one unit where are defined about 16000 exernal
variables (CPP file lines like - const char szTest[50]="Test"; and H file
lines like - extern const char szTest[50];) and other unit where are
referenced all externals from previous unit (about 16000). If  I try to link
a project I will get a linker error:

[Linker Warning] Warning: CODE                : 0x0000014f / 0x00400000
[Linker Warning] Warning: DATA                : 0x0012eb8b / 0x00400000
[Linker Warning] Warning: DEBNAM              : 0x000574a9 / 0x00400000
[Linker Warning] Warning: DEBSYM              : 0x00070d47 / 0x00400000
[Linker Warning] Warning: DEBTYP              : 0x0008caf2 / 0x00400000
[Linker Warning] Warning: Extdef flags        : 0x00000021 / 0x00004000
[Linker Warning] Warning: Extdefs             : 0x00000084 / 0x00004000
[Linker Warning] Warning: External types      : 0x00000004 / 0x00040000
[Linker Warning] Warning: Import symbols      : 0x00000000 / 0x00100000
[Linker Warning] Warning: Line number cache   : 0x00000042 / 0x00060000
[Linker Warning] Warning: OBJ symbols         : 0x000f3dd4 / 0x00100000
[Linker Warning] Warning: Public GSX          : 0x00012c08 / 0x000c0000
[Linker Warning] Warning: Publics             : 0x000a8c48 / 0x000c0000
[Linker Warning] Warning: SegRelocs           : 0x0005dc64 / 0x00400000
[Linker Warning] Warning: StringBlock         : 0x00000023 / 0x00400000
[Linker Warning] Warning: Type names          : 0x0000003b / 0x00100000
[Linker Warning] Warning: Virdefs             : 0x00000004 / 0x00020000
[Linker Warning] Warning: C:/projects/TestNew/Test/Debug_Build/Project1.ilc:
0x00010000 / 0x03000000
[Linker Warning] Warning: C:/projects/TestNew/Test/Debug_Build/Project1.ild:
0x0013f000 / 0x03000000
[Linker Warning] Warning: C:/projects/TestNew/Test/Debug_Build/Project1.ilf:
0x000f2000 / 0x03000000
[Linker Warning] Warning: C:/projects/TestNew/Test/Debug_Build/Project1.ils:
0x0019e000 / 0x03000000
[Linker Warning] Warning: C:/projects/TestNew/Test/Debug_Build/Project1.tds:
0x00070000 / 0x06000000
[Linker Warning] Warning: CODE                : 0x00000000 / 0x00400000
[Linker Warning] Warning: DATA                : 0x000a1c04 / 0x00400000
[Linker Warning] Warning: DEBNAM              : 0x0005745f / 0x00400000
[Linker Warning] Warning: DEBSYM              : 0x0005e013 / 0x00400000
[Linker Warning] Warning: DEBTYP              : 0x0008ca44 / 0x00400000
[Linker Warning] Warning: Extdef flags        : 0x00001000 / 0x00004000
[Linker Warning] Warning: Extdefs             : 0x00004000 / 0x00004000
[Linker Warning] Warning: Import symbols      : 0x00000000 / 0x00100000
[Linker Warning] Warning: OBJ symbols         : 0x00000000 / 0x00100000
[Linker Warning] Warning: Public GSX          : 0x00000000 / 0x000c0000
[Linker Warning] Warning: Publics             : 0x00000000 / 0x000c0000
[Linker Warning] Warning: StringBlock         : 0x00000027 / 0x00400000
[Linker Warning] Warning: Virdefs             : 0x00000000 / 0x00020000
[Linker Warning] Warning: unknown heap name   : 0x03000000 / 0x03000000
[Linker Fatal Error] Fatal: Exceeded memory limit for block Extdefs in
module C:\projects\TestNew\Test\texts_tbl.cpp


I do not know, how to solve the problem. There was no this problem in BCB
5.0.


Thank you for any idea.


Milan Kotaska
kotaska@atal.cz
Technical Details
Message-ID: <45a24db1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10529a,d78cc0f6ef009df7,start
X-Google-Attributes: gid10529a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Milan Kotaska" <kotaska@atal.cz>
Newsgroups: borland.public.cppbuilder.upgrade
Subject: A linker problem BDS 2006 - C++ Builder
Date: Mon, 8 Jan 2007 14:57:58 +0100
Lines: 66
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 80.188.117.175
Message-ID: <45a24db1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1168264625 80.188.117.175 (8 Jan 2007 05:57:05 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail